Skip to content

Commit

Permalink
Loosening LLMModel.run_prompt to allow for Iterable[Callback] (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbraza authored Jan 18, 2025
1 parent 1eae8a2 commit 89d8767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmclient/llms.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ async def run_prompt(
self,
prompt: str,
data: dict,
callbacks: list[Callable] | None = None,
callbacks: Iterable[Callable] | None = None,
name: str | None = None,
system_prompt: str | None = default_system_prompt,
) -> LLMResult:
Expand Down

0 comments on commit 89d8767

Please sign in to comment.