支持工具调用:三个AI角色配置、工具注册表与流式工具轮

This commit is contained in:
2026-08-14 16:55:48 +08:00
parent ce49bb9c1e
commit 1c9e98ddb0
11 files changed
+491 -28

No files matched your search

+2 -1
View File
@@ -3,14 +3,15 @@ module myaibot
go 1.26.4
require (
github.com/expr-lang/expr v1.17.8
github.com/openai/openai-go v1.12.0
github.com/peterh/liner v1.2.2
github.com/tidwall/gjson v1.14.4
gopkg.in/yaml.v3 v3.0.1
)
require (
github.com/mattn/go-runewidth v0.0.3 // indirect
github.com/tidwall/gjson v1.14.4 // 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