mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-04 23:16:57 +08:00
feat: load .env file from current working directory upward recursively
This commit is contained in:
+2
-1
@@ -13,6 +13,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/cloudwego/eino-ext/components/model/openai"
|
||||
"github.com/cloudwego/eino/components/model"
|
||||
"github.com/cloudwego/eino/schema"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/rs/zerolog/log"
|
||||
@@ -44,7 +45,7 @@ func NewPlanner(ctx context.Context) (*Planner, error) {
|
||||
|
||||
type Planner struct {
|
||||
ctx context.Context
|
||||
model *openai.ChatModel
|
||||
model model.ChatModel
|
||||
parser *ActionParser
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user