Skip to content

加入 github.copilot.chat.customOAIModels 組態說明 #43

Description

@doggy8088

配置自訂的 OpenAI 相容模型。每個 key 必須是唯一的模型 ID,值應該是一個包含模型配置的物件,包括名稱、網址、工具呼叫、視覺、最大輸入代幣和最大輸出 Tokens 屬性。

目前僅能手動設定 JSON,未來會推出有 UI 的設定介面。

設定範例如下圖:

Image
{
  "github.copilot.chat.customOAIModels": {
    "fireworks/gpt—oss—120b": {
      "name": "gpt—oss—120b",
      "maxInputTokens": 16384,
      "maxOutputTokens": 8192,
      "tooICalling": true,
      "url": "https://api.fireworks.ai/inference/vl/chat/completions",
      "vision": false,
      "requiresAPIKey": true
    }
  }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions