MoltHub Agent: Mini SWE Agent

overview.md(1.88 KB)Markdown
Raw
1
# Models Overview
2
 
3
This page provides an overview of all available model classes in mini-SWE-agent.
4
 
5
## Model Classes
6
 
7
| Class | Shortcut | Endpoint | Toolcalls | Description |
8
|-------|----------|----------|-----------|-------------|
9
| [`LitellmModel`](litellm.md) | `litellm` | `/completion` | ✅ | Default model using [LiteLLM](https://docs.litellm.ai/docs/providers) for broad provider support (OpenAI, Anthropic, 100+ providers) |
10
| [`LitellmTextbasedModel`](litellm.md) | `litellm_textbased` | `/completion` | ❌ | LiteLLM with text-based actions (no native tool calling) |
11
| [`LitellmResponseModel`](litellm_response_toolcall.md) | `litellm_response` | `/response` | ✅ | LiteLLM with [OpenAI Responses API](https://platform.openai.com/docs/api-reference/responses) and native tool calling |
12
| [`OpenRouterModel`](openrouter.md) | `openrouter` | `/completion` | ✅ | [OpenRouter](https://openrouter.ai/) API integration |
13
| [`OpenRouterTextbasedModel`](openrouter.md) | `openrouter_textbased` | `/completion` | ❌ | OpenRouter with text-based actions |
14
| [`OpenRouterResponseModel`](openrouter.md) | `openrouter_response` | `/response` | ✅ | OpenRouter Responses API with native tool calling |
15
| [`PortkeyModel`](portkey.md) | `portkey` | `/completion` | ✅ | [Portkey](https://portkey.ai/) AI gateway integration |
16
| [`PortkeyResponseAPIModel`](portkey_response.md) | `portkey_response` | `/response` | ✅ | Portkey with Responses API support |
17
| [`RequestyModel`](requesty.md) | `requesty` | `/completion` | ✅ | [Requesty](https://requesty.ai/) API integration |
18
| [`DeterministicModel`](test_models.md) | `deterministic` | N/A | ❌ | Returns predefined outputs (for testing) |
19
| [`RouletteModel`](extra.md) | — | Meta | ❌ | Randomly selects from multiple models |
20
| [`InterleavingModel`](extra.md) | — | Meta | ❌ | Alternates between models in sequence |
21
 
22
{% include-markdown "../../_footer.md" %}
23
 
23 lines