Skip to content

当真实的 apikey 为空时,调用大模型对话接口时,请求体不应该传递默认的 apikey #255

@desAweis

Description

@desAweis

问题摘要 / Issue Summary

三合一场景,调用服务接入的模型对话接口,apikey 校验失败。

版本信息 / Version Information

v3.5.0-M6

浏览器 / Browser

Chrome

操作系统 / Operating System

Other Linux

发生了什么?/ What happened?

当真实的 apikey 为空时,调用大模型对话接口时,请求体传递默认的 apikey,导致 apikey 校验报错。

期望的行为 / Expected Behavior

当真实的 apikey 为空时,调用大模型对话接口时,请求体不添加 authorization 字段。

重现步骤 / Steps to Reproduce

  1. 设置入参的 apikey 为空。
  2. 检查调用接口时,header 有无 authorization 字段。

相关日志 / Relevant Logs

额外信息 / Additional Context

No response

确认事项 / Confirmations

  • 我已经搜索了现有的issues,确认这不是重复问题
    I have searched existing issues and confirmed this is not a duplicate

  • 我已经阅读了项目文档和 FAQ
    I have read the project documentation and FAQ

  • 我提供的信息准确完整
    The information I provided is accurate and complete

  • 我愿意协助测试问题修复 (可选)
    I'm willing to help test the bug fix (optional)

Metadata

Metadata

Assignees

Labels

in: felIssues in FEL(FIT Expression for LLM) modulestype: bugA general bug

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions