We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
could you show us how to iteratively get a complete code snippet. I've tried many times but only got a first line.
The text was updated successfully, but these errors were encountered:
Do we require Copilot subscription to get replies when we sent prompt
Sorry, something went wrong.
yes
You can iterate like this:
def copilot_iter(prompt, language='python'): original = prompt while True: result = copilot(prompt, language) if result == '\n\n': break prompt += result return prompt[len(original) + 1:].replace('\n\n', '\n') + '\n'
Just add that function to the original app.py and then call it instead of calling copilot() on line 154:
app.py
copilot()
copilot-api/api.py
Line 154 in 27e3647
No branches or pull requests
could you show us how to iteratively get a complete code snippet. I've tried many times but only got a first line.
The text was updated successfully, but these errors were encountered: