Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

Doc: litellm proxy notes (#986)

Kilian Lieret74ae0f6b1a27
diff --git a/docs/installation/keys.md b/docs/installation/keys.md
index 2ec91c3c..a2443868 100644
--- a/docs/installation/keys.md
+++ b/docs/installation/keys.md
@@ -79,6 +79,8 @@ agent:
2. We cannot track costs, so you must disable this (see below)
in your [config file](../config/config.md).
+If you're using a [litellm proxy](https://docs.litellm.ai/docs/providers/openai_compatible#usage-with-litellm-proxy-server), make sure to set your `agent.model.name` to `openai/...`
+and set `agent.model.api_key` to the key you've configured for your proxy (or a random value; it cannot be empty).
!!! warning "Model providers"
@@ -117,4 +119,4 @@ in your [config file](../config/config.md).
See [our API docs](../reference/model_config.md) for all available options.
Our [model config page](../config/models.md) has more details on specific models and tips and tricks.
-{% include-markdown "../_footer.md" %}
\ No newline at end of file
+{% include-markdown "../_footer.md" %}