feat(agent): 云端创作助手 - 增加创作锚点、媒体准入与结构化分镜能力

This commit is contained in:
ddCat committed 2026-09-15 13:37:21 +08:00
1 parent 40aca20f4d
commit be9b22a697
22 files changed
+1686 -60

No files matched your search

@@ -39,6 +39,14 @@ func TestCloudAgentContextCompactionPreservesToolPairsAndWrites(t *testing.T) {
}
}
func TestCloudAgentCanonicalUsesAutomaticToolChoice(t *testing.T) {
req := agentTestRequest()
request := cloudAgentCanonical("system", nil, "读取画布", req)
if request.ToolChoice != "auto" {
t.Fatalf("cloud agent tool choice = %#v", request.ToolChoice)
}
}
func TestCloudAgentUnlimitedBudgetKeepsGenerationTools(t *testing.T) {
for _, limit := range []int{0, 25} {
req := agentTestRequest()