You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
io.github.pigmesh.ai.deepseek.core.OpenAiHttpException: Failed to deserialize the JSON body into the target type: missing field `model` at line 7 column 1
at io.github.pigmesh.ai.deepseek.core.Utils.toException(Utils.java:15)
at io.github.pigmesh.ai.deepseek.core.SyncRequestExecutor.execute(SyncRequestExecutor.java:29)
at io.github.pigmesh.ai.deepseek.core.RequestExecutor.execute(RequestExecutor.java:59)
at io.github.pigmesh.ai.deepseek.solon.example.controller.DeepSeekLocalController.chat(DeepSeekLocalController.java:24)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.noear.solon.core.wrap.MethodWrap.invoke(MethodWrap.java:269)
at org.noear.solon.core.wrap.MethodWrap.doIntercept(MethodWrap.java:258)
at org.noear.solon.core.aspect.InterceptorEntity.doIntercept(InterceptorEntity.java:55)
at org.noear.solon.core.aspect.Invocation.invoke(Invocation.java:115)
at org.noear.solon.core.wrap.MethodWrap.invokeByAspect(MethodWrap.java:284)
at org.noear.solon.core.mvc.ActionDefault.executeDo(ActionDefault.java:396)
at org.noear.solon.core.mvc.ActionDefault.invokeMethodDo(ActionDefault.java:327)
at org.noear.solon.core.mvc.ActionDefault.invokeHandleDo(ActionDefault.java:304)
at org.noear.solon.core.handle.FilterChainImpl.doFilter(FilterChainImpl.java:51)
at org.noear.solon.core.mvc.ActionDefault.invokeFilterDo(ActionDefault.java:296)
at org.noear.solon.core.handle.FilterChainImpl.doFilter(FilterChainImpl.java:51)
at org.noear.solon.core.mvc.ActionDefault.invoke(ActionDefault.java:270)
at org.noear.solon.core.mvc.ActionDefault.handle(ActionDefault.java:247)
at org.noear.solon.core.route.RouterHandler.handleMain(RouterHandler.java:51)
at org.noear.solon.core.route.RouterHandler.handle1(RouterHandler.java:71)
at org.noear.solon.core.route.RouterInterceptorChainImpl.doIntercept(RouterInterceptorChainImpl.java:54)
at org.noear.solon.core.ChainManager.doIntercept(ChainManager.java:199)
at org.noear.solon.core.route.RouterHandler.handle(RouterHandler.java:102)
at org.noear.solon.core.handle.HandlerPipeline.handle(HandlerPipeline.java:53)
at org.noear.solon.core.handle.FilterChainImpl.doFilter(FilterChainImpl.java:51)
at org.noear.solon.web.cors.CrossFilter.doFilter(CrossFilter.java:47)
at org.noear.solon.core.handle.FilterChainImpl.doFilter(FilterChainImpl.java:49)
at org.noear.solon.logging.integration.XPluginImp.lambda$start$1(XPluginImp.java:71)
at org.noear.solon.core.handle.FilterChainImpl.doFilter(FilterChainImpl.java:49)
at org.noear.solon.core.ChainManager.doFilter(ChainManager.java:106)
at org.noear.solon.SolonApp.tryHandle(SolonApp.java:511)
at org.noear.solon.boot.smarthttp.http.SmHttpContextHandler.handleDo(SmHttpContextHandler.java:122)
at org.noear.solon.boot.smarthttp.http.SmHttpContextHandler.handle0(SmHttpContextHandler.java:100)
at org.noear.solon.boot.smarthttp.http.SmHttpContextHandler.lambda$handle$0(SmHttpContextHandler.java:85)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
提问前确认
我已经搜索过现有的 issues,但没有找到答案
我已经阅读过文档
The text was updated successfully, but these errors were encountered:
您的问题
项目下载之后,修改app.yml中的solon.env环境为deepseek,并添加了apikey,其他的代码没有变化
版本信息
1.4.3
补充信息
提问前确认
The text was updated successfully, but these errors were encountered: