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

get crash with model You #1

Closed
huankong233 opened this issue May 6, 2023 · 4 comments
Closed

get crash with model You #1

huankong233 opened this issue May 6, 2023 · 4 comments

Comments

@huankong233
Copy link

the error log here

the strange message is from here,I added into it myself

image

> [email protected] start
> ts-node index.ts
Now listening: 127.0.0.1:3000
�
d
�
d
/usr/src/app/utils/index.ts:27
export function md5(str: string): string {
�
           ^
SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at /usr/src/app/model/you/index.ts:138:36
    at /usr/src/app/utils/index.ts:16:13
    at Generator.next (<anonymous>)
    at /usr/src/app/utils/index.ts:31:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/src/app/utils/index.ts:27:12)
    at /usr/src/app/utils/index.ts:48:16
    at wrappedMapper (/usr/src/app/node_modules/map-stream/index.js:83:19)
    at Stream.stream.write (/usr/src/app/node_modules/map-stream/index.js:95:21)
@xiangsx
Copy link
Owner

xiangsx commented May 6, 2023

It looks like you.com has adopted some kind of strategy to avoid reverse.

@xiangsx
Copy link
Owner

xiangsx commented May 6, 2023

xtekky/gpt4free#479 (comment)

because of this

@huankong233
Copy link
Author

thanks

@xiangsx
Copy link
Owner

xiangsx commented May 6, 2023

the error log here

the strange message is from here,I added into it myself

image

> [email protected] start
> ts-node index.ts
Now listening: 127.0.0.1:3000
�
d
�
d
/usr/src/app/utils/index.ts:27
export function md5(str: string): string {
�
           ^
SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at /usr/src/app/model/you/index.ts:138:36
    at /usr/src/app/utils/index.ts:16:13
    at Generator.next (<anonymous>)
    at /usr/src/app/utils/index.ts:31:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/src/app/utils/index.ts:27:12)
    at /usr/src/app/utils/index.ts:48:16
    at wrappedMapper (/usr/src/app/node_modules/map-stream/index.js:83:19)
    at Stream.stream.write (/usr/src/app/node_modules/map-stream/index.js:95:21)

you can try forefront now, It work

But model for you.com still not work

@xiangsx xiangsx closed this as completed May 8, 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

No branches or pull requests

2 participants