Skip to content

Commit

Permalink
openai: fix content type
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaferraro committed Apr 23, 2021
1 parent 9bb4a13 commit 23d2f2a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions openai-completion-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,6 @@ spec:
steps:
- transform:
jsonpath: "$.choices[0].text"
- set-header:
name: "Content-Type"
constant: "text/plain"

0 comments on commit 23d2f2a

Please sign in to comment.