File size: 6,036 Bytes
879cc1c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
site_name: SWE-agent documentation
site_url: https://swe-agent.com
theme:
  name: material
  icon:
    repo: fontawesome/brands/github
    annotation: material/chevron-right-circle
  custom_dir: docs/overrides
  logo: assets/swe-agent.svg
  favicon: assets/favicon.ico
  palette:
    - media: "(prefers-color-scheme)"
      toggle:
        icon: material/brightness-auto
        name: Switch to light mode
    - scheme: default
      # primary: black  # override in custom.css
      accent: deep orange
      media: "(prefers-color-scheme: light)"
      toggle:
        icon: material/weather-night
        name: Switch to dark mode
    - scheme: slate
      # primary: black  # override in custom.css
      accent: deep orange
      media: "(prefers-color-scheme: dark)"
      toggle:
        icon: material/weather-sunny
        name: Switch to light mode
  features:
    - navigation.indexes
    - navigation.top
    - content.action.edit
    - navigation.footer
    - content.code.copy
    - content.footnote.tooltips
    - header.autohide
    - announce.dismiss
    - content.code.annotate
    - navigation.tabs
    - navigation.tabs.sticky
markdown_extensions:
  - admonition
  - pymdownx.details
  - pymdownx.tabbed:
      alternate_style: true
  - pymdownx.superfences
  - pymdownx.magiclink
  - footnotes
  - attr_list
  - md_in_html
  - pymdownx.snippets:
      check_paths: true
  - pymdownx.emoji:
      emoji_index: !!python/name:material.extensions.emoji.twemoji
      emoji_generator: !!python/name:material.extensions.emoji.to_svg
nav:
  - Getting Started:
    - index.md
    - "Installation":
      - "installation/index.md"
      - "From source": "installation/source.md"
      - "In browser": "installation/codespaces.md"
      - "Models and keys": "installation/keys.md"
      - "1.0 migration": "installation/migration.md"
      - "Troubleshooting": "installation/tips.md"
      - "Changelog": "installation/changelog.md"
    - "Tutorials":
      - "Hello world": "usage/hello_world.md"
      - "Command line basics": "usage/cl_tutorial.md"
      - "Solving coding challenges": "usage/coding_challenges.md"
      - "Trajectory inspector": "usage/inspector.md"
      - "Batch mode": "usage/batch_mode.md"
      - "Competitive runs": "usage/competitive_runs.md"
      - "Adding custom tools": "usage/adding_custom_tools.md"
      - "What's next?": "usage/whats_next.md"
    - "FAQ": "faq.md"
  - User Guides:
    - "usage/index.md"
    - Project overview:
      - "index": "background/index.md"
      - "Architecture": "background/architecture.md"
      - "Agent tools": "background/aci.md"
    - "Command line interface": "usage/cli.md"
    - "Output files": "usage/trajectories.md"
    - Configuration:
      - "index": "config/index.md"
      - "Config files": "config/config.md"
      - "Templates": "config/templates.md"
      - "Models": "config/models.md"
      - "Demonstrations": "config/demonstrations.md"
      - "Tools": "config/tools.md"
      - "Environments": "config/environments.md"
    - Development:
      - "Contribution guide": "dev/contribute.md"
      - "Formatting conflicts": "dev/formatting_conflicts.md"
  - API Reference:
    - "reference/index.md"
    - Run config:
      - "Run single": "reference/run_single_config.md"
      - "Run batch": "reference/run_batch_config.md"
    - Instance config:
      - "Problem statements": "reference/problem_statements.md"
      - "Repository": "reference/repo.md"
      - "Batch instances": "reference/batch_instances.md"
    - Agent config:
      - "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"
      - "Action parsers": "reference/parsers.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"
      - "Exceptions": "reference/exceptions.md"
plugins:
  - glightbox
  - search
  - include-markdown
  - mike:
      canonical_version: latest
      version_selector: true
  - mkdocstrings:
      default_handler: python
      handlers:
        python:
          paths: [sweagent]
          options:
            merge_init_into_class: true
            summary: false
            show_root_heading: true
            heading_level: 2
            docstring_style: google
            show_if_no_docstring: true
            show_signature: true
            show_signature_annotations: true
            signature_crossrefs: true
            separate_signature: true
            show_symbol_type_heading: true
            show_symbol_type_toc: true
            members_order: source
            extensions:
              - griffe_pydantic:
                  schema: false
            filters:
              - "!^_"
              - "!^model_config"
              - "!^model_post_init"
repo_url: https://github.com/SWE-agent/SWE-agent
repo_name: SWE-agent/SWE-agent
edit_uri: edit/main/docs/
extra_javascript:
  - assets/js/sh-annotation.js
extra_css:
  - https://fonts.googleapis.com/icon?family=Material+Icons
  - assets/navigation_cards.css
  - assets/custom.css
  - assets/mkdocstrings.css
  - assets/image_theme.css
  - assets/bubbles.css
extra:
  version:
    provider: mike
  analytics:
    provider: google
    property: G-SG2NC1GDRD
  # feedback:
    # title: Was this page helpful?
    # ratings:
      # - icon: material/emoticon-happy-outline
        # name: This page was helpful
        # data: 1
        # note: >-
          # Thanks for your feedback!
      # - icon: material/emoticon-sad-outline
        # name: This page could be improved
        # data: 0
        # note: >-
          # Thanks for your feedback! If anything was missing, please <a href="https://github.com/SWE-agent/SWE-agent/issues/new?template=question.yml">ask a question on github</a>!