(edited)
Hello all!
I am receiving warnings for unsupported tools with openai/gpt-5 through the AI gateway. Any ideas? Happens with other OpenAI models as well.
I have also played around with other set ups, however the response expects a tool submission for image generation. Im expecting the files to be generated within the response according to the docs, it that the right expectation?
const vercelGateway = createGateway({ apiKey,});generateText({ model: vercelGateway(‘openai/gpt-5’), prompt: prompt, providerOptions: { gateway: { user: this.runtime.agent.uuid, tags: [providerModel, ‘ai’], only: [provider], }, }, tools: { web_search: openai.tools.webSearch({ searchContextSize: ‘medium’, }), code_interpreter: openai.tools.codeInterpreter(), image_generation: openai.tools.imageGeneration(), },});