Skip to content

Commit

Permalink
Show workspace during startup / fix for Significant-Gravitas#2793 (Si…
Browse files Browse the repository at this point in the history
  • Loading branch information
2 people authored and ppetermann committed May 22, 2023
1 parent 98f0b50 commit debb26b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions autogpt/prompts/prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ def construct_main_ai_config() -> AIConfig:
config = prompt_user()
config.save(CFG.ai_settings_file)

if CFG.restrict_to_workspace:
logger.typewriter_log(
"NOTE:All files/directories created by this agent can be found inside its workspace at:",
Fore.YELLOW,
f"{CFG.workspace_path}",
)
# set the total api budget
api_manager = ApiManager()
api_manager.set_total_budget(config.api_budget)
Expand Down

0 comments on commit debb26b

Please sign in to comment.