WIP: Wrote a poetry generator. It's not working. Will ask Aditya for help. #16

Closed
brent.edwards wants to merge 55 commits from poetry-generator into master
Member

For Aditya to let me know what's wrong.

For Aditya to let me know what's wrong.
Author
Member

My multi-agent system does not appear to be calling other agents. Do you have any suggestions about what might be wrong?

Here is a sample conversation:

brent.edwards on euler cleveragents-core on  poetry-generator:master [?⇡] via 🐍 v3.12.10 (py) via ❄️  impure (nix-shell) took 6s 
❯ cleveragents interactive -c examples/poetry-generator.yaml
[cleveragents.core.application] Loading reactive configuration from 1 files
[cleveragents.reactive.config_parser] Loading configuration from examples/poetry-generator.yaml
[cleveragents.reactive.config_parser] Configuration validation completed successfully
[cleveragents.agents.llm] Initialized reactive LLM agent coordinator with openai/gpt-3.5-turbo
[cleveragents.agents.llm] Initialized reactive LLM agent writer with openai/gpt-4
[cleveragents.agents.llm] Initialized reactive LLM agent rhymer with openai/gpt-3.5-turbo
[cleveragents.agents.llm] Initialized reactive LLM agent meter with openai/gpt-3.5-turbo
[cleveragents.agents.llm] Initialized reactive LLM agent topic with openai/gpt-3.5-turbo
[cleveragents.reactive.stream_router] Created stream: multi_agent_stream (cold)
[cleveragents.reactive.stream_router] Merged streams ['__input__'] into multi_agent_stream
[cleveragents.core.application] Reactive configuration loaded successfully
[cleveragents.core.application] Starting reactive interactive session

Reactive CleverAgents Interactive Session
Type 'exit' to quit, 'help' for commands

>>> Hello! Please write a limerick about dancing tigers.    
[httpx] HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"

>>> What a fun topic! Let's start by asking the Writer to create a limerick about dancing tigers. Here we go!

[AGENT:WRITER] - Please create a limerick about dancing tigers.
[openai._base_client] Retrying request to /chat/completions in 0.380618 seconds
[httpx] HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"

>>> Great choice! Let's start by asking the Writer to create a limerick about dancing tigers. Here we go!

[AGENT:WRITER] - Please create a limerick about dancing tigers.
>>> Hello, Writer. What is your limerick?    
[openai._base_client] Retrying request to /chat/completions in 0.497933 seconds
[httpx] HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"

>>> I'm the Coordinator agent, so I don't have the limerick yet. Let's see what the Writer comes up with first!
[openai._base_client] Retrying request to /chat/completions in 0.409942 seconds
[httpx] HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"

>>> It seems like the Writer might need a nudge. Let's check if the limerick needs a better rhyme. 

[AGENT:RHYMER] - Please check if the rhyme in the limerick about dancing tigers is strong.
>>> 
My multi-agent system does not appear to be calling other agents. Do you have any suggestions about what might be wrong? Here is a sample conversation: ``` brent.edwards on euler cleveragents-core on  poetry-generator:master [?⇡] via 🐍 v3.12.10 (py) via ❄️ impure (nix-shell) took 6s ❯ cleveragents interactive -c examples/poetry-generator.yaml [cleveragents.core.application] Loading reactive configuration from 1 files [cleveragents.reactive.config_parser] Loading configuration from examples/poetry-generator.yaml [cleveragents.reactive.config_parser] Configuration validation completed successfully [cleveragents.agents.llm] Initialized reactive LLM agent coordinator with openai/gpt-3.5-turbo [cleveragents.agents.llm] Initialized reactive LLM agent writer with openai/gpt-4 [cleveragents.agents.llm] Initialized reactive LLM agent rhymer with openai/gpt-3.5-turbo [cleveragents.agents.llm] Initialized reactive LLM agent meter with openai/gpt-3.5-turbo [cleveragents.agents.llm] Initialized reactive LLM agent topic with openai/gpt-3.5-turbo [cleveragents.reactive.stream_router] Created stream: multi_agent_stream (cold) [cleveragents.reactive.stream_router] Merged streams ['__input__'] into multi_agent_stream [cleveragents.core.application] Reactive configuration loaded successfully [cleveragents.core.application] Starting reactive interactive session Reactive CleverAgents Interactive Session Type 'exit' to quit, 'help' for commands >>> Hello! Please write a limerick about dancing tigers. [httpx] HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK" >>> What a fun topic! Let's start by asking the Writer to create a limerick about dancing tigers. Here we go! [AGENT:WRITER] - Please create a limerick about dancing tigers. [openai._base_client] Retrying request to /chat/completions in 0.380618 seconds [httpx] HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK" >>> Great choice! Let's start by asking the Writer to create a limerick about dancing tigers. Here we go! [AGENT:WRITER] - Please create a limerick about dancing tigers. >>> Hello, Writer. What is your limerick? [openai._base_client] Retrying request to /chat/completions in 0.497933 seconds [httpx] HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK" >>> I'm the Coordinator agent, so I don't have the limerick yet. Let's see what the Writer comes up with first! [openai._base_client] Retrying request to /chat/completions in 0.409942 seconds [httpx] HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK" >>> It seems like the Writer might need a nudge. Let's check if the limerick needs a better rhyme. [AGENT:RHYMER] - Please check if the rhyme in the limerick about dancing tigers is strong. >>> ```
Author
Member

Closed -- Aditya created a different branch.

Closed -- Aditya created a different branch.
brent.edwards closed this pull request 2025-10-08 17:43:20 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core!16
No description provided.