package remote_http import ( "context" "fmt" "testing" ) func TestOpenRouter(t *testing.T) { res, err := AiOpenRouter.Completions(context.Background(), "你好", "test") fmt.Println(res, err) } func TestOllamaRouter(t *testing.T) { res, err := AiOllama.Completions(context.Background(), "红烧肉怎么做", "test") fmt.Println(res, err) }