Skip to content

Conversation

@dpuyosa
Copy link
Contributor

@dpuyosa dpuyosa commented Jan 20, 2026

Replace @ai-sdk/openai-compatible with venice-ai-sdk-provider.

This new provider package is tailored towards Venice, it fixes/improve features over the default package, like better handling of cache_control for Claude models. It will also allow to provide better compatibility with Venice as new features come out both withing OpenCode and Venice.

As it is, it already gives better cache read/write with claude models (which were caching only the system prompt at the provider level, and tools), now caching part of the conversation (there is room for improvement).
Also, it adds topK param, which is disabled in openai-compatible.

dpuyosa added 2 commits January 20, 2026 01:11
- Replace @ai-sdk/openai-compatible with venice-ai-sdk-provider
- Fix cache_control limitations
- Add Venice-specific features
- Change field value in claude-sonnet-45, gemini-3-flash-preview, qwen3-235b-a22b-thinking-2507, and zai-org-glm-4.7 configs
@rekram1-node rekram1-node merged commit b190cda into anomalyco:dev Jan 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants