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
+2 -1
View File
@@ -1,4 +1,4 @@
use crate::agents::{Agent, AgentConfig};
use crate::agents::{Agent, AgentConfig, GoosePlatform};
use crate::config::paths::Paths;
use crate::config::permission::PermissionManager;
use crate::config::{Config, GooseMode};
@@ -92,6 +92,7 @@ impl AgentManager {
Config::global()
.get_goose_disable_session_naming()
.unwrap_or(false),
GoosePlatform::GooseDesktop,
);
let agent = Arc::new(Agent::with_config(config));
if let Some(provider) = &*self.default_provider.read().await {