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(streaming): make baseurl configuration and add stream output #112

Merged
merged 5 commits into from
Jun 15, 2023

Conversation

pc-dong
Copy link
Contributor

@pc-dong pc-dong commented May 23, 2023

No description provided.

@briansunter
Copy link
Owner

Just tested it and the streaming seems to work. Looks really good and would be great to have the streaming!

Some comments:

  • Fix merge conflicts from last merge
  • Use baseurl config from earlier merged PR
  • Remove style changes
  • Fix tests or remove
  • Remove commented out code and console logs

Thanks for this contribution!

pc-dong added 2 commits June 1, 2023 09:27
# Conflicts:
#	src/lib/openai.ts
#	src/main.tsx
@pc-dong
Copy link
Contributor Author

pc-dong commented Jun 1, 2023

Fixed merge conflicts AND Remove tests

@briansunter
Copy link
Owner

Looks great and works really well. Really appreciate this contribution!

@briansunter briansunter changed the title make baseurl configuration and add stream output feat(streaming): make baseurl configuration and add stream output Jun 15, 2023
@briansunter briansunter merged commit 2f1182c into briansunter:master Jun 15, 2023
github-actions bot pushed a commit that referenced this pull request Jun 15, 2023
# [1.13.0](v1.12.0...v1.13.0) (2023-06-15)

### Features

* **streaming:** make baseurl configuration and add stream output ([#112](#112)) ([2f1182c](2f1182c))
@mrdavidlaing
Copy link

@pc-dong Your streaming contribution puts a huge smile on my face every time I hit <cmd>-j and the answer come streaming in.

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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants