-
-
Notifications
You must be signed in to change notification settings - Fork 108
docs: Add Cencori as community adapter #223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- Add docs/community-adapters/cencori.md with usage examples - Update docs/config.json to include Cencori in sidebar Cencori provides access to 14+ AI providers (OpenAI, Anthropic, Google, xAI, DeepSeek, etc.) through a unified interface with built-in security, observability, and cost tracking. npm package: @cencori/ai-sdk
📝 WalkthroughWalkthroughAdds a new community adapter documentation page for the Cencori TanStack AI adapter and updates the docs navigation config to include this new entry under "Community Adapters". Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In @docs/community-adapters/cencori.md:
- Around line 68-91: The example imports an unused symbol text and
inconsistently calls adapter.chatStream() instead of using the text() helper
used elsewhere; either remove the unused import (delete the text import line)
and keep adapter.chatStream() as-is, or refactor to call text({ model: adapter
}) (or the pattern used in other docs) and pass tools via the text() options so
tool definitions and streaming behave consistently with other examples; update
the example to ensure only one of these approaches is used and no unused imports
remain.
📜 Review details
Configuration used: defaults
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
docs/community-adapters/cencori.mddocs/config.json
🔇 Additional comments (4)
docs/config.json (1)
164-167: LGTM!The new Cencori entry follows the established pattern for community adapters, is correctly placed in alphabetical order, and the path correctly references the new documentation file.
docs/community-adapters/cencori.md (3)
118-128: Verify model names are accurate and up-to-date.Model availability and naming conventions change frequently across providers. Consider verifying these model identifiers match what's actually available through the Cencori platform to avoid user confusion.
1-45: Well-structured documentation for the community adapter.The documentation follows a logical progression from installation through basic usage to advanced features. The code examples are clear and consistent with TanStack AI patterns.
176-178: All external Cencori URLs referenced in the documentation are accessible and functioning correctly.
Summary
Adds Cencori as a community adapter for TanStack AI.
Changes
docs/community-adapters/cencori.mdwith usage examplesdocs/config.jsonto include Cencori in sidebar navigationAbout Cencori
Cencori provides access to 14+ AI providers (OpenAI, Anthropic, Google, xAI, DeepSeek, etc.) through a unified interface with:
npm:
@cencori/ai-sdkWebsite: https://cencori.com
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.