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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user