10000 README.md code snippet broke with multiple results support · Issue #59 · ibm-granite/granite-io · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

README.md code snippet broke with multiple results support #59

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

Closed
2 tasks done
markstur opened this issue Mar 12, 2025 · 1 comment
Closed
2 tasks done

README.md code snippet broke with multiple results support #59

markstur opened this issue Mar 12, 2025 · 1 comment
Assignees

Comments

@markstur
Copy link
Collaborator
markstur commented Mar 12, 2025

PR #37 changed the results to allow multiple completions, but the example in the README.md was not updated.

Error looks like this:
AttributeError: 'ChatCompletionResults' object has no attribute 'next_message'

  • Add ci to test the snippet
  • Fix the snippet
@markstur markstur self-assigned this Mar 12, 2025
@hickeyma
Copy link
Collaborator

Fixed by #58

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

No branches or pull requests

2 participants
0