ading2210 / vercel-llm-api

A reverse engineered Python API wrapper for the Vercel AI Playground, which provides free access to many large language models without needing an account.
https://pypi.org/project/vercel-llm-api
GNU General Public License v3.0
159 stars 13 forks source link

fix: stream chat #6

Closed sachnun closed 1 year ago

sachnun commented 1 year ago

it is better to use yield on iter than return

ading2210 commented 1 year ago

I really don't see the point of this, considering client.stream_request always returns a generator.