Carrol Ristow
Carrol Ristow
报错: make[1]: Entering directory `/data/wangsenhao/nlp_service/Familia/glog-0.3.4' /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I./src -I./src -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -DNO_FRAME_POINTER -DNDEBUG -fPIC -MT src/libglog_la-logging.lo -MD -MP -MF src/.deps/libglog_la-logging.Tpo -c -o src/libglog_la-logging.lo...
tool := mcp.NewTool("current time", mcp.WithDescription("Get current time with timezone, Asia/Shanghai is default"), mcp.WithString("timezone", mcp.Required(), mcp.Description("current time timezone"), ), ) this is the func of making new tools, and I want...
报错信息: Traceback (most recent call last): File "/opt/conda/bin/text-generation-server", line 8, in sys.exit(app()) File "/opt/conda/lib/python3.10/site-packages/text_generation_server/cli.py", line 92, in serve server.serve( File "/opt/conda/lib/python3.10/site-packages/text_generation_server/server.py", line 246, in serve asyncio.run( File "/opt/conda/lib/python3.10/asyncio/runners.py", line 44,...
runnable生成后,我调用runnable.stream流式打印中,怎么能够安全的立即停止输出,不用sigterm
这个是因为模型调错函数名了吧?我的workflow每次遇到这种错误就停止了,能不能捕捉一下这个错误,然后返回一个文本的提示?
_ = graph.AddToolsNode( nodeKeyTools, toolsNode, compose.WithStatePreHandler(func(ctx context.Context, in *schema.Message, state *state) (*schema.Message, error) { state.messages = append(state.messages, in) return in, nil }), ) 我想要把tools的func name记载到某一个变量中传递到下游,这个有什么办法操作吗
请问这个报错能在graph里面接住吗?我不想因为这个把我的graph停了
cli, err := client.NewSSEMCPClient(server.URL)这一块没有报错,在使用方法时报错,这是怎么回事,我在inspector上测试也是没有问题的