Skip to content

feat: add configurable provider timeout#13

Merged
louisho5 merged 1 commit into
louisho5:mainfrom
Fybre:feature/provider-timeout-config
Feb 19, 2026
Merged

feat: add configurable provider timeout#13
louisho5 merged 1 commit into
louisho5:mainfrom
Fybre:feature/provider-timeout-config

Conversation

@Fybre

@Fybre Fybre commented Feb 19, 2026

Copy link
Copy Markdown
Contributor

Add requestTimeoutS field to agent defaults config (default 60s).

Allows users to increase timeout for slow models or congested providers.

Example config:

{
  "agents": {
    "defaults": {
      "requestTimeoutS": 120
    }
  }
}

Add requestTimeoutS field to agent defaults config (default 60s).
Allows users to increase timeout for slow models
or congested providers.
@louisho5
louisho5 merged commit 013326b into louisho5:main Feb 19, 2026
@louisho5

Copy link
Copy Markdown
Owner

Thanks @Fybre, this is a good idea for slow models on cheap hardware :)

However, the PR changed NewOpenAIProvider to take 3 arguments instead of 2, so some functions also need to be updated.

What I have done:

Updated NewOpenAIProvider to take 3 arguments.
# main.go (agent command)
# openai_test.go (test)
# llm_ranker_provider_integration_test.go (integration test)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants