[FEATURE REQ] Add `CreateCodeInterpreterTool` to `ResponseTool`
Closed this issue · 1 comments
gaspardpetit commented
Describe the feature or improvement you are requesting
Hello ! Thank you for the 2.4 update, it adds many useful features.
I see CreateMcpTool has been added to ResponseTool. Would it be possible to also add a CreateCodeInterpreterTool helper ?
Presently, mine looks like this:
public static ResponseTool CreateCodeInterpreterTool(string type = "auto", IDictionary<string, BinaryData> additionalBinaryDataProperties = null)
{
return new InternalCodeInterpreterTool(
kind: InternalToolType.CodeInterpreter,
additionalBinaryDataProperties: additionalBinaryDataProperties,
container: new CodeInterpreterToolDefinition(kind: type, additionalBinaryDataProperties: null)
);
}
It refers to the InternalCodeInterpreterTool from the Assistant API - I imagine you'd want to pull it into the Response API.
In my tests, is sufficient to allow models like GPT-5 to generate and execute local scripts to perform more complex tasks.
Additional context
No response
jsquire commented
Hi @gaspardpetit. This feature is on the near term roadmap and being tracked by #448. I'm going to close this out as a duplicate of that.