Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit a927fd2

Browse files
committed
fix
1 parent f077d58 commit a927fd2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/completions/llm.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,8 @@ def proxy(model)
292292
llm_model =
293293
if model.is_a?(LlmModel)
294294
model
295+
elsif model.is_a?(Numeric)
296+
LlmModel.find_by(id: model)
295297
else
296298
model_name_without_prov = model.split(":").last.to_i
297299

0 commit comments

Comments
 (0)