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: Note about claude max output tokens (#1041)

Kilian Lieretc0873872b130
diff --git a/docs/config/models.md b/docs/config/models.md
index 4517db90..8445a96a 100644
--- a/docs/config/models.md
+++ b/docs/config/models.md
@@ -48,6 +48,12 @@ We recommend that you check how often you hit the cache. A very simple way is to
grep -o "cached_tokens=[0-9]*" django__django-11299.debug.log
```
+Note that the maximum number of output tokens of Claude 3.7 can be extended with extra headers.
+See [this issue in litellm](https://github.com/BerriAI/litellm/issues/8984) and and [swe-agent PR #1035](https://github.com/SWE-agent/SWE-agent/issues/1035)
+for omore information.
+Since [#1036](https://github.com/SWE-agent/SWE-agent/pull/1036) you can also manually set the maximum output tokens and override the information
+from `litellm`.
+
### o1
Make sure to set
@@ -76,4 +82,4 @@ We also provide models for testing SWE-agent without spending any credits
* `InstantEmptySubmitTestModel` will create an empty `reproduce.py` and then submit
-% include-markdown "../_footer.md" %}
\ No newline at end of file
+% include-markdown "../_footer.md" %}