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: Add tool bundle configuration to API docs (#852)

Kilian Lieret8e49d534b7c5
diff --git a/docs/reference/bundle_config.md b/docs/reference/bundle_config.md
new file mode 100644
index 00000000..b5452313
--- /dev/null
+++ b/docs/reference/bundle_config.md
@@ -0,0 +1,5 @@
+# Tool bundle configuration
+
+::: sweagent.tools.commands.Command
+
+::: sweagent.tools.commands.Argument
\ No newline at end of file
diff --git a/docs/reference/tools_config.md b/docs/reference/tools_config.md
new file mode 100644
index 00000000..d408b7e0
--- /dev/null
+++ b/docs/reference/tools_config.md
@@ -0,0 +1,9 @@
+# Tool configuration
+
+This shows how to configure tools for SWE-agent.
+
+::: sweagent.tools.tools.ToolConfig
+
+::: sweagent.tools.tools.ToolFilterConfig
+
+::: sweagent.tools.bundle.Bundle
\ No newline at end of file
diff --git a/mkdocs.yml b/mkdocs.yml
index afef32bc..067b9bdd 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -99,8 +99,10 @@ nav:
- "Agent config": "reference/agent_config.md"
- "Model config": "reference/model_config.md"
- "Templates": "reference/template_config.md"
+ - "Tools": "reference/tools_config.md"
- "History processors": "reference/history_processor_config.md"
- "Environment config": "reference/env_config.md"
+ - "Tool bundle config": "reference/bundle_config.md"
- Classes:
- "Agent class": "reference/agent.md"
- "Environment class": "reference/env.md"