Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
|
@@ -175,7 +175,7 @@ llm = ChatGoogleGenerativeAI(google_api_key=google_api, model="gemini-2.0-flash"
|
|
| 175 |
prompt_template = ChatPromptTemplate.from_messages([
|
| 176 |
("system", "你是一個強大的助理,可以根據用戶的請求使用提供的工具。"),
|
| 177 |
("user", "{agent_input}"),
|
| 178 |
-
("placeholder", {'agent_scratchpad'})
|
| 179 |
])
|
| 180 |
|
| 181 |
# 建立代理人
|
|
|
|
| 175 |
prompt_template = ChatPromptTemplate.from_messages([
|
| 176 |
("system", "你是一個強大的助理,可以根據用戶的請求使用提供的工具。"),
|
| 177 |
("user", "{agent_input}"),
|
| 178 |
+
("placeholder", {'agent_scratchpad'}),
|
| 179 |
])
|
| 180 |
|
| 181 |
# 建立代理人
|