lian.wang

Results 7 comments of lian.wang

maybe you need: if len(resource.GetDeployments()) == 0 { }

if you have more than one *snowflake.Node, like this `node, err := snowflake.NewNode(nodeId)` make sure they have different nodeId.

> sseServer := server.NewSSEServer(mcpServer, server.WithBaseURL("http://localhost:8080")) 问题是一会就自动断开了 It was resolved by adding the `WithKeepAlive(true)` option ```go sseServer := server.NewSSEServer(mcpServer, server.WithBaseURL("http://localhost:8080"), server.WithKeepAlive(true)) ````

> > > sseServer := server.NewSSEServer(mcpServer, server.WithBaseURL("http://localhost:8080")) 问题是一会就自动断开了 > > > > > > It was resolved by adding the `WithKeepAlive(true)` option > > sseServer := server.NewSSEServer(mcpServer, server.WithBaseURL("http://localhost:8080"), server.WithKeepAlive(true)) >...

I found that it works well with agent: v.0.0.9 ![Image](https://github.com/user-attachments/assets/98079bfc-3e82-40c8-b228-f91fb05e82c7)

> [@wl102](https://github.com/wl102) same problem with openai-api-compatible, is it resolved now? Unfortunately, it wasn't resolved.

I got error with function calling agent: Failed to transform agent message: PluginInvokeError: {"args":{},"error_type":"ValidationError","message":"1 validation error for LogMessage\nmetadata.start_at.[key]\n Input should be 'started_at', 'finished_at', 'elapsed_time', 'total_price', 'total_tokens', 'provider' or 'currency' [type=enum,...