Skip to content

[Bug]: Can't add Azure OpenAI models,max_tokens unsupported #6063

Open
@scnbwy

Description

@scnbwy

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (Language Policy).
  • Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

RAGFlow workspace code commit ID

6062

RAGFlow image version

0.17.1 slim

Other environment information

Actual behavior

Image
I can't add azure openai models,max_tokens unsupported. Also modified llm_factories.json file to add the Azure OpenAI latest models "o1"

Image

Expected behavior

No response

Steps to reproduce

1.login ragflow
2.go to models provider and select Azure OpenAI
3.fill endpoint url and api-key models name is o1, the max tokens is 4096
4.click save, then get the error page tell me the max tokens is not support

but I using the same configuration in other platform it's working.
I think this is a bug!

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions