Hi Team, Within my Copilot studio, I created agents. I also created a Prompt under Tools, when I am trying to utilize Code interpreter in my prompts, within prompt it works very well, all queries are answered with 100% accuracy, but problem is when i add this prompt to a copilot studio agent and start prompting agent that doesn't give correct answers. I would like to know if there's any step that i am missing. Also this feature "Code Interpreter" is in preview any news when it'll be in GA ?
Code Interpreter in Copilot Studio is currently in preview and its integration with agents is limited.
Why does it work in the Prompt, but not in the Agent?
When used directly in a Prompt (under Tools), Code Interpreter runs in a dedicated, isolated context with full access to its capabilities.
When you add the Prompt to a Copilot Studio agent, the agent’s orchestration, context, and security boundaries may restrict or alter how Code Interpreter is invoked.
This can lead to incomplete or inaccurate responses.
General Availability (GA) Status:
As of now, Code Interpreter is still in preview. Microsoft has not announced a GA date.
Watch the Copilot Studio “What’s New” page and Microsoft 365 roadmap for updates.
1 people found this reply helpful.
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.