alanchen1115 commited on
Commit
848efd6
·
verified ·
1 Parent(s): 4e57a38

Update main.py

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