Repository navigation
argon v0.1.0-preview.4 (Developer Preview 4)
Pre-release
Pre-release
·
39 commits
to master
since this release
Fixes before the first release candidate; no new features.
Changed
- Public types (
Request,Result,Contentand its blocks,Handler,
Middleware,ToolMeta,Annotations,ResourceContents,
PromptMessage,Role) are now defined in packageargoninstead of
being aliases to an internal package, so their fields and documentation
show ingo docand on pkg.go.dev. Names and behaviour are unchanged.
Fixed
- Tools returning a pointer to a struct (
*T) now declareT's output
schema and send structured content, like tools returningT; a nil*T
is reported as a tool error. - The Streamable HTTP handler now logs its errors through the server logger
(Warn and above) instead of discarding them.
Added
- Examples for pkg.go.dev and README badges.
- Tests for
Run(transport selection, SIGINT/SIGTERM, stdio EOF) and
RunHTTP(graceful shutdown, listen errors).