JasonFinley0821 commited on
Commit
6ff45ca
·
1 Parent(s): c278602

feat : remove agents output

Browse files
Files changed (1) hide show
  1. services/linebot.py +1 -4
services/linebot.py CHANGED
@@ -138,10 +138,7 @@ def handle_message(event):
138
 
139
  try:
140
  # 運行 LangChain 代理人
141
- #response = run_agent(agent_input)
142
- response={
143
- "output": "sdads"
144
- }
145
 
146
  # Agent 的輸出是 JSON 字串 (無論成功或失敗)
147
  out_str = response["output"]
 
138
 
139
  try:
140
  # 運行 LangChain 代理人
141
+ response = run_agent(agent_input)
 
 
 
142
 
143
  # Agent 的輸出是 JSON 字串 (無論成功或失敗)
144
  out_str = response["output"]