Moonshot
LibreChatでMoonshot AIをカスタムendpointとして設定する。
Moonshot AIは、LibreChatにカスタムendpointとして追加できるOpenAI互換APIを通じてKimiモデルを提供しています。
APIキーを取得する
Moonshot platformからキーを作成します。それを.envファイルに追加してください:
設定
librechat.yaml の endpoints.custom の下にエンドポイントを追加します:
注記
kimi-k2.5やkimi-k2-thinkingのような推論能力を持つモデルの場合、ツール呼び出しと推論を交互に行う(interleaved reasoning)には、endpoint のnameを"Moonshot"(大文字・小文字は区別されません)に設定する必要があります。別の名前を設定すると、thinking is enabled but reasoning_content is missing in assistant tool call messageのようなエラーが発生します。詳細は Moonshot's documentation を参照してください。
このガイドはいかがでしたか?