Giter Site home page Giter Site logo

xyhelper / chatgpt-share-server Goto Github PK

View Code? Open in Web Editor NEW
258.0 258.0 80.0 8.79 MB

Home Page: https://chatgpt-share-server.xyhelper.cn

License: MIT License

Shell 0.16% Makefile 0.04% Go 40.05% JavaScript 0.05% Dockerfile 0.01% TypeScript 2.71% HTML 50.49% Vue 6.40% SCSS 0.09%

chatgpt-share-server's People

Contributors

cnkyan avatar frontend-winter avatar gcslaoli avatar hanwencc avatar wx-11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chatgpt-share-server's Issues

希望可以添加4-mobile模型

浏览器插件里使用模型修改器修改4-mobile在本项目不生效,希望项目添加修改使用4mobile模型的功能

为什么每天都会掉线

帐户多了,差不多24小时就需要重新编辑等待人机认证通过后,操作保存才可以继续使用,否则error

对话同步删除

chatgpt-share-server的web ui中的对话删除后,原来的chatgpt账户中的对话依旧存在,能否实现同步删除?

本地启动报错,疑似mysql driver未加载完成,就获取连接

API server listening at: 127.0.0.1:57021
debugserver-@(#)PROGRAM:LLDB PROJECT:lldb-1500.0.200.58
for arm64.
Got a connection, launched process /Users/lihang15/Library/Caches/JetBrains/IntelliJIdea2023.3/tmp/GoLand/_3go_build_backend (pid = 42771).
WARNING: undefined behavior - version of Delve is too old for Go version go1.22.0 (maximum supported version 1.21)
2024-03-08 01:46:52.077 [INFO] {50797a709c8cba17c79ed6289bcc2a26} CHATPROXY: https://demo.xyhelper.cn
2024-03-08 01:46:52.078 [INFO] {50797a709c8cba17c79ed6289bcc2a26} AUTHKEY: xyhelper
2024-03-08 01:46:52.078 [INFO] {50797a709c8cba17c79ed6289bcc2a26} ASSET_PREFIX: https://oaistatic-cdn.closeai.biz
2024-03-08 01:46:52.752 [INFO] {50797a709c8cba17c79ed6289bcc2a26} Get config From https://oaistatic-cdn.closeai.biz ,CacheBuildId: CdVKBysnaJNkqh
-wcfYZ
2024-03-08 01:46:52.753 [INFO] {50797a709c8cba17c79ed6289bcc2a26} Get config From https://oaistatic-cdn.closeai.biz/template/CdVKBysnaJNkqh_-wcfYZ/index.txt
2024-03-08 01:46:53.420 [INFO] {50797a709c8cba17c79ed6289bcc2a26} CacheBuildId: CdVKBysnaJNkqh
-wcfYZ
2024-03-08 01:46:54.155 [INFO] {50797a709c8cba17c79ed6289bcc2a26} BuildId: uFQkCP-fqpvXX_WWG3TaH
2024-03-08 01:46:54.155 [INFO] {50797a709c8cba17c79ed6289bcc2a26} PORT: 8001
2024-03-08 01:46:54.162 [DEBU] SetServerRoot path: /Users/lihang15/IdeaProjects/chatgpt-share-server/backend/resource/public
2024-03-08 01:46:54.162 [INFO] {50797a709c8cba17c79ed6289bcc2a26} OAUTH_URL: http://127.0.0.1:8001/auth/oauthfree
2024-03-08 01:46:54.162 [INFO] {50797a709c8cba17c79ed6289bcc2a26} AUDIT_LIMIT_URL:
2024-03-08 01:46:54.162 [INFO] {50797a709c8cba17c79ed6289bcc2a26} APIAUTH:
2024-03-08 01:46:54.163 [DEBU] {50797a709c8cba17c79ed6289bcc2a26} module cool init start ...
2024-03-08 01:46:54.163 [DEBU] {50797a709c8cba17c79ed6289bcc2a26} 当前运行模式 dev
2024-03-08 01:46:54.164 [DEBU] {50797a709c8cba17c79ed6289bcc2a26} 当前实例ID: 1mknz3bx030cznpfikt0vx4100dp0zln
2024-03-08 01:46:54.164 [DEBU] {50797a709c8cba17c79ed6289bcc2a26} 是否缓存模式: true
2024-03-08 01:46:54.164 [DEBU] {50797a709c8cba17c79ed6289bcc2a26} module cool init finished ...
panic: cannot find database driver for specified database type "mysql", did you misspell type name "mysql" or forget importing the database driver? possible reference: https://github.com/gogf/gf/tree/master/contrib/drivers [recovered]
panic: failed to connect database

goroutine 1 [running]:
github.com/cool-team-official/cool-admin-go/cool.InitDB.func1()
/Users/lihang15/go/pkg/mod/github.com/cool-team-official/cool-admin-go/[email protected]/initdb.go:21 +0x54
panic({0x10546b320?, 0x14000282690?})
/usr/local/go/src/runtime/panic.go:770 +0xf0
github.com/gogf/gf/v2/frame/gins.Database.func1()
/Users/lihang15/go/pkg/mod/github.com/gogf/gf/[email protected]/frame/gins/gins_database.go:148 +0xfd0
github.com/gogf/gf/v2/container/gmap.(*StrAnyMap).doSetWithLockCheck(0x1400011f780, {0x14000039890, 0x22}, {0x105370000, 0x14000280740})
/Users/lihang15/go/pkg/mod/github.com/gogf/gf/[email protected]/container/gmap/gmap_hash_str_any_map.go:219 +0x220
github.com/gogf/gf/v2/container/gmap.(*StrAnyMap).GetOrSetFuncLock(0x1400011f780, {0x14000039890, 0x22}, 0x14000280740)
/Users/lihang15/go/pkg/mod/github.com/gogf/gf/[email protected]/container/gmap/gmap_hash_str_any_map.go:256 +0xbc
github.com/gogf/gf/v2/internal/instance.GetOrSetFuncLock({0x14000039890, 0x22}, 0x14000280740)
/Users/lihang15/go/pkg/mod/github.com/gogf/gf/[email protected]/internal/instance/instance.go:65 +0x48
github.com/gogf/gf/v2/frame/gins.Database({0x14000530930, 0x1, 0x1})
/Users/lihang15/go/pkg/mod/github.com/gogf/gf/[email protected]/frame/gins/gins_database.go:37 +0x29c
github.com/gogf/gf/v2/frame/g.DB({0x14000530930, 0x1, 0x1})
/Users/lihang15/go/pkg/mod/github.com/gogf/gf/[email protected]/frame/g/g_object.go:87 +0x38
github.com/cool-team-official/cool-admin-go/cool.InitDB({0x10518eba0, 0x7})
/Users/lihang15/go/pkg/mod/github.com/cool-team-official/cool-admin-go/[email protected]/initdb.go:24 +0xe8
github.com/cool-team-official/cool-admin-go/cool.getDBbyModel({0x1054f10a0, 0x140007ae4e0})
/Users/lihang15/go/pkg/mod/github.com/cool-team-official/cool-admin-go/[email protected]/initdb.go:43 +0xd4
github.com/cool-team-official/cool-admin-go/cool.CreateTable({0x1054f10a0, 0x140007ae4e0})
/Users/lihang15/go/pkg/mod/github.com/cool-team-official/cool-admin-go/[email protected]/initdb.go:56 +0x4c
backend/modules/chatgpt/model.init.0()
/Users/lihang15/IdeaProjects/chatgpt-share-server/backend/modules/chatgpt/model/chatgpt_conversations.go:39 +0x88
Exiting.

Debugger finished with the exit code 0

前端copy报错

前端进入ChatGPT的页面之后,任意对话点复制按钮会报错:Failed to copy to clipboard. 且无法通过这个按钮复制对话到剪贴板。

这可能是来自OpenAI的报错通知,请问有没有解决方案?

修改管理员密码报错

参考: https://chatgpt-share-server.xyhelper.cn/config/resetpasswd.html

疑似程序获取的192开头的局域网ip导致?
报如下错误:

-
~/dockers/chatgpt-share (deploy*) # docker compose exec -it mysql bash                                                                 root@luxury

bash-4.4# mysql -uroot -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
bash-4.4# mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)


发送消息前端页面就卡死

image

plus账号,访问页面没有问题,但是任何消息只要点发送前端页面必卡死,必须要关闭浏览器tab重新打开,有时候会出现一个灰色的蒙层,请问有什么办法可以解决么?

编译后无法连接至sqlserver

编译后运行提示

panic: cannot find database driver for specified database type "mysql", did you misspell type name "mysql" or forget importing the database driver? possible reference: https://github.com/gogf/gf/tree/master/contrib/drivers [recovered]
        panic: failed to connect database

goroutine 1 [running]:
github.com/cool-team-official/cool-admin-go/cool.InitDB.func1()

一直找不到解决方案

服务器错误

今天更新了版本,前端突然出现了usertoken验证错误,提醒服务器错误,不知道为什么,重新编辑后台账号恢复正常,1个小时后又出现同样的问题
Screenshot_2024-03-03-15-12-04-499_com tencent mm-edit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.