Releases: tjardoo/openai-client
Releases · tjardoo/openai-client
v0.4.9
- validate status code before unwrap #69 resolves #66
v0.4.8
- Use serde rename_all snake_case #64 by @stintel
- Use strum EnumString on audio/image structs #65 by @stintel
- Add Batch API support #68
- Replaced
new_with_organization()
with set_organization()
on Client struct
- Add project ID header support via
set_project()
on Client struct
- Removed older (date-versioned) OpenAI models to promote use of aliases
- Added
gpt-4o
model support
- Fixed issue
InvalidRequestError
on Fine-tuning endpoints
- Added new fields to stay up-to-date with https://platform.openai.com/docs/changelog (excluding Assistants API)
v0.4.7
- Add
AudioTranscriptionFile
enum #62 by @stintel
- Add
EndTurn
option to FinishReason for Claude support #61 by @fastfists
- Add missing fields to Fine-tuning and Runs #63
- Add support for new GPT-4 models
v0.4.6
- Fix no pagination tokens when empty list of messages on create thread #59 by @perobertson
- Add derive 'serialize' to APIError struct #60 by @perobertson
- Added
pcm
audio response format
- Updated dependencies
v0.4.5
- Always rename
FinishReason
#57 by @stintel
- Fix embeddings for encoding type base64 #58
- Add
timestamp_granularities
field to AudioTranscriptionParameters struct
- Add
instance_id
field to ChatCompletionParameters struct
- Add
usage
field to Run struct
v0.4.4
- Add organization header support #52
- Drop
v1::endpoints::chat::StreamChatCompletionParameters
#53 by @stintel
- Add OpenRouter API interface compliance #55 by @skeptrunedev
v0.4.3
- Update
EmbeddingParameters
to support multiple input types + add new dimensions
field #51
- Add new GPT 3.4, GPT 4, embedding and moderation models introduced in Jan. 24
v0.4.2
- Add support for OpenRouter by making
index
field optional #50 by @densumesh
v0.4.0
- Created
ChatMessageContent
struct to support image_url
in chat endpoint #46
- Add logprobs + seed fields to
ChatCompletionParameters
#44
- Add audio/create-speech
stream
support #45
- Add GH workflow cargo fmt check #48