pull/819/head
parent
b4fc45e1a0
commit
e34b4462c3
@ -0,0 +1,47 @@
|
|||||||
|
|
||||||
|
Math Agent System Initialized
|
||||||
|
|
||||||
|
Available operations:2025-04-20 11:05:16 | WARNING | swarms.structs.agent:llm_handling:646 - Model name is not provided, using gpt-4o-mini. You can configure any model from litellm if desired.
|
||||||
|
|
||||||
|
Math Agent: add, multiply, divide
|
||||||
|
|
||||||
|
Enter your query (or 'exit' to quit): add 2 and 4
|
||||||
|
╭─────────────────────────────────────────────────────── Agent Name: Math Agent [Max Loops: 1] ───────────────────────────────────────────────────────╮
|
||||||
|
│ Math Agent: <litellm.litellm_core_utils.streaming_handler.CustomStreamWrapper object at 0x7fb9d6ddcdf0> │
|
||||||
|
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
||||||
|
2025-04-20 11:05:28 | ERROR | swarms.structs.agent:mcp_execution_flow:2807 - MCP flow failed: Expecting value: line 1 column 1 (char 0)
|
||||||
|
╭─────────────────────────────────────────────── Agent Name: Math Agent - Tool Executor [Max Loops: 1] ───────────────────────────────────────────────╮
|
||||||
|
│ Math Agent - Tool Executor: [MCP-error] Expecting value: line 1 column 1 (char 0) │
|
||||||
|
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
||||||
|
╭────────────────────────────────────────────── Agent Name: Math Agent - Agent Analysis [Max Loops: 1] ───────────────────────────────────────────────╮
|
||||||
|
│ Math Agent - Agent Analysis: <litellm.litellm_core_utils.streaming_handler.CustomStreamWrapper object at 0x7fb9d6e14d30> │
|
||||||
|
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
||||||
|
|
||||||
|
Math Agent Response: System: : Your Name: Math Agent
|
||||||
|
|
||||||
|
Your Description: Specialized agent for mathematical computations
|
||||||
|
|
||||||
|
You are a specialized math agent that can perform calculations by calling external math service APIs.
|
||||||
|
Key responsibilities:
|
||||||
|
1. Understand mathematical queries and break them down into basic operations
|
||||||
|
2. Use available math tools (add, multiply, divide) appropriately
|
||||||
|
3. Provide clear explanations of calculations
|
||||||
|
4. Handle errors gracefully if operations fail
|
||||||
|
|
||||||
|
Remember to use the available MCP tools for calculations rather than doing them directly.
|
||||||
|
|
||||||
|
|
||||||
|
Human:: add 2 and 4
|
||||||
|
|
||||||
|
|
||||||
|
Math Agent: <litellm.litellm_core_utils.streaming_handler.CustomStreamWrapper object at 0x7fb9d6ddcdf0>
|
||||||
|
|
||||||
|
|
||||||
|
Tool Executor: [MCP-error] Expecting value: line 1 column 1 (char 0)
|
||||||
|
|
||||||
|
|
||||||
|
Math Agent: <litellm.litellm_core_utils.streaming_handler.CustomStreamWrapper object at 0x7fb9d6e14d30>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Enter your query (or 'exit' to quit):
|
Loading…
Reference in new issue