Add files via upload

This commit is contained in:
公明
2026-06-25 15:15:01 +08:00
committed by GitHub
parent a443454753
commit 9b75c43f7b
2 changed files with 21 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package multiagent
import (
"fmt"
"github.com/cloudwego/eino/adk"
)
// InitADK configures global Eino ADK settings. Call once at process startup before
// any ADK middleware or agents are created.
func InitADK() error {
if err := adk.SetLanguage(adk.LanguageChinese); err != nil {
return fmt.Errorf("adk set language: %w", err)
}
return nil
}