d84b1eceb5
把手写的 OpenAI HTTP/SSE 客户端换成 eino-ext/openai 的 ChatModel 组件: - SetConfig 用激活配置构建 ChatModel(热更新=重建实例,读写锁保护) - ChatStream → cm.Stream(StreamReader 逐 chunk);Chat → cm.Generate - 对外签名零变更(Chat/ChatStream/StreamText/Ready/ModelName), graph.go / report.go / memory_extract.go 不动 - Ready() 语义升级为「ChatModel 构建成功」,更准 - StreamText 降级桩保留 验收:make test-go 全模块绿;真实链路提交任务经新组件流式出答复 (28 字 + eval 1.00,Stream/Generate 两条路径都过)。 为 Phase B(BindTools 函数调用 + ADK)铺好底层组件。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
55 lines
2.3 KiB
Modula-2
55 lines
2.3 KiB
Modula-2
module github.com/sundynix/sundynix-dispatcher
|
|
|
|
go 1.25.0
|
|
|
|
require (
|
|
github.com/cloudwego/eino v0.9.9
|
|
github.com/cloudwego/eino-ext/components/model/openai v0.1.13
|
|
github.com/sundynix/sundynix-shared v0.0.0
|
|
)
|
|
|
|
require (
|
|
github.com/bahlo/generic-list-go v0.2.0 // indirect
|
|
github.com/buger/jsonparser v1.1.1 // indirect
|
|
github.com/bytedance/gopkg v0.1.3 // indirect
|
|
github.com/bytedance/sonic v1.15.0 // indirect
|
|
github.com/bytedance/sonic/loader v0.5.0 // indirect
|
|
github.com/cloudwego/base64x v0.1.6 // indirect
|
|
github.com/cloudwego/eino-ext/libs/acl/openai v0.1.17 // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/eino-contrib/jsonschema v1.0.3 // indirect
|
|
github.com/evanphx/json-patch v0.5.2 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/goph/emperror v0.17.2 // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/klauspost/compress v1.18.6 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.2.11 // indirect
|
|
github.com/kr/pretty v0.3.1 // indirect
|
|
github.com/mailru/easyjson v0.7.7 // indirect
|
|
github.com/mattn/go-colorable v0.1.14 // indirect
|
|
github.com/meguminnnnnnnnn/go-openai v0.1.2 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/nats-io/nats.go v1.37.0 // indirect
|
|
github.com/nats-io/nkeys v0.4.7 // indirect
|
|
github.com/nats-io/nuid v1.0.1 // indirect
|
|
github.com/nikolalohinski/gonja v1.5.3 // indirect
|
|
github.com/pelletier/go-toml/v2 v2.3.1 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/rogpeppe/go-internal v1.14.1 // indirect
|
|
github.com/sirupsen/logrus v1.9.4 // indirect
|
|
github.com/slongfield/pyfmt v0.0.0-20220222012616-ea85ff4c361f // indirect
|
|
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
|
|
github.com/wk8/go-ordered-map/v2 v2.1.8 // indirect
|
|
github.com/yargevad/filepathx v1.0.0 // indirect
|
|
golang.org/x/arch v0.11.0 // indirect
|
|
golang.org/x/crypto v0.53.0 // indirect
|
|
golang.org/x/exp v0.0.0-20230713183714-613f0c0eb8a1 // indirect
|
|
golang.org/x/sys v0.46.0 // indirect
|
|
golang.org/x/text v0.38.0 // indirect
|
|
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|
|
|
|
replace github.com/sundynix/sundynix-shared => ../sundynix-shared
|