Files
langchain-go/handle/handle.go
T
2026-03-23 13:26:27 +08:00

23 lines
327 B
Go

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)
}
}