Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

fix(openai): fix the message order in the chat completion request #36

Merged
merged 1 commit into from
Nov 5, 2023

Conversation

xiaofei-du
Copy link
Member

Because

This commit

  • fix the message order for OpenAI chat completion request

@xiaofei-du xiaofei-du removed the request for review from donch1989 November 4, 2023 18:24
@xiaofei-du xiaofei-du requested a review from donch1989 November 4, 2023 18:25
Copy link

codecov bot commented Nov 4, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e2ff255) 23.60% compared to head (78e1ade) 23.60%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #36   +/-   ##
=======================================
  Coverage   23.60%   23.60%           
=======================================
  Files           4        4           
  Lines         250      250           
=======================================
  Hits           59       59           
  Misses        176      176           
  Partials       15       15           
Flag Coverage Δ
unittests 23.60% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@donch1989 donch1989 left a comment

Choose a reason for hiding this comment

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

LGTM

@donch1989 donch1989 merged commit 7ef3177 into main Nov 5, 2023
9 checks passed
@donch1989 donch1989 deleted the xiaofei/fix-openai branch November 5, 2023 09:43
donch1989 pushed a commit that referenced this pull request Nov 11, 2023
🤖 I have created a release *beep* *boop*
---


##
[0.6.0-alpha](v0.5.0-alpha...v0.6.0-alpha)
(2023-11-11)


### Features

* **ai-openai:** support OpenAI gpt-4-turbo and dall-e-3
([#43](#43))
([38c451e](38c451e))
* **google-search:** support google search connector
([#41](#41))
([950510e](950510e))


### Bug Fixes

* **google-search:** fix google search nil pointer
([#48](#48))
([d681159](d681159))
* **openai:** fix the message order in the chat completion request
([#36](#36))
([7ef3177](7ef3177))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants