Dmitry Pasiukevich

Results 6 issues of Dmitry Pasiukevich

FunctionResponse has `map[string]any` type. Currently if the tool returns an error, we pass `map[string]any{"error": err}`. Errors created with `fmt.Errorf` or `errors.New` are json marshalled to `{}`. As a result LLM...

Currently is serves as a placeholder type to pass tools to LLMAgent. It's not possible to implement `tool.Tool` directly with a custom type (technically possible, but this tool won't work)....

breaking change

After functool prototype was updated to have error: `func(arg) (resp, err)`. Now user error can be in `res, err := callTool(...)` and we'd need to pass this error to after_tool_callback....

Ideally we should only expose `func NewHandler(config *launcher.Config) http.Handler`. Keeping controllers/routers internally gives us more flexibility to refactor/update code. And keeping controller/routers public looks excessive.