Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -151,7 +151,7 @@ system_prompt = """
|
|
| 151 |
"""
|
| 152 |
|
| 153 |
agent_executor = create_agent(
|
| 154 |
-
model="gemini-2.5-flash
|
| 155 |
tools=tools,
|
| 156 |
system_prompt=system_prompt,
|
| 157 |
)
|
|
@@ -253,4 +253,4 @@ def handle_message(event):
|
|
| 253 |
line_bot_api.reply_message(event.reply_token, TextSendMessage(text="抱歉,我現在無法處理這個請求。"))
|
| 254 |
|
| 255 |
if __name__ == "__main__":
|
| 256 |
-
uvicorn.run(app, host="0.0.0.0", port=7860)
|
|
|
|
| 151 |
"""
|
| 152 |
|
| 153 |
agent_executor = create_agent(
|
| 154 |
+
model="google_genai:gemini-2.5-flash",
|
| 155 |
tools=tools,
|
| 156 |
system_prompt=system_prompt,
|
| 157 |
)
|
|
|
|
| 253 |
line_bot_api.reply_message(event.reply_token, TextSendMessage(text="抱歉,我現在無法處理這個請求。"))
|
| 254 |
|
| 255 |
if __name__ == "__main__":
|
| 256 |
+
uvicorn.run(app, host="0.0.0.0", port=7860)
|