mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-08-15 15:40:38 +02:00
Add files via upload
This commit is contained in:
@@ -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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user