Spaces:
Sleeping
Sleeping
Commit
·
69eb555
1
Parent(s):
baa9f3c
push
Browse files- config/config.py +1 -1
- todo_agent.py +1 -3
config/config.py
CHANGED
|
@@ -9,7 +9,7 @@ load_dotenv()
|
|
| 9 |
|
| 10 |
class Settings:
|
| 11 |
GEMINI_API_KEY = os.getenv("GEMINI_API_KEY")
|
| 12 |
-
SERVICE_SECRET =
|
| 13 |
BUSINESS_SERVICE_URL: HttpUrl = "https://abdullahcoder54-todo-app.hf.space"
|
| 14 |
CONVERSATION_RETENTION_DAYS: int = 7
|
| 15 |
|
|
|
|
| 9 |
|
| 10 |
class Settings:
|
| 11 |
GEMINI_API_KEY = os.getenv("GEMINI_API_KEY")
|
| 12 |
+
SERVICE_SECRET = "abfe95adc6a3d85f1d8533a0fbf151b18240d817b471dda39a925555d886549c32c667dbeb184b9e9c73da3227c0dae5f83a"
|
| 13 |
BUSINESS_SERVICE_URL: HttpUrl = "https://abdullahcoder54-todo-app.hf.space"
|
| 14 |
CONVERSATION_RETENTION_DAYS: int = 7
|
| 15 |
|
todo_agent.py
CHANGED
|
@@ -35,9 +35,7 @@ class TodoAgent:
|
|
| 35 |
self.config = RunConfig(model=model, model_provider=self.client)
|
| 36 |
self.mcp_server = MCPServerStdio(
|
| 37 |
name="Todo Management MCP Server",
|
| 38 |
-
params={"command": sys.executable, "args": ["-m", "ai_mcp_server"]},
|
| 39 |
-
client_session_timeout_seconds=30.0
|
| 40 |
-
|
| 41 |
)
|
| 42 |
self.agent = Agent(
|
| 43 |
name="TodoAssistant",
|
|
|
|
| 35 |
self.config = RunConfig(model=model, model_provider=self.client)
|
| 36 |
self.mcp_server = MCPServerStdio(
|
| 37 |
name="Todo Management MCP Server",
|
| 38 |
+
params={"command": sys.executable, "args": ["-m", "ai_mcp_server"]},
|
|
|
|
|
|
|
| 39 |
)
|
| 40 |
self.agent = Agent(
|
| 41 |
name="TodoAssistant",
|