WhenDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/onenot8/issueLoop/llms.txt
Use this file to discover all available pages before exploring further.
create_tickets runs, IssueLoop sends each test failure block to an LLM with a triage prompt asking it to identify distinct, independent problems and write a summary for each one. The result is the set of tickets written to your database. Getting the provider configuration right matters — a slow or unavailable model means the triage step blocks. IssueLoop solves this with a fallback chain: you declare a priority-ordered list of providers, and IssueLoop tries them in order, automatically moving to the next one if any exception occurs.
Ollama (default)
Out of the box, IssueLoop uses a local Ollama instance with no configuration required. If you callissueloop.use() without an llm argument — or skip use() entirely — these defaults apply:
| Setting | Default |
|---|---|
provider | "ollama" |
model | "qwen2.5-coder:7b" |
base_url | "http://localhost:11434" |
token_size | 1024 |
config/provider_config.yaml file exists, IssueLoop reads it and overrides the defaults when the active provider is still the unmodified Ollama default. This lets you change the model without touching your code. See the provider_config.yaml section below.
A setup script for Ollama is included in the repository at setup/setup_ollama.sh.
Anthropic
Anthropic requires an API key. Pass it viaissueloop.use():
api_key and apiKey are accepted — see the camelCase / snake_case note below. If api_key is missing when the Anthropic provider is called, create_tickets raises ValueError: llm.apiKey required for provider='anthropic'.
OpenAI
OpenAI also requires an API key:POST https://api.openai.com/v1/chat/completions directly using the requests library — no OpenAI SDK required.
Multi-provider fallback chain
Wrap multiple provider dicts in a"providers" list to build a fallback chain. IssueLoop tries each provider in the order listed. If any exception occurs — network error, rate limit, invalid API key — it logs the error, moves to the next provider, and only re-raises if the last provider also fails.
Token size
token_size (or tokenSize) sets the max_tokens parameter sent to the LLM. It applies to Anthropic and OpenAI; Ollama does not use it. The default is 1024.
token_size if you find that triage responses are being cut off when test failure output is long.
Token usage tracking
IssueLoop records every LLM call todata/logs/llm_usage.jsonl. Three functions read this log:
ts, provider, model, prompt_tokens, completion_tokens, and total_tokens.
provider_config.yaml
For setups where you do not want to callissueloop.use() in code — for example, a shared environment where the model is configured at deployment time — you can place a config/provider_config.yaml file in your working directory.
IssueLoop reads this file automatically when the active provider is still the unmodified Ollama default (no explicit use() call has been made). The structure mirrors the config fields:
ISSUELOOP_PROVIDER_CONFIG_PATH env var → ./config/provider_config.yaml → config/ in the IssueLoop checkout → bundled package default.
camelCase / snake_case — both spellings work everywhere.
api_key and apiKey are equivalent, as are token_size and tokenSize, and base_url and baseUrl. IssueLoop normalises both forms when it builds the internal LLMConfig object, so you can use whichever convention fits your codebase.