ModelEngine-Group / ModelEngine-Group/fit-framework

FEL的调用模型的返回值类型不兼容报错

Open
#213 0 comments 0 reactions 1 assignee View on GitHub

@CodeCasterX is already working on this.

Since Jul 21, 2025.

good first issue in: fel status: waiting-for-internal-feedback type: bug
Dominant language
Java
Stars
2.1k
Forks
335
PR merge metrics
No merged PRs in 30d

Description

问题摘要 / Issue Summary

FEL的调用模型的返回值类型不兼容报错

版本信息 / Version Information

v3.5.0-M4

浏览器 / Browser

No response

操作系统 / Operating System

None

发生了什么?/ What happened?

当调用模型网关报错时,这里FEL会强行进行类型转换,导致抛出类型转换异常,而网关返回的错误信息无法被准确获取

期望的行为 / Expected Behavior

当模型网关报错时,应该将模型网关的异常信息呈现给用户,而不应该是自己内部的代码异常

重现步骤 / Steps to Reproduce

调用模型网关时,模型网关报错

相关日志 / 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)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.