Finally, an update. Sorry for taking so long.
I ran my test suite with the system prompt that you suggested.
Sadly, even with the stripped down prompt, the context window gets filled up immediately.
I track this by analysing session._transcript. I see the tool call in the transcript and the values of the arguments are included.
I am starting to think that this is in fact working as designed and not even a bug.
I am starting to doubt that it's actually possible to have a multi-turn conversation that generates then iteratively modifies a block of code.
Can you suggest alternative strategies towards getting this to work?
Thanks!
Michael
Topic:
Machine Learning & AI
SubTopic:
Foundation Models