feat: add GoosePlatform to AgentConfig and MCP initialization (#6931)

Signed-off-by: Jazzcort <jason101011113@gmail.com>
Co-authored-by: Jack Amadeo <jackamadeo@squareup.com>
This commit is contained in:
Chih-Tao Lee
2026-02-17 08:41:50 -05:00
committed by GitHub
parent 3acb37590f
commit 5328467867
15 changed files with 195 additions and 38 deletions
@@ -6,7 +6,7 @@ use crate::scenario_tests::mock_client::weather_client;
use crate::scenario_tests::provider_configs::{get_provider_configs, ProviderConfig};
use crate::session::CliSession;
use anyhow::Result;
use goose::agents::{Agent, AgentConfig};
use goose::agents::{Agent, AgentConfig, GoosePlatform};
use goose::config::permission::PermissionManager;
use goose::config::GooseMode;
use goose::model::ModelConfig;
@@ -214,6 +214,7 @@ where
None,
GooseMode::Auto,
true,
GoosePlatform::GooseCli,
);
let agent = Agent::with_config(agent_config);
agent