Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: bump openapi to 4.x and add dall-e-3 support #142

Merged
merged 3 commits into from
Oct 9, 2024

Conversation

damionjunk
Copy link
Contributor

My goal was to enable using dall-e-3 instead of dall-e-2, which required several updates:

  • Updated the openapi package to the latest in the 4.x series from the 3.x series: ^4.6.1
  • Added configuration options to the plugin setup to support dall-e-3 features:
image

Opening as draft for discussion.

This migration guide was followed: openai/openai-node#217

image

@briansunter briansunter marked this pull request as ready for review October 9, 2024 05:16
@briansunter briansunter changed the title bump openapi to 4.x and add dall-e-3 support feat: bump openapi to 4.x and add dall-e-3 support Oct 9, 2024
@briansunter
Copy link
Owner

Looks good 👍 . I really appreciate the sdk upgrade, and I tested the new dalle and existing features, so going to sent it out. Thank you!

@briansunter briansunter self-requested a review October 9, 2024 05:18
@briansunter briansunter merged commit 6085dca into briansunter:master Oct 9, 2024
github-actions bot pushed a commit that referenced this pull request Oct 9, 2024
# [1.14.0](v1.13.3...v1.14.0) (2024-10-09)

### Bug Fixes

* update lockfile ([1067ca4](1067ca4))

### Features

* bump openapi to 4.x and add dall-e-3 support ([#142](#142)) ([6085dca](6085dca))
@briansunter
Copy link
Owner

🎉 This PR is included in version 1.14.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

github-actions bot pushed a commit to fishpigbird/logseq-plugin-openai-api that referenced this pull request Nov 7, 2024
# 1.0.0 (2024-11-07)

### Bug Fixes

* API url - add https ([briansunter#139](https://github.com/fishpigbird/logseq-plugin-openai-api/issues/139)) ([27ee535](27ee535))
* **build:** fix out of date pnpm lockfile ([briansunter#71](https://github.com/fishpigbird/logseq-plugin-openai-api/issues/71)) ([de869aa](de869aa))
* **console-log:** remove extra console.log ([a631fc4](a631fc4))
* default image size format ([af7163f](af7163f))
* **error-type:** Look at error type for quota ([cbd2fbd](cbd2fbd))
* **error-type:** Look at error type for quota ([a99b7da](a99b7da))
* migrate old url if in settings ([1d8bd59](1d8bd59))
* **options:** whisper use custom configuration ([briansunter#127](https://github.com/fishpigbird/logseq-plugin-openai-api/issues/127)) ([162a4a8](162a4a8))
* pnpm setup ([d3ac057](d3ac057))
* **pnpm:** fix pnpm lock ([briansunter#85](https://github.com/fishpigbird/logseq-plugin-openai-api/issues/85)) ([ef25934](ef25934))
* **prod-image-path:** image path is different in prod ([2cc757d](2cc757d))
* **settings:** Fix update settings bug ([c6bd72f](c6bd72f))
* **token:** fix gh deploy token ([briansunter#114](https://github.com/fishpigbird/logseq-plugin-openai-api/issues/114)) ([b3f7378](b3f7378))
* update lockfile ([1067ca4](1067ca4))

### Features

* bump openapi to 4.x and add dall-e-3 support ([briansunter#142](https://github.com/fishpigbird/logseq-plugin-openai-api/issues/142)) ([6085dca](6085dca))
* **dalle:** Add support for OpenAI DALL-E ([briansunter#49](https://github.com/fishpigbird/logseq-plugin-openai-api/issues/49)) ([c9a8adb](c9a8adb))
* **engine:** support gpt-4 ([briansunter#95](https://github.com/fishpigbird/logseq-plugin-openai-api/issues/95)) ([49d2e36](49d2e36))
* **error-handling:** Improve error handling and messaging ([2f33d09](2f33d09))
* **gpt-page:** Add gpt-page command to send entire page to gpt3  ([briansunter#46](https://github.com/fishpigbird/logseq-plugin-openai-api/issues/46)) ([3a84fe0](3a84fe0))
* initial commit # => v1.0.0 on [@latest](https://github.com/latest) ([633ed73](633ed73))
* **inject-prefix:** Allows you to add a prefix before generated output ([briansunter#62](https://github.com/fishpigbird/logseq-plugin-openai-api/issues/62)) ([e62bdf7](e62bdf7))
* **model:** Add ChatGPT API Support ([briansunter#84](https://github.com/fishpigbird/logseq-plugin-openai-api/issues/84)) ([bff969a](bff969a))
* **multi-select:** add multi select feature ([briansunter#92](https://github.com/fishpigbird/logseq-plugin-openai-api/issues/92)) ([51101dd](51101dd))
* **settings:** make openai /v1/chat/completion endpoint(basepath) configurable. ([briansunter#110](https://github.com/fishpigbird/logseq-plugin-openai-api/issues/110)) ([b284838](b284838))
* **shortcut:** add keyboard shortcut for gpt-block ([briansunter#67](https://github.com/fishpigbird/logseq-plugin-openai-api/issues/67)) ([4a6a03b](4a6a03b))
* **streaming:** make baseurl configuration and add stream output ([briansunter#112](https://github.com/fishpigbird/logseq-plugin-openai-api/issues/112)) ([2f1182c](2f1182c))
* **templates:** Allow user to set the temperature for each prompt ([briansunter#111](https://github.com/fishpigbird/logseq-plugin-openai-api/issues/111)) ([8c05660](8c05660))
* **text-davinci-003:** Make davinci 3 the default ([dd72a75](dd72a75))
* **whisper:** Whisper speech to text ([briansunter#100](https://github.com/fishpigbird/logseq-plugin-openai-api/issues/100)) ([563b3b4](563b3b4))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants