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

perf: persistent prompts and add chat record #540

Merged
merged 47 commits into from
May 30, 2024
Merged

Conversation

jamebal
Copy link
Contributor

@jamebal jamebal commented May 15, 2024

  1. Persistent cue word

  2. Add chat log interface

# Conflicts:
#	README.md
#	service/src/chatgpt/index.ts
#	service/src/index.ts
#	service/src/storage/config.ts
#	service/src/storage/mongo.ts
#	src/api/index.ts
#	src/components/common/Setting/General.vue
#	src/components/common/Setting/index.vue
#	src/store/modules/user/index.ts
#	src/utils/copy.ts
@BobDu
Copy link
Member

BobDu commented May 15, 2024

Sorry, before reviewing the logic changes, can you please merge the upstream main to the feature branch and then run lint?

In addition, please revert modifications to unrelated files such as gitignore and readme.

@jamebal
Copy link
Contributor Author

jamebal commented May 15, 2024

  1. already merge the upstream main branch.
  2. already revert modifications to unrelated files such as gitignore and readme.

@BobDu
Copy link
Member

BobDu commented May 15, 2024

Are you already run pnpm lint:fix?

@jamebal
Copy link
Contributor Author

jamebal commented May 15, 2024

Are you already run pnpm lint:fix?

yes

src/api/index.ts Outdated Show resolved Hide resolved
@BobDu
Copy link
Member

BobDu commented May 27, 2024

ping @jamebal
Some comment in code review.

Copy link
Member

@BobDu BobDu left a comment

Choose a reason for hiding this comment

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

Could you check for duplicate files that might not be used?

src/components/common/Setting/Message/Text.vue Outdated Show resolved Hide resolved
src/components/common/Setting/Message/index.vue Outdated Show resolved Hide resolved
src/components/common/Setting/Message/style.less Outdated Show resolved Hide resolved
src/components/common/Setting/Message/Avatar.vue Outdated Show resolved Hide resolved
1.remove redundant files
2.the content of the chat record uses "@/views/chat/components/Message"
Copy link
Member

@BobDu BobDu left a comment

Choose a reason for hiding this comment

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

LGTM

@BobDu BobDu merged commit c8b1bdd into chatgpt-web-dev:main May 30, 2024
2 checks passed
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.

None yet

3 participants