Skip to content

Commit fbfeb67

Browse files
committed
chore: update file hashes for community and xpack
fix: correct parameter name in KimiChatModel instantiation
1 parent c217712 commit fbfeb67

File tree

1 file changed

+1
-1
lines changed
  • apps/models_provider/impl/kimi_model_provider/model

1 file changed

+1
-1
lines changed

apps/models_provider/impl/kimi_model_provider/model/llm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def new_instance(model_type, model_name, model_credential: Dict[str, object], **
2525
kimi_chat_open_ai = KimiChatModel(
2626
openai_api_base=model_credential['api_base'],
2727
openai_api_key=model_credential['api_key'],
28-
model_name=model_name,
28+
model=model_name,
2929
extra_body=optional_params,
3030
)
3131
return kimi_chat_open_ai

0 commit comments

Comments
 (0)