Description
Description
Hi everyone,
First off, thank you to all contributors for this fantastic library — your work is greatly appreciated!
I recently ran into a limitation when passing message history to an agent: the agent’s system prompts are overridden by any system prompts present in the message history. To avoid this, one can switch to using instructions instead of system prompts according to the docs, since system prompts/instructions in the message history do not override the agent's configured instructions. So far so good!
However, I couldn't find any equivalent to dynamic system prompts when using instructions. In my case, I need to extend the agent's instructions with runtime-specific information. Supporting dynamic instructions would enable this use case and bring feature parity with dynamic system prompts.
Thanks for considering this!
References
No response