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

[Bug] 🐛 现在画图不能用了? #461

Open
1 task done
foxdodo opened this issue Aug 7, 2024 · 3 comments
Open
1 task done

[Bug] 🐛 现在画图不能用了? #461

foxdodo opened this issue Aug 7, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@foxdodo
Copy link

foxdodo commented Aug 7, 2024

Confirmations

  • 我确认我已经仔细阅读了 Wiki, 并且已经搜索了已有的 issue, 并没有类似问题。

Describe the bug

无法使用画图功能,反复提示登录账号

Steps to reproduce

在演示站的docker尝试用designer画图,提示登录账号,点击登录按钮返回400,尝试在设置-账号登录里登录后,再次画图还是反复提示登录。在自己本地搭建的docker里面测试也是一样的结果。

Expected behavior

能正常使用画图

Screenshots

No response

Deploy

Docker

UserId

No response

OS & Version

DSM 7.1

Browser & Version

Firefox 128

GoProxiBingAI Version

v2.4.4

Additional context

No response

@foxdodo foxdodo added the bug Something isn't working label Aug 7, 2024
@foxdodo
Copy link
Author

foxdodo commented Aug 7, 2024

试了下本地lobe-chat使用api调用本地docker go-proxy-bingai ,模型dall-e-3返回400,模型Creative-g4t返回文字但无图片

@Harry-zklcdc
Copy link
Owner

Harry-zklcdc commented Aug 9, 2024

请附上调用代码,和后台日志

@foxdodo
Copy link
Author

foxdodo commented Aug 9, 2024

请附上调用代码,和后台日志

用的是new-api调用,转到lobe-chat。我是菜鸡不知道哪里看日志,我看了new-api 和 go-proxy-bingai 的docker日志似乎都没有什么有用信息?

2024-08-09T10:51:34.027425128Z 2024/08/09 10:51:34 - INFO - 172.17.0.1 - POST /v1/chat/completions - 200 - Go-http-client/1.1

2024-08-09T10:51:34.027682336Z 2024/08/09 10:51:34 - INFO - 13.78.133.146 - GET /sydney/ChatHub - 200 - Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0

2024-08-09T10:52:41.904418868Z 2024/08/09 10:52:41 - INFO - 192.168.123.1 - GET /sysconf - 200 - Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0
2024-08-09T10:50:28.899260530Z [SYS] 2024/08/09 - 18:50:28 | model ratio not found: Creative-g4t 

2024-08-09T10:50:28.899658390Z [INFO] 2024/08/09 - 18:50:28 | 202408091850288982105231LOsgCT1 | user 1 with unlimited token has enough quota 98592346, trusted and no need to pre-consume 

2024-08-09T10:50:39.614163368Z [SYS] 2024/08/09 - 18:50:39 | 任务进度轮询开始 

2024-08-09T10:50:39.614351717Z [SYS] 2024/08/09 - 18:50:39 | 任务进度轮询完成 

2024-08-09T10:50:54.616252213Z [SYS] 2024/08/09 - 18:50:54 | 任务进度轮询开始 

2024-08-09T10:50:54.616423173Z [SYS] 2024/08/09 - 18:50:54 | 任务进度轮询完成 

2024-08-09T10:51:09.623700244Z [SYS] 2024/08/09 - 18:51:09 | 任务进度轮询开始 

2024-08-09T10:51:09.623957900Z [SYS] 2024/08/09 - 18:51:09 | 任务进度轮询完成 

2024-08-09T10:51:23.486359646Z [INFO] 2024/08/09 - 18:51:23 | 20240809185123485090596DtYiB2kK | user 1 with unlimited token has enough quota 98592346, trusted and no need to pre-consume 

2024-08-09T10:51:24.312598815Z [INFO] 2024/08/09 - 18:51:24 | 20240809185123485090596DtYiB2kK | record consume log: userId=1, 用户调用前余额=98592346, channelId=2, promptTokens=83, completionTokens=7, modelName=gpt-4o-mini, tokenName=1, quota=8, content=模型倍率 0.07,分组倍率 1.00,补全倍率 4.00 

2024-08-09T10:51:24.313910613Z [GIN] 2024/08/09 - 18:51:24 | 20240809185123485090596DtYiB2kK | 200 |  828.668662ms |      172.17.0.1 |    POST /v1/chat/completions

2024-08-09T10:51:24.624151927Z [SYS] 2024/08/09 - 18:51:24 | 任务进度轮询开始 

2024-08-09T10:51:24.624261129Z [SYS] 2024/08/09 - 18:51:24 | 任务进度轮询完成 

2024-08-09T10:51:29.804428657Z [SYS] 2024/08/09 - 18:51:29 | model ratio not found: Creative-g4t 

2024-08-09T10:51:29.804459905Z [INFO] 2024/08/09 - 18:51:29 | 20240809185129803542194UwuHrFUQ | user 1 with unlimited token has enough quota 98592338, trusted and no need to pre-consume 

2024-08-09T10:51:34.070648602Z [INFO] 2024/08/09 - 18:51:34 | 20240809185129803542194UwuHrFUQ | record consume log: userId=1, 用户调用前余额=98592338, channelId=20, promptTokens=31, completionTokens=16, modelName=Creative-g4t, tokenName=1, quota=1410, content=模型倍率 30.00,分组倍率 1.00,补全倍率 1.00 

2024-08-09T10:51:34.071733031Z [GIN] 2024/08/09 - 18:51:34 | 20240809185129803542194UwuHrFUQ | 200 |  4.268102287s |      172.17.0.1 |    POST /v1/chat/completions

2024-08-09T10:51:34.356768540Z [INFO] 2024/08/09 - 18:51:34 | 20240809185134355597741UFIWtSfa | user 1 with unlimited token has enough quota 98590928, trusted and no need to pre-consume 

2024-08-09T10:51:35.156513384Z [INFO] 2024/08/09 - 18:51:35 | 20240809185134355597741UFIWtSfa | record consume log: userId=1, 用户调用前余额=98590928, channelId=2, promptTokens=92, completionTokens=6, modelName=gpt-4o-mini, tokenName=1, quota=9, content=模型倍率 0.07,分组倍率 1.00,补全倍率 4.00 

2024-08-09T10:51:35.157899644Z [GIN] 2024/08/09 - 18:51:35 | 20240809185134355597741UFIWtSfa | 200 |  802.145578ms |      172.17.0.1 |    POST /v1/chat/completions

2024-08-09T10:51:39.626966267Z [SYS] 2024/08/09 - 18:51:39 | 任务进度轮询开始 

下面是dall-e-3在lobe-chat聊天框返回的信息

{
  "error": {
    "message": " (request id: 20240809190240194354293dL74RkcM)",
    "type": "upstream_error",
    "param": "400",
    "code": "bad_response_status_code"
  },
  "endpoint": "http://172.17.***.1:****/v1",
  "provider": "openai"
}

Creative-g4t在lobe-chat返回的信息只有文字
随机图画我会试着画一幅画。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants