Spaces:
Runtime error
Runtime error
Update main.py
Browse files
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", {
|
| 181 |
])
|
| 182 |
|
| 183 |
# 建立代理人
|
|
|
|
| 177 |
prompt_template = ChatPromptTemplate.from_messages([
|
| 178 |
("system", "你是一個強大的助理,可以根據用戶的請求使用提供的工具。"),
|
| 179 |
("user", "{input}"),
|
| 180 |
+
("placeholder", "{agent_scratchpad}"),
|
| 181 |
])
|
| 182 |
|
| 183 |
# 建立代理人
|