这是indexloc提供的服务,不要输入任何密码
Skip to content

Invalid OpenAI Token Limit #511

@imbible

Description

@imbible

The Azure OpenAI has the GPT-4 turbo model, which has 128,000 tokens. I am able to select that from the dropdown list, but cannot save the settings.
Here is the option:
image
Here is the error message:
image
This is a screenshot from my Azure OpenAI Chat playground. As you can see, I do have the deployment with 128,000 tokens.
image

I believe this line is wrong.

if (![4_096, 16_384, 8_192, 32_768].includes(tokenLimit))

I'm not sure if this is the root cause.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Integration RequestRequest for support of a new LLM, Embedder, or Vector databasebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions