Skip to content

Commit

Permalink
fix(ai): (cohere) support new application/stream+json default stream …
Browse files Browse the repository at this point in the history
…content type

Co-authored-by: Jack Tysoe <[email protected]>
  • Loading branch information
2 people authored and fffonion committed Jan 17, 2025
1 parent 4b57b91 commit 443c075
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kong/llm/drivers/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ _M._SUPPORTED_STREAMING_CONTENT_TYPES = {
["text/event-stream"] = true,
["application/vnd.amazon.eventstream"] = true,
["application/json"] = true,
["application/stream+json"] = true,
}

_M.streaming_has_token_counts = {
Expand Down

1 comment on commit 443c075

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong-dev:443c075bd07046c91a1a681cd54661bfa365ea2b
Artifacts available https://github.com/Kong/kong/actions/runs/12826386143

Please sign in to comment.