approvers / ichiyoAI

ChatGPT / Gemini / DALL-E が利用できる Discord Bot
http://ichiyoai.approvers.dev/
MIT License
6 stars 2 forks source link

chore(deps): update rust crate async-openai to 0.15.0 #138

Closed renovate[bot] closed 8 months ago

renovate[bot] commented 8 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
async-openai dependencies minor 0.14.3 -> 0.15.0

Release Notes

64bit/async-openai (async-openai) ### [`v0.15.0`](https://togithub.com/64bit/async-openai/releases/tag/async-openai-v0.15.0): v0.15.0 [Compare Source](https://togithub.com/64bit/async-openai/compare/async-openai-v0.14.3...async-openai-v0.15.0) #### New - **added** : Use `secrecy` crate to store `api_key : Secret` in configs [#​114](https://togithub.com/64bit/async-openai/issues/114) by [@​ironman5366](https://togithub.com/ironman5366) - **added**: Derive `Copy` for enums: `ImageSize`, `ResponseFormat`, `TextModerationModel`, `Role`, and `AudioResponseFormat` [#​117](https://togithub.com/64bit/async-openai/issues/117) by [@​m1guelpf](https://togithub.com/m1guelpf) - **added**: Expose config getter in `Client` [#​123](https://togithub.com/64bit/async-openai/issues/123) by [@​Czechh](https://togithub.com/Czechh) - **updated**: Enum type for `finish_reason` to match latest spec for chat completions API [#​111](https://togithub.com/64bit/async-openai/issues/111) by [@​retrage](https://togithub.com/retrage) - **updated**: `ChatCompletionFunctionCall` enum for better DX [#​118](https://togithub.com/64bit/async-openai/issues/118) by [@​m1guelpf](https://togithub.com/m1guelpf) ##### Updates from latest upstream spec 2.0.0 **Chat & Completion:** - use enums `FinishReason` & `CompletionFinishReason` for `finish_reason` instead of `String` - Rename struct `Usage` to `CompletionUsage` **Embeddings:** - Add field `encoding_format` in `CreateEmbeddingRequest` **Files:** - Update `status_detail` field type in `OpenAIFile` from object to `String` **Images:** - Rename `ImageData` to `Image` to match spec - Rename `ImageResponse` to `ImagesResponse` to match spec **Moderations:** - Add new fields in moderation request and response types. **Fine Tuning** - Add new Fine Tuning APIs **Fine Tunes & Edit** - Mark `Edit` and `FineTunes` to be deprecated **Doc comments** - Update doc comments to match latest spec #### Thank you Thank you to the contributors ([@​m1guelpf](https://togithub.com/m1guelpf) , [@​Czechh](https://togithub.com/Czechh) ) and first time ([@​ironman5366](https://togithub.com/ironman5366) , [@​retrage](https://togithub.com/retrage) ) contributors! 🎉

Configuration

📅 Schedule: Branch creation - "on the first day of the week" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.