### Description Iv followed all the setup directions for Cloudflare AI Gateway but it does not seem to work. On sending a message I always hit the following error: `TypeError: sdk.chat is not a function. (In 'sdk.chat(modelID)', 'sdk.chat' is undefined)` ### OpenCode version 1.0.203 ### Steps to reproduce 1. Connect to Cloudflare AI Gateway. 2. Send a message to any model. ### Screenshot and/or share link <img width="1608" height="1264" alt="Image" src="https://github.com/user-attachments/assets/b2cd6967-14a8-4dd7-9bb6-4b3364ce86d4" /> ### Operating System _No response_ ### Terminal Ghostty
Activity
github-actions commentedon Dec 27, 2025
This issue might be a duplicate of existing issues. Please check:
sdk.chat is not a functionerror when trying to use OpenCodeFeel free to ignore if none of these address your specific case.