feat: 在测试中添加默认的 TaskConfig,增强测试用例的配置完整性
This commit is contained in:
parent
a43023fce2
commit
e62424d130
@ -950,6 +950,7 @@ mod tests {
|
||||
HashMap::from([("default".to_string(), provider_config)]),
|
||||
Arc::new(SkillRuntime::default()),
|
||||
HashSet::new(),
|
||||
crate::config::TaskConfig::default(),
|
||||
Some(4),
|
||||
Some(24),
|
||||
)
|
||||
@ -1001,6 +1002,7 @@ mod tests {
|
||||
]),
|
||||
Arc::new(SkillRuntime::default()),
|
||||
HashSet::new(),
|
||||
crate::config::TaskConfig::default(),
|
||||
Some(4),
|
||||
Some(24),
|
||||
)
|
||||
@ -1068,6 +1070,7 @@ mod tests {
|
||||
HashMap::from([("default".to_string(), provider_config)]),
|
||||
Arc::new(SkillRuntime::default()),
|
||||
HashSet::new(),
|
||||
crate::config::TaskConfig::default(),
|
||||
Some(4),
|
||||
Some(24),
|
||||
)
|
||||
@ -1152,6 +1155,7 @@ mod tests {
|
||||
HashMap::from([("default".to_string(), provider_config)]),
|
||||
Arc::new(SkillRuntime::default()),
|
||||
HashSet::new(),
|
||||
crate::config::TaskConfig::default(),
|
||||
Some(4),
|
||||
Some(24),
|
||||
)
|
||||
@ -1237,6 +1241,7 @@ mod tests {
|
||||
HashMap::from([("default".to_string(), provider_config)]),
|
||||
Arc::new(SkillRuntime::default()),
|
||||
HashSet::new(),
|
||||
crate::config::TaskConfig::default(),
|
||||
Some(4),
|
||||
Some(24),
|
||||
)
|
||||
@ -1321,6 +1326,7 @@ mod tests {
|
||||
HashMap::from([("default".to_string(), provider_config)]),
|
||||
Arc::new(SkillRuntime::default()),
|
||||
HashSet::new(),
|
||||
crate::config::TaskConfig::default(),
|
||||
Some(4),
|
||||
Some(24),
|
||||
)
|
||||
@ -1387,6 +1393,7 @@ mod tests {
|
||||
HashMap::from([("default".to_string(), provider_config)]),
|
||||
Arc::new(SkillRuntime::default()),
|
||||
HashSet::new(),
|
||||
crate::config::TaskConfig::default(),
|
||||
Some(4),
|
||||
Some(24),
|
||||
)
|
||||
@ -1462,6 +1469,7 @@ mod tests {
|
||||
HashMap::from([("default".to_string(), provider_config)]),
|
||||
Arc::new(SkillRuntime::default()),
|
||||
HashSet::new(),
|
||||
crate::config::TaskConfig::default(),
|
||||
Some(4),
|
||||
Some(24),
|
||||
)
|
||||
@ -1524,6 +1532,7 @@ mod tests {
|
||||
HashMap::from([("default".to_string(), provider_config)]),
|
||||
Arc::new(SkillRuntime::default()),
|
||||
HashSet::new(),
|
||||
crate::config::TaskConfig::default(),
|
||||
Some(4),
|
||||
Some(24),
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user