MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    Manyana,free dalle3、asmr推送、动漫角色识别、gal查询、对话模型+语音、黑神话wiki、漂流瓶等功能集合,一键部署

    其他项目发布
    15
    96
    14604
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Anstiya
      Anstiya 摸鱼 @wxyj last edited by

      @wxyj 这样设置。c9de1aa4-341d-4bea-a2ca-d10daca8fbcd-ae2d4c05873fb3f71169d4659d5d1749.jpg

      1 Reply Last reply Reply Quote 0
      • Anstiya
        Anstiya 摸鱼 @wxyj last edited by Anstiya

        @wxyj 安装完依赖,填写Manyana/config.json并重启。
        有空的话再填一下config/api.yaml以及config/settings.yaml。个人建议注册chatGLM获取apiKey并在api.yaml中填写,然后在settings.yaml中打开glmReply项。
        完成设置后,重启即可。

        W 1 Reply Last reply Reply Quote 0
        • W
          wxyj @Anstiya last edited by

          @Anstiya ok,现在bot能运行了,然后我尝试手动运行manyana的时候弹出了下面的错误

          Traceback (most recent call last):
            File "C:\Users\Administrator\Desktop\ManyanLauncher\Manyana\main.py", line 231, in <module>
              bot.run()
            File "C:\Users\Administrator\Desktop\ManyanLauncher\Manyana\venv\lib\site-packages\mirai\bot.py", line 199, in run
              MiraiRunner(self).run(host, port, asgi_server, **kwargs)
            File "C:\Users\Administrator\Desktop\ManyanLauncher\Manyana\venv\lib\site-packages\mirai\bot.py", line 257, in run
              if not asgi_serve(
            File "C:\Users\Administrator\Desktop\ManyanLauncher\Manyana\venv\lib\site-packages\mirai\asgi.py", line 205, in asgi_serve
              run(app, host=host, port=port, debug=True, **kwargs)
          TypeError: run() got an unexpected keyword argument 'debug'
          

          这个是哪里没设置对

          W Anstiya 2 Replies Last reply Reply Quote 0
          • W
            wxyj @wxyj last edited by

            @wxyj 我刚翻到前面把uvicorn删掉了,现在貌似能正常运行了,先观察一阵吧,辛苦大佬了

            Anstiya 1 Reply Last reply Reply Quote 0
            • Anstiya
              Anstiya 摸鱼 @wxyj last edited by

              @wxyj 如果是根据下面的提示安装了对应的库

              2024-02-22 15:48:40 - WARNING  未找到可用的 ASGI 服务,反向 WebSocket 和 WebHook 上报将不可用。
              仅 HTTP 轮询与正向 WebSocket 可用。
              建议安装 ASGI 服务器,如 `uvicorn` 或 `hypercorn`。
              在命令行键入:
                  pip install uvicorn
              或者
                  pip install hypercorn
              

              卸载它们
              pip uninstall uvicorn
              pip uninstall hypercorn

              1 Reply Last reply Reply Quote 0
              • Anstiya
                Anstiya 摸鱼 @wxyj last edited by

                @wxyj 解决了就行

                W 1 Reply Last reply Reply Quote 0
                • W
                  wxyj @Anstiya last edited by

                  @Anstiya 对了我还想问下有什么指令可以弹出菜单展示功能

                  Anstiya 1 Reply Last reply Reply Quote 0
                  • W
                    wxyj last edited by wxyj

                    还有的话在使用at请求图片的时候会同时触发语音回复,有没有什么办法把发图功能和聊天功能给分开。

                    Anstiya 2 Replies Last reply Reply Quote 0
                    • Anstiya
                      Anstiya 摸鱼 @wxyj last edited by Anstiya

                      @wxyj @bot 帮助,master指令在readme

                      1 Reply Last reply Reply Quote 0
                      • Anstiya
                        Anstiya 摸鱼 @wxyj last edited by

                        @wxyj @bot 5张xx图 我不建议使用,因为这个api访问的时候会比较慢,等晚上我给ai回复加一个筛选好了,随后你可以用git pull或者更新脚本拉更新

                        W 1 Reply Last reply Reply Quote 0
                        • W
                          wxyj @Anstiya last edited by

                          @Anstiya OK,刚刚还发现程序会偶尔卡主不会动,要点一下窗口按按方向键才会响应

                          Anstiya 1 Reply Last reply Reply Quote 0
                          • Anstiya
                            Anstiya 摸鱼 @wxyj last edited by

                            @wxyj 点到窗口会进编辑模式,导致卡住。cmd就这样,可以搜搜怎么关

                            W 1 Reply Last reply Reply Quote 0
                            • W
                              wxyj @Anstiya last edited by

                              @Anstiya 刚刚尝试更新的时候连接不到git,一看设置的代理端口变掉了,要在哪里更改端口

                              Anstiya 1 Reply Last reply Reply Quote 0
                              • G
                                guizaipiao last edited by

                                必须得外网是吗?

                                Anstiya 1 Reply Last reply Reply Quote 0
                                • Anstiya
                                  Anstiya 摸鱼 @wxyj last edited by

                                  @wxyj 搜索引擎搜索git设置代理,或者重走搭建过程,别的都跳,到重设代理步骤重填就好了。

                                  1 Reply Last reply Reply Quote 0
                                  • Anstiya
                                    Anstiya 摸鱼 @guizaipiao last edited by Anstiya

                                    @guizaipiao chatGLM模型不需要,gpt4和gemini以及少数功能需要代理,不用这些功能的话影响不大,没有代理搭建时可选镜像源

                                    1 Reply Last reply Reply Quote 0
                                    • Anstiya
                                      Anstiya 摸鱼 @wxyj last edited by

                                      @wxyj 更新吧,前两天有些事没时间写,今天上午把这个问题解决了

                                      W 1 Reply Last reply Reply Quote 0
                                      • W
                                        wxyj @Anstiya last edited by

                                        @Anstiya ok,感谢大佬

                                        1 Reply Last reply Reply Quote 0
                                        • Anstiya
                                          Anstiya 摸鱼 last edited by

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • Anstiya
                                            Anstiya 摸鱼 last edited by

                                            • 更新启动器,不会写tkinter,但是跑起来了
                                            • 如无代理,搭建时可选镜像源,镜像源同样支持正常更新
                                            • 2.27之后的版本,在更新遇到配置文件冲突时,可自动处理,无需再手动比对。
                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 3 / 5
                                            • First post
                                              Last post
                                            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact