Skip to content

Commit

Permalink
minor typing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
noobHappylife committed Nov 28, 2024
1 parent ce08702 commit 1d5a570
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion services/api/src/owl/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@ def model_info(
model: str = "",
capabilities: list[str] | None = None,
) -> ModelInfoResponse:
models: ModelListConfig = self.request.state.all_models.models
model_list: ModelListConfig = self.request.state.all_models
models = model_list.models
# Filter by name
if model != "":
models = [m for m in models if m.id == model]
Expand Down

0 comments on commit 1d5a570

Please sign in to comment.