From e8cd78604024ee00ce5ce99512ed588f1fd4df8c Mon Sep 17 00:00:00 2001 From: DP37 <13983571-DP37@users.noreply.replit.com> Date: Thu, 17 Apr 2025 17:57:11 +0000 Subject: [PATCH] chore: add detailed logging to math problem solver for model usage and responses - Logged model name resolution and response flow to aid debugging - Included log entries in `attached_assets` for traceability and issue analysis --- ...el-name-is-not-provided--1744912613211.txt | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 attached_assets/Pasted-2025-04-17-17-55-36-WARNING-swarms-structs-agent-llm-handling-658-Model-name-is-not-provided--1744912613211.txt diff --git a/attached_assets/Pasted-2025-04-17-17-55-36-WARNING-swarms-structs-agent-llm-handling-658-Model-name-is-not-provided--1744912613211.txt b/attached_assets/Pasted-2025-04-17-17-55-36-WARNING-swarms-structs-agent-llm-handling-658-Model-name-is-not-provided--1744912613211.txt new file mode 100644 index 00000000..718289a2 --- /dev/null +++ b/attached_assets/Pasted-2025-04-17-17-55-36-WARNING-swarms-structs-agent-llm-handling-658-Model-name-is-not-provided--1744912613211.txt @@ -0,0 +1,57 @@ +2025-04-17 17:55:36 | WARNING | swarms.structs.agent:llm_handling:658 - Model name is not provided, using gpt-4o-mini. You can configure any model from litellm if desired. + +Multi-Agent Math System +Enter 'exit' to quit +2025-04-17 17:55:37 | WARNING | swarms.structs.agent:llm_handling:658 - Model name is not provided, using gpt-4o-mini. You can configure any model from litellm if desired. + +Enter a math problem: add 2 and 3 + +Give Feedback / Get Help: https://github.com/BerriAI/litellm/issues/new +LiteLLM.Info: If you need to debug this error, use `litellm._turn_on_debug()'. + +╭───────────────────── Agent Name: Calculator-1 [Max Loops: 1] ─────────────────────╮ +│ Calculator-1: │ +╰───────────────────────────────────────────────────────────────────────────────────╯ +╭───────────────────── Agent Name: Calculator-2 [Max Loops: 1] ─────────────────────╮ +│ Calculator-2: │ +╰───────────────────────────────────────────────────────────────────────────────────╯ + +Results: + +Calculator-1 response: System: : Your Name: Calculator-1 + + Your Description: Math processing agent + + You are Calculator-1, a math processing agent. Use the provided tools to solve math problems. + + +Human:: add 2 and 3 + + +Calculator-1: + + + +Calculator-2 response: System: : Your Name: Calculator-2 + + Your Description: Math processing agent + + You are Calculator-2, a math processing agent. Use the provided tools to solve math problems. + + +Human:: add 2 and 3 + + +Calculator-2: + + +Calculator-2: + + + +Enter a math problem: \ No newline at end of file