Integrate GPT-5 for Planning via Cohere Platform

implementationChallenge

Prompt Content

Configure your Mastra AI agent to use GPT-5 as its primary reasoning model. Set up the Cohere Platform to serve GPT-5 and connect your agent to it via API. Design a planning tool, `generate_dispatch_plan(requests: array, fleet_status: array)`, which uses GPT-5 to create optimal dispatch plans.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations