mirror of
https://github.com/openai/codex.git
synced 2026-05-02 04:11:39 +03:00
Add FS abstraction and use in view_image (#14960)
Adds an environment crate and environment + file system abstraction. Environment is a combination of attributes and services specific to environment the agent is connected to: File system, process management, OS, default shell. The goal is to move most of agent logic that assumes environment to work through the environment abstraction.
This commit is contained in:
@@ -253,7 +253,7 @@ impl MessageProcessor {
|
||||
analytics_events_client,
|
||||
);
|
||||
let external_agent_config_api = ExternalAgentConfigApi::new(config.codex_home.clone());
|
||||
let fs_api = FsApi;
|
||||
let fs_api = FsApi::default();
|
||||
|
||||
Self {
|
||||
outgoing,
|
||||
|
||||
Reference in New Issue
Block a user