-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Currently the ToolSpec agent tools publish is a custom struct, with a bunch of hacks to make it fit together. Additionally, not all types are supported and there is no way to properly validate the spec it should generate.
There are several mature libraries to deal with json specs, and it would be really nice if the tool specs utilize that instead.
https://github.com/GREsau/schemars really jumps out.
This would require major changes on tool specs themselves in core, all clients / chat completion and the tool generation macros. Implementation wise it would be nice if the macros are not visible to the user, preferably the public api does not change.
This issue follows from #738
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed