id: 107 # 模型 id, 同 id 数据不会覆盖 name: Gemini-2.5-Flash # 模型 meta 名称 icon_uri: gemini_v2.png # 模型展示图片 uri icon_url: '' # 模型展示图片 url description: zh: gemini 模型简介 # 模型默认描述 en: gemini model description protocol: gemini # 模型连接协议, see: backend/infra/contract/chatmodel/protocol.go capability: # 模型基础能力 function_call: true # 模型是否支持 function call input_modal: # 模型输入支持模态 - text - image - audio - video input_tokens: 1048576 # 输入 token 上限 output_modal: # 模型输出支持模态 - text output_tokens: 65536 # 输出 token 上限 max_tokens: 1114112 # 最大 token 数量 json_mode: true # 是否支持 json mode prefix_caching: true # 是否支持 prefix caching reasoning: true # 是否支持 reasoning prefill_response: true # 是否支持续写 conn_config: # 模型连接参数 base_url: '' # REQUIRED: base_url api_key: '' # REQUIRED: api_key model: gemini-2.5-flash # REQUIRED: model temperature: 0.7 # 默认 temperature frequency_penalty: 0 # 默认 frequency_penalty presence_penalty: 0 # 默认 presence_penalty max_tokens: 4096 # 默认 max_tokens top_p: 1 # 默认 top_p top_k: 0 # 默认 top_k # 下面是模型专用配置,仅配置 protocol 所对应的类型即可 gemini: backend: 0 project: '' location: '' api_version: '' headers: key_1: - val_1 - val_2 timeout: 0 include_thoughts: true thinking_budget: null status: 1