Skip to content

Commit

Permalink
v0.98.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrammel committed Dec 16, 2023
1 parent 26966ec commit 45e4a54
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## v0.98.0 - 2023-12-16

### Changed

- **breaking change**: `responseType` option was changed into `fullResponse` option and now uses a boolean value to make discovery easy. The response values from the full response have been renamed for clarity. For base64 image generation, you can use the `imageBase64` value from the full response:

```ts
const { imageBase64 } = await generateImage(model, prompt, {
fullResponse: true,
});
```

### Improved

- Better docs for the OpenAI chat settings. Thanks [@bearjaws](https://github.com/bearjaws) for the contribution!

### Fixed

- Streaming OpenAI chat text generation when setting `n:2` or higher now returns only the stream from the first choice.

## v0.97.0 - 2023-12-14

### Added
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "modelfusion",
"description": "The TypeScript library for building multi-modal AI applications.",
"version": "0.97.0",
"version": "0.98.0",
"author": "Lars Grammel",
"license": "MIT",
"keywords": [
Expand Down

1 comment on commit 45e4a54

@vercel
Copy link

@vercel vercel bot commented on 45e4a54 Dec 16, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.