kikocis/auto-code-rover public
Changesets · Branches · Tags · Compare
| Changeset | ef6a2ca51f5fb0815971214178fedbbd9b855a92085522034911465133eeca24 |
|---|---|
| Author | Martin Mirchev <mirchevmartin2203@gmail.com> · 2024-08-25 20:49 +08:00 |
| Committer | Martin Mirchev <mirchevmartin2203@gmail.com> · 2024-08-25 20:49 +08:00 |
| Parents | 20da13c803a6 |
1 file changed
modified app/model/gptlitellm.py +1 −0
| @@ -92,6 +92,7 @@ | ||
| 92 | 92 | max_tokens=1024, |
| 93 | 93 | response_format={"type": response_format}, |
| 94 | 94 | top_p=top_p, |
| 95 | + base_url=os.getenv("OPENAI_API_BASE_URL", None), | |
| 95 | 96 | stream=False, |
| 96 | 97 | ) |
| 97 | 98 | assert isinstance(response, ModelResponse) |