-
Notifications
You must be signed in to change notification settings - Fork 0
add a wiping skill #8
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
base: main
Are you sure you want to change the base?
Conversation
NishanthJKumar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great progress - this is looking quite good! left some minor comments. after check passes and comments are addressed, we can merge
| @@ -0,0 +1,157 @@ | |||
| """Interface for spot sweeping skill.""" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: change to "wiping skill."
| @@ -0,0 +1,696 @@ | |||
| import argparse | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we combine this with the previous file? two separate files seems a bit messy/redundant
| assert "OPENAI_API_KEY" in os.environ | ||
| key = os.environ["OPENAI_API_KEY"] | ||
|
|
||
| # @retry(wait=wait_random_exponential(min=1, max=60), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if this is unnec, let's delete
| self.call_openai_api(messages, model=self.model_name, max_tokens=self._max_tokens, temperature=temperature) | ||
| for _ in range(num_completions) | ||
| ] | ||
| # while any("sorry" in response.lower() for response in responses): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's delete this as well if unnec
No description provided.