alanchen1115 commited on
Commit
4e00a87
·
verified ·
1 Parent(s): 251fb1a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -177,7 +177,7 @@ llm = ChatGoogleGenerativeAI(google_api_key=google_api, model="gemini-2.0-flash"
177
  prompt_template = ChatPromptTemplate.from_messages([
178
  ("system", "你是一個強大的助理,可以根據用戶的請求使用提供的工具。"),
179
  ("user", "{input}"),
180
- ("placeholder", {"agent_scratchpad"}),
181
  ])
182
 
183
  # 建立代理人
 
177
  prompt_template = ChatPromptTemplate.from_messages([
178
  ("system", "你是一個強大的助理,可以根據用戶的請求使用提供的工具。"),
179
  ("user", "{input}"),
180
+ ("placeholder", "{agent_scratchpad}"),
181
  ])
182
 
183
  # 建立代理人