Streaming, tool use (index-based delta accumulation), tool name sanitization (fs.read → fs_read), StreamOptions.IncludeUsage for token tracking. Hardcoded model list (gpt-4o, gpt-4o-mini, o3, o3-mini). Wired into CLI with OPENAI_API_KEY env support. Live verified: text streaming + tool calling with gpt-4o.
18 lines
422 B
Modula-2
18 lines
422 B
Modula-2
module somegit.dev/Owlibou/gnoma
|
|
|
|
go 1.26.1
|
|
|
|
require (
|
|
github.com/VikingOwl91/mistral-go-sdk v1.2.1
|
|
github.com/anthropics/anthropic-sdk-go v1.29.0
|
|
github.com/openai/openai-go v1.12.0
|
|
)
|
|
|
|
require (
|
|
github.com/tidwall/gjson v1.18.0 // indirect
|
|
github.com/tidwall/match v1.1.1 // indirect
|
|
github.com/tidwall/pretty v1.2.1 // indirect
|
|
github.com/tidwall/sjson v1.2.5 // indirect
|
|
golang.org/x/sync v0.16.0 // indirect
|
|
)
|