Skip to content

使用azure时,APIKEY留空报空指针 #276

@doufangyu

Description

@doufangyu

问题反馈

  • 搜索打开和关闭的 GitHub 问题,请勿重复提交issue。

重要:提交问题时,请务必带上输出日志,以及个人排查的成果。

api_key: ""
azure_on: true # 如果是true,则会走azure的openai接口
azure_resource_name: "" # 对应你的主个性域名
azure_deployment_name: "gpt-35-turbo" # 对应的是 /deployments/ 后边跟着的这个值
azure_api_version: "2023-05-15" # 对应的是请求中的 api-version 后边的值
azure_openai_token: "
"

当我这么配置时,
image

当我一旦在api_key后边填写内容时,程序会去直接连api.openai.com的地址

目前我无法使用azure

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions