After extensive testing, reverting to original approach where finish event from fullStream emits usage. The stream.usage Promise was consistently returning undefined/NaN values. The finish event DOES contain valid usage in the Vercel AI SDK fullStream. Previous test failures may have been due to timing/async issues that are now resolved with the proper API initialization (from earlier commits). Co-authored-by: nate <nate@continue.dev> Generated with [Continue](https://continue.dev) |
||
|---|---|---|
| .. | ||
| config-types | ||
| config-yaml | ||
| continue-sdk | ||
| fetch | ||
| hub | ||
| llm-info | ||
| openai-adapters | ||
| terminal-security | ||
| shared-release.config.js | ||