@@ -5,7 +5,7 @@ import React, { useCallback, useEffect, useMemo, useState } from 'react'
55import { Button } from './button'
66import {
77 FALLBACK_FREEBUFF_MODEL_ID ,
8- FREEBUFF_KIMI_MODEL_ID ,
8+ FREEBUFF_GLM_MODEL_ID ,
99 FREEBUFF_MODELS ,
1010 getFreebuffDeploymentAvailabilityLabel ,
1111 isFreebuffModelAvailable ,
@@ -25,8 +25,8 @@ import {
2525import type { KeyEvent } from '@opentui/core'
2626
2727const FREEBUFF_MODEL_SELECTOR_MODELS = [
28- ...FREEBUFF_MODELS . filter ( ( model ) => model . id === FREEBUFF_KIMI_MODEL_ID ) ,
29- ...FREEBUFF_MODELS . filter ( ( model ) => model . id !== FREEBUFF_KIMI_MODEL_ID ) ,
28+ ...FREEBUFF_MODELS . filter ( ( model ) => model . id === FREEBUFF_GLM_MODEL_ID ) ,
29+ ...FREEBUFF_MODELS . filter ( ( model ) => model . id !== FREEBUFF_GLM_MODEL_ID ) ,
3030]
3131
3232/**
@@ -72,7 +72,7 @@ export const FreebuffModelSelector: React.FC = () => {
7272 // unavailable (e.g. deployment hours close while the picker is open),
7373 // swap to the always-available fallback so Enter doesn't POST a model
7474 // the server will immediately reject. In-memory only — the user's saved
75- // preference (e.g. Kimi ) is preserved for the next launch.
75+ // preference (e.g. GLM ) is preserved for the next launch.
7676 if (
7777 ( session ?. status === 'none' || ! session ) &&
7878 ! isFreebuffModelAvailable ( selectedModel , new Date ( now ) )
0 commit comments