feat:allow api_base (base_url) in .env#235
Conversation
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
Code reviewFound 1 issue:
PageIndex/pageindex/index/utils.py Lines 13 to 21 in 11b8cd7 Lines 26 to 34 in 11b8cd7 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
ReviewReviewed the current head ( The earlier provider-routing concern looks addressed now: The added regression coverage also checks the important cases:
I also ran |
Code reviewFound 1 issue:
Lines 41 to 49 in 60d3184 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
• ## Summary
Adds lightweight API base URL support for OpenAI-compatible providers through LiteLLM.
Changes
OPENAI_BASE_URL/OPENAI_API_BASE/CHATGPT_API_BASEto LiteLLM asapi_base--base-url/--api-baseCLI options inrun_pageindex.pyTest Plan
python3 -m pytest tests/test_litellm_api_base.pypython3 -m pytest tests/test_config.py tests/test_litellm_api_base.pypython3 run_pageindex.py --helpgit diff --checkCloses #229