npm / cohere-ai
cohere-ai
What changed in cohere-ai 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.
1 breaking2 new APIs and options2 behavior and defaults1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initcohere-ai 86 changes
Breaking changes 1
SSE events are emitted at the delimiter, changing when streamed events become available to developers.
New APIs and options 2
Rerank models support the new relevant_spans parameter.
Support was added for the new /parse endpoint.
Behavior and default changes 2
AWS responses are streamed incrementally rather than waiting for the full response.
AWS dependencies are now optional peer dependencies, so developers can use the package without installing them unless needed.
Fixes and other changes 1
The Authorization header is omitted when the token is empty.