Skip to content

Feat/litellm unified client#892

Open
northdpole wants to merge 3 commits into
mainfrom
feat/litellm-unified-client
Open

Feat/litellm unified client#892
northdpole wants to merge 3 commits into
mainfrom
feat/litellm-unified-client

Conversation

@northdpole

Copy link
Copy Markdown
Collaborator

No description provided.

Unify PromptHandler onto LiteLLM-backed model/env contracts and enforce embedding consistency by persisting model+dimension metadata with startup/write-time checks. Add alembic revision guardrails in release flow and operational DB scripts so deploys fail fast on migration lineage drift.
…plates

Remove the unused Vertex/OpenAI prompt clients and their legacy tests, and route both RAG and direct chat prompts through a shared Jinja2 template. This completes the LiteLLM migration path while keeping behavior covered by current tests.
@northdpole

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@northdpole, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 10 minutes and 28 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more credits in the billing tab to continue.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: 9d345ee8-aa43-4cdb-8b3d-d8bd448fd8d8

📥 Commits

Reviewing files that changed from the base of the PR and between c0cea79 and 08e467a.

📒 Files selected for processing (23)
  • Makefile
  • Procfile
  • README.md
  • application/database/db.py
  • application/prompt_client/llm_error_utils.py
  • application/prompt_client/openai_prompt_client.py
  • application/prompt_client/prompt_client.py
  • application/prompt_client/templates/chat_prompt.j2
  • application/prompt_client/vertex_prompt_client.py
  • application/tests/db_test.py
  • application/tests/litellm_router_test.py
  • application/tests/openai_prompt_client_test.py
  • application/tests/register_standard_incremental_embeddings_test.py
  • application/tests/test_smart_embeddings_e2e_llm.py
  • application/tests/vertex_prompt_client_test.py
  • application/web/web_main.py
  • migrations/versions/ab12cd34ef56_add_embedding_contract_metadata.py
  • requirements.txt
  • scripts/check_alembic_revision_guardrail.py
  • scripts/db/backup-opencreorg.sh
  • scripts/db/common.sh
  • scripts/db/surgery-opencreorg.sh
  • scripts/db/sync-local-to-opencreorg.sh
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/litellm-unified-client

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

1 participant