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

bugfix: jumps over deleted messages in history when calling api #350

Merged
merged 4 commits into from
Oct 20, 2023

Conversation

zhujunsan
Copy link
Contributor

fix #349

@vercel
Copy link

vercel bot commented Oct 19, 2023

Someone is attempting to deploy a commit to a Personal Account owned by @Kerwin1202 on Vercel.

@Kerwin1202 first needs to authorize it.

(cherry picked from commit f5ff675)
@zhujunsan zhujunsan changed the title Jumps over deleted messages in history when calling api bugfix: umps over deleted messages in history when calling api Oct 19, 2023
@zhujunsan zhujunsan changed the title bugfix: umps over deleted messages in history when calling api bugfix: jumps over deleted messages in history when calling api Oct 19, 2023
@@ -6,6 +6,7 @@ import { SocksProxyAgent } from 'socks-proxy-agent'
import httpsProxyAgent from 'https-proxy-agent'
import fetch from 'node-fetch'
import type { AuditConfig, CHATMODEL, KeyConfig, UserInfo } from 'src/storage/model'
import { Status } from "src/storage/model";
Copy link
Member

Choose a reason for hiding this comment

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


import { Status } from '../storage/model'

麻烦改为这样呢,一个是都单引号,统一一下,否则校验感觉过不去, 另一个 我跑你这样会报错,../ 就不会
image
image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

哦好。ide自动加的我也就没管了

@Kerwin1202 Kerwin1202 merged commit 42be798 into chatgpt-web-dev:main Oct 20, 2023
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.

上下文的发送是不是有严重的BUG? (删除的内容也发送)
2 participants