Conversation
…hase 1 - Replace createOpenAI+v1 with createOllama (ai-sdk-ollama) for Ollama - Extract provider.ts: getResolvedProvider, getProvider, default models - Add POST /ai/generate: single prompt, plain text SSE, CLI-friendly - Phase 1: chat uses provider, plain chat only (tools disabled for Phase 3) - OLLAMA_BASE_URL default https://ollama.gaboesquivel.com - Contract tests (schema, auth) run always; remote gated by OLLAMA_REMOTE_TESTS - Remove throttleAiRequests from chat tests - Regenerate OpenAPI and @repo/core client - Update self-hosted-llm docs with route split
…EMOTE_TESTS - Delete db.spec.ts, db-integration.spec.ts, reference.test.ts, reference.spec.ts - Remove it.skip from revoke.test.ts (API key auth test) - Extract AI skip helpers to test/utils/ai-remote.ts - Run AI remote tests by default (remove OLLAMA_REMOTE_TESTS flag) - Remove DEBUG_TEST, OLLAMA_REMOTE_TESTS from turbo.json, .env.test.example - Use logger: silent always in fastify test util - Consolidate auth-helpers extractToken/extractMagicLinkData (next e2e)
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (9)
📒 Files selected for processing (50)
WalkthroughThis PR refactors the AI provider infrastructure to prioritize Open Router as the default provider while supporting Ollama for self-hosting, introduces a new Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Poem
✨ Finishing Touches
🧪 Generate unit tests (beta)
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 |
Summary by CodeRabbit
New Features
Documentation