Skip to content

o1 fails? #1

@mitchcapper

Description

@mitchcapper

First amazing work the proxy does great and easy to setup / follow. Appreciate you building this bridge and giving such detailed instructions for using it with aider and the like.

For the issue, it seems I may be doing something wrong with o1:

If I dump in vscode the models it seems it is avail and listed just as "o1". I tried o1-ga although not sure why it said no o1 language model not no o1-ga language model.

ERROR: No language model available for model: o1
Request received. Model: o1-ga.
ERROR: No language model available for model: o1
Request received. Model: o1.

Trying to use gpt-4o also gave an error but different:

ERROR: Error in streaming mode: {"name":"Error","message":"Invalid request: the last message must be a User message."}
Request received. Model: gpt-4o. 

I did add these things to the model file directly even to get the aider proxy errors above:

- name: o1
  extra_params:
    api_key: n/a
    model: openai/o1
    api_base: http://localhost:14823/v1

- name: GPT-4o
  extra_params:
    api_key: n/a
    api_base: http://localhost:14823/v1   

OK nevermind I was able to get around that GPT-4o error message fixing the case, oddly it showed it in lowercase in VSCode but per above the aider config was upper (even though in aider I did switch to it using /model gpt-4o).

- name: gpt-4o
  extra_params:
    api_key: n/a
    api_base: http://localhost:14823/v1    

vs dump of Available Copilot Models:

[
  {
    "id": "gpt-3.5-turbo",
    "vendor": "copilot",
    "family": "gpt-3.5-turbo",
    "version": "gpt-3.5-turbo-0613",
    "name": "GPT 3.5 Turbo",
    "maxInputTokens": 12114
  },
  {
    "id": "gpt-4",
    "vendor": "copilot",
    "family": "gpt-4",
    "version": "gpt-4-0613",
    "name": "GPT 4",
    "maxInputTokens": 28501
  },
  {
    "id": "gpt-4o",
    "vendor": "copilot",
    "family": "gpt-4o",
    "version": "gpt-4o-2024-05-13",
    "name": "GPT 4o",
    "maxInputTokens": 63827
  },
  {
    "id": "gpt-4o-mini",
    "vendor": "copilot",
    "family": "gpt-4o-mini",
    "version": "gpt-4o-mini-2024-07-18",
    "name": "GPT 4o Mini",
    "maxInputTokens": 12115
  },
  {
    "id": "o1",
    "vendor": "copilot",
    "family": "o1-ga",
    "version": "o1-2024-12-17",
    "name": "o1 (Preview)",
    "maxInputTokens": 19827
  },
  {
    "id": "o3-mini",
    "vendor": "copilot",
    "family": "o3-mini",
    "version": "o3-mini-2025-01-31",
    "name": "o3-mini (Preview)",
    "maxInputTokens": 19827
  },
  {
    "id": "claude-3.5-sonnet",
    "vendor": "copilot",
    "family": "claude-3.5-sonnet",
    "version": "claude-3.5-sonnet",
    "name": "Claude 3.5 Sonnet (Preview)",
    "maxInputTokens": 85734
  },
  {
    "id": "gemini-2.0-flash-001",
    "vendor": "copilot",
    "family": "gemini-2.0-flash",
    "version": "gemini-2.0-flash-001",
    "name": "Gemini 2.0 Flash (Preview)",
    "maxInputTokens": 127827
  }
]

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