-
Notifications
You must be signed in to change notification settings - Fork 792
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repeated Messages from OrchestratorAgent #204
Comments
Hey @AMGMNPLK! Thank you for reporting the issue. Could you send us your code, Python version, framework version, the model you’re using, and any additional information that might help us reproduce the issue? |
VersionsPython. 3.11.9 Steps to reproduceI you ask something that can take some lines, the terminal Main code
|
@AMGMNPLK Thank for providing the code. Your code appears to be non-standard, which might be causing the issue. Have you tried using our Cursor Rules with Cursor IDE (or just any advanced LLM) or following the examples in the Documentation? It would be helpful to rule out custom error handling and retries, as they could be the root cause. |
Yes, I'm working with .cursorrules. Knowing this I'll try to fix it asking it to keep attached to them. |
It still happens, even creating a new OrchestratorAgent from zero. I tried to use other terminal/shell, with no success. |
Description:
I am experiencing an issue with an
OrchestratorAgent
that inherits from Agent where it sends repeated messages to the user. This seems to occur when the agent processes responses from the OpenAI API, leading to the same output being sent multiple times.Steps to Reproduce:
OrchestratorAgent
.Expected Behavior:
The agent should send a single, complete response to the user without repeating the same message multiple times.
Actual Behavior:
The agent sends the same message repeatedly, which appears to be a result of how streaming responses are handled.
The text was updated successfully, but these errors were encountered: