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

fix: set common UI env vars regardless of whether a file is passed #635

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

thedadams
Copy link
Contributor

No description provided.

Copy link
Member

@njhale njhale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tried this out. lgtm!

Comment on lines -376 to -378
if len(args) > 2 {
args = append(args, args[2:]...)
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this piece no longer needed? Just want to make sure its removal is not accidental.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did intend to remove it. The original intention of this code was to remove the file from the args and keep the remaining args. I have added logic to this PR for the same purpose.

@thedadams thedadams merged commit 5885bf0 into gptscript-ai:main Jul 15, 2024
10 checks passed
@thedadams thedadams deleted the set-ui-env-vars branch July 15, 2024 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants