Skip to content

FEL的06-agent示例报错 #392

Description

@relat-ivity

问题摘要 / Issue Summary

FEL的06-agent示例直接运行jar报会报错,显示组件未正确加载

版本信息 / Version Information

v3.6.0

浏览器 / Browser

No response

操作系统 / Operating System

None

发生了什么?/ What happened?

FEL的06-agent示例直接运行jar报会报错,显示组件未正确加载,这是由于组件启动优先级不对导致的。fel-tool-discoverer组件会依赖fel-tool-repository-simple组件,但是这两个启动的优先级都是5,顺序随机,导致组件依赖关系未正确加载。

期望的行为 / Expected Behavior

06-agent的示例jar包可以正确运行

重现步骤 / Steps to Reproduce

按照示例FEL的06示例测试,直接运行jar包

相关日志 / Relevant Logs

额外信息 / Additional Context

D:\Project\fit-framework\examples\fel-example\06-agent\target\agent-example-1.0.0-SNAPSHOT.jar
[2025-12-29 16:40:10.318] [INFO ] [main] [modelengine.fitframework.runtime.aggregated.AggregatedFitRuntime] Prepare to start FIT application... [version=3.6.2-SNAPSHOT]
Exception in thread "main" modelengine.fitframework.broker.client.FitableNotFoundException: No fitables. [genericableId=modelengine.fel.tool.add, isMicro=false]
	at modelengine.fitframework.broker.client.support.DefaultInvoker.lambda$getGenericable$2(DefaultInvoker.java:170)
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
	at modelengine.fitframework.broker.client.support.DefaultInvoker.getGenericable(DefaultInvoker.java:170)
	at modelengine.fitframework.broker.client.support.DefaultInvoker.getGenericable(DefaultInvoker.java:159)
	at modelengine.fitframework.broker.client.support.DefaultInvoker.invoke(DefaultInvoker.java:147)
	at modelengine.fitframework.broker.client.aop.DynamicRoutingInterceptor.intercept(DynamicRoutingInterceptor.java:90)
	at modelengine.fitframework.aop.proxy.support.AbstractAopProxy.invoke(AbstractAopProxy.java:89)
	at modelengine.fitframework.aop.proxy.support.JdkDynamicProxy.invoke(JdkDynamicProxy.java:38)

确认事项 / 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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

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

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions