mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-03 14:59:38 +08:00
feat: implement multi-model service configuration support
- Support configuring multiple LLM services simultaneously - Auto-derive model names from service types to simplify configuration - Maintain backward compatibility with existing configurations - Refactor configuration logic into dedicated env module - Add comprehensive unit test coverage - Update documentation with new configuration approach
This commit is contained in:
@@ -261,9 +261,9 @@ func findCachedDriver(platform string) *XTDriver {
|
||||
cached.RefCount++
|
||||
|
||||
if platform != "" {
|
||||
log.Info().Str("platform", platform).Str("serial", serial).Msg("Using cached XTDriver by platform")
|
||||
log.Debug().Str("platform", platform).Str("serial", serial).Msg("Using cached XTDriver by platform")
|
||||
} else {
|
||||
log.Info().Str("serial", serial).Msg("Using any available cached XTDriver")
|
||||
log.Debug().Str("serial", serial).Msg("Using any available cached XTDriver")
|
||||
}
|
||||
return false // stop iteration
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user