You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a hard-coded "static' system_prompt being set in my Agent constructor (just a string).
When I run my script, logfire shows that ~25% (intermittent issue) do NOT include this system_prompt. When they're not included there's a generic agent that gets what is usually added to a "user" agent.
When it works, there is both a system (the static one of course) and a user agent.
I don't think this is a logfire issue because without the system prompt (it's very necessary in this case) the script fails very reliably via the validation. When they are included the script returns successfully.
I couldn't find anything about this in the docs. Is there a force_system_prompt="true" or something?
The text was updated successfully, but these errors were encountered:
Reading some of the issues, I wonder if there is some message history sticking around from previous runs? I don't see any on logfire, and hope there aren't, since I'm not trying to do anything like that for this :)
I have a hard-coded "static'
system_prompt
being set in myAgent
constructor (just a string).When I run my script, logfire shows that ~25% (intermittent issue) do NOT include this
system_prompt
. When they're not included there's a generic agent that gets what is usually added to a "user" agent.When it works, there is both a system (the static one of course) and a user agent.
I don't think this is a logfire issue because without the system prompt (it's very necessary in this case) the script fails very reliably via the validation. When they are included the script returns successfully.
I couldn't find anything about this in the docs. Is there a force_system_prompt="true" or something?
The text was updated successfully, but these errors were encountered: