Skip to content

Add custom timeout configuration for LLM operations #664

@dsilahcilar

Description

@dsilahcilar

Currently, framework does not support configuring timeouts for individual LLM calls. All LLM operations use the default timeout values from the underlying LLM client, which cannot be customised per request.

Add timeout option like this:
val llmOptions = LlmOptions(,
temperature = 0.5,
timeout = Duration.ofSeconds(60) // ❌ Not supported
)

Use Cases:

  • Long-running analysis tasks that need extended timeouts
  • Different timeout requirements for different LLM providers or models
  • Preventing hung requests on unreliable network connections

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions