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: More additions to reference
Kilian Lieretbab3c3f6ecd8
diff --git a/docs/config/templates.md b/docs/config/templates.mdindex f46ef763..0b4afcad 100644--- a/docs/config/templates.md+++ b/docs/config/templates.md@@ -14,7 +14,7 @@ One of three templates can be shown per turn:* If the model's next two responses are both malformed, the episode terminates.!!! tip "All options"- See the [template reference](../reference/agent_config.md#sweagent.agent.agents.TemplateConfig) for all options.+ See the [template reference](../reference/template_config.md) for all options.{% include-markdown "../_footer.md" %}diff --git a/docs/reference/agent_config.md b/docs/reference/agent_config.mdindex 35ac6a35..87bfc83c 100644--- a/docs/reference/agent_config.md+++ b/docs/reference/agent_config.md@@ -15,4 +15,3 @@ It might be easiest to simply look at some of our example configurations in the::: sweagent.agent.agents.AgentConfig-::: sweagent.agent.agents.TemplateConfig\ No newline at end of filediff --git a/docs/reference/history_processor_config.md b/docs/reference/history_processor_config.mdnew file mode 100644index 00000000..59e65063--- /dev/null+++ b/docs/reference/history_processor_config.md@@ -0,0 +1,8 @@+# History processor configuration++::: sweagent.agent.history_processors.DefaultHistoryProcessor++::: sweagent.agent.history_processors.LastNObservations++::: sweagent.agent.history_processors.TagToolCallObservations+diff --git a/docs/reference/template_config.md b/docs/reference/template_config.mdnew file mode 100644index 00000000..a72de6fd--- /dev/null+++ b/docs/reference/template_config.md@@ -0,0 +1,3 @@+# Template configuration++::: sweagent.agent.agents.TemplateConfig\ No newline at end of filediff --git a/mkdocs.yml b/mkdocs.ymlindex 495fec72..b253426d 100644--- a/mkdocs.yml+++ b/mkdocs.yml@@ -96,6 +96,8 @@ nav:- Agent config:- "Agent config": "reference/agent_config.md"- "Model config": "reference/model_config.md"+ - "Templates": "reference/template_config.md"+ - "History processors": "reference/history_processor_config.md"- "Environment config": "reference/env_config.md"- Classes:- "Agent class": "reference/agent.md"