Spaces:
Sleeping
Sleeping
get current time tool
Browse files- litellm_endpoint.py +1 -1
litellm_endpoint.py
CHANGED
|
@@ -71,7 +71,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
| 71 |
# 設定代理人
|
| 72 |
agent = CodeAgent(
|
| 73 |
model=model,
|
| 74 |
-
tools=[final_answer, search_tool, image_generation_tool], # Add your tools here (don't remove final answer)
|
| 75 |
max_steps=6,
|
| 76 |
verbosity_level=1,
|
| 77 |
grammar=None,
|
|
|
|
| 71 |
# 設定代理人
|
| 72 |
agent = CodeAgent(
|
| 73 |
model=model,
|
| 74 |
+
tools=[final_answer, search_tool, image_generation_tool, get_current_time_in_timezone], # Add your tools here (don't remove final answer)
|
| 75 |
max_steps=6,
|
| 76 |
verbosity_level=1,
|
| 77 |
grammar=None,
|