mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 18:11:21 +08:00
feat: add MCP plugin support and optimize AI service configuration
- Add UIXT runner with MCP plugin support - Refactor AI service options handling - Optimize configuration parsing for LLM and CV services - Update dependencies to latest versions
This commit is contained in:
@@ -68,7 +68,7 @@ func (c *Config) ResultsPath() string {
|
||||
// Check if directory exists, create if it doesn't
|
||||
if _, err := os.Stat(c.resultsPath); os.IsNotExist(err) {
|
||||
if err := builtin.EnsureFolderExists(c.resultsPath); err != nil {
|
||||
log.Error().Err(err).Str("path", c.resultsPath).Msg("failed to create results directory")
|
||||
log.Fatal().Err(err).Str("path", c.resultsPath).Msg("failed to create results directory")
|
||||
} else {
|
||||
log.Info().Str("path", c.resultsPath).Msg("created results folder")
|
||||
}
|
||||
@@ -84,7 +84,7 @@ func (c *Config) DownloadsPath() string {
|
||||
// Check if directory exists, create if it doesn't
|
||||
if _, err := os.Stat(c.downloadsPath); os.IsNotExist(err) {
|
||||
if err := builtin.EnsureFolderExists(c.downloadsPath); err != nil {
|
||||
log.Error().Err(err).Str("path", c.downloadsPath).Msg("failed to create downloads directory")
|
||||
log.Fatal().Err(err).Str("path", c.downloadsPath).Msg("failed to create downloads directory")
|
||||
} else {
|
||||
log.Info().Str("path", c.downloadsPath).Msg("created downloads folder")
|
||||
}
|
||||
@@ -100,7 +100,7 @@ func (c *Config) ScreenShotsPath() string {
|
||||
// Check if directory exists, create if it doesn't
|
||||
if _, err := os.Stat(c.screenShotsPath); os.IsNotExist(err) {
|
||||
if err := builtin.EnsureFolderExists(c.screenShotsPath); err != nil {
|
||||
log.Error().Err(err).Str("path", c.screenShotsPath).Msg("failed to create screenshots directory")
|
||||
log.Fatal().Err(err).Str("path", c.screenShotsPath).Msg("failed to create screenshots directory")
|
||||
} else {
|
||||
log.Info().Str("path", c.screenShotsPath).Msg("created screenshots folder")
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
v5.0.0-beta-2506131201
|
||||
v5.0.0-beta-2506132024
|
||||
|
||||
Reference in New Issue
Block a user