feat(platform): Agent 与媒体能力 - 完善角色卡、音频协议与任务恢复链路

This commit is contained in:
ddcat666 committed 2026-10-01 09:42:51 +08:00
1 parent a8f83fedd5
commit 5650da6d31
91 files changed
+3438 -380

No files matched your search

+4
View File
@@ -13,6 +13,10 @@ type Adapter interface {
BuildCancel(context.Context, PollContext) (RequestSpec, error)
}
type RequestAwareCreateParser interface {
ParseCreateWithRequest(context.Context, GenerationRequest, []byte) (CreateResult, error)
}
// AgentAdapter is the optional protocol surface for tool-capable text calls.
// The host still owns credentials, outbound policy and billing; a plugin only
// maps the platform's agent request into the provider payload and parses the