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

[CI] Fix test LLM client #1841

Merged
merged 1 commit into from
Apr 30, 2024
Merged

[CI] Fix test LLM client #1841

merged 1 commit into from
Apr 30, 2024

Conversation

zachgk
Copy link
Contributor

@zachgk zachgk commented Apr 29, 2024

Description

Brief description of what this PR is about

  • If this change is a backward incompatible change, why must this change be made?
  • Interesting edge cases to note here

@zachgk zachgk requested review from frankfliu and a team as code owners April 29, 2024 23:26
@@ -1165,4 +1165,4 @@ def run(raw_args):


if __name__ == "__main__":
run(sys.argv)
run(sys.argv[1:])
Copy link
Contributor

Choose a reason for hiding this comment

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

does this work with

parser.parse_args(args=raw_args)

?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That is what it is fixing. The sys.argv includes the executable client.py which is being removed here. Passing it to parse_args will have it treat the client.py as the first argument

@zachgk zachgk merged commit c38c200 into deepjavalibrary:master Apr 30, 2024
8 checks passed
@zachgk zachgk deleted the fixClient branch April 30, 2024 00:15
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