Skip to content

Consider offloading LLM call retrying #494

@eb8680

Description

@eb8680

Currently handlers.llm.providers includes a somewhat half-baked handler for retrying failed Template calls. It's not clear that what we have implemented is semantically correct, and it's certainly not full-featured. Rather than handling Template.__apply__ with a catch-all RetryHandler, we should use LiteLLM's built-in functionality for retrying failed API calls, and handle other failure modes (e.g. failed tool calls or structured outputs) separately.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions