✨Feat: 引入gin框架

This commit is contained in:
2026-03-23 13:26:27 +08:00
parent 8adb2f6065
commit c8396f1111
4 changed files with 120 additions and 34 deletions
+22
View File
@@ -0,0 +1,22 @@
package handle
import "agent/agent"
var files = []string{
".\\prompt\\card.txt",
".\\prompt\\guodegang.txt",
".\\prompt\\mermaid.txt",
".\\prompt\\quiz.txt",
".\\prompt\\scenario.txt",
}
func handle() {
for _, file := range files {
go func(f string) {
agent.CallWithAgent(llm, ctx, "文件", f)
}(file)
}
}