Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filepath fixes and docs updates to specify when relative paths are expected #5042

Merged
merged 7 commits into from
Jul 24, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove comments
  • Loading branch information
Pwuts committed Jul 24, 2023
commit 5dc12456328c73a87e76a3069b73508b19f00d77
5 changes: 1 addition & 4 deletions autogpt/app/configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ def create_config(
config.skip_reprompt = True

if ai_settings_file:
# TODO, BUG?: ai_settings_file is passed in via the CLI. If it is an absolute path, it'll break config.ai_settings_file
file = ai_settings_file

# Validate file
Expand All @@ -128,9 +127,7 @@ def create_config(
exit(1)

logger.typewriter_log("Using AI Settings File:", Fore.GREEN, file)
config.ai_settings_file = (
file # TODO, BUG?: Potential bug here if file is an absolute path
)
config.ai_settings_file = file
config.skip_reprompt = True

if prompt_settings_file:
Expand Down