23 lines
327 B
Go
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)
|
|
}
|
|
|
|
}
|