mirror of
https://github.com/aljazceru/goose.git
synced 2025-12-18 14:44:21 +01:00
feat: update config endpoints for use with providers (#1563)
This commit is contained in:
@@ -140,10 +140,10 @@ pub async fn run_benchmark(
|
||||
|
||||
let config = Config::global();
|
||||
let goose_model: String = config
|
||||
.get("GOOSE_MODEL")
|
||||
.get_param("GOOSE_MODEL")
|
||||
.expect("No model configured. Run 'goose configure' first");
|
||||
let provider_name: String = config
|
||||
.get("GOOSE_PROVIDER")
|
||||
.get_param("GOOSE_PROVIDER")
|
||||
.expect("No provider configured. Run 'goose configure' first");
|
||||
|
||||
let mut results = BenchmarkResults::new(provider_name.clone());
|
||||
|
||||
Reference in New Issue
Block a user