mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 23:51:25 +08:00
feat: set LLMService/CVService for case runner
This commit is contained in:
@@ -62,6 +62,7 @@ func WithLLMService(service LLMServiceType) AIServiceOption {
|
||||
return func(opts *AIServices) {
|
||||
switch service {
|
||||
case LLMServiceTypeGPT4o:
|
||||
// TODO: implement gpt-4o planner and asserter
|
||||
planner, err := NewPlanner(context.Background())
|
||||
if err != nil {
|
||||
log.Error().Err(err).Msg("init gpt-4o planner failed")
|
||||
|
||||
Reference in New Issue
Block a user