Spaces:
Sleeping
Sleeping
Upload agent.py
Browse files- src/agent.py +0 -1
src/agent.py
CHANGED
|
@@ -43,7 +43,6 @@ class Agent:
|
|
| 43 |
self.chat_model = ChatOpenAI(
|
| 44 |
model=model,
|
| 45 |
api_key=openai_api_key,
|
| 46 |
-
json_mode=True,
|
| 47 |
rate_limiter=rate_limiter
|
| 48 |
)
|
| 49 |
with open(system_prompt_path, "r") as file:
|
|
|
|
| 43 |
self.chat_model = ChatOpenAI(
|
| 44 |
model=model,
|
| 45 |
api_key=openai_api_key,
|
|
|
|
| 46 |
rate_limiter=rate_limiter
|
| 47 |
)
|
| 48 |
with open(system_prompt_path, "r") as file:
|