Comments (11)
代理?
from gpt_academic.
代理?
挂了代理也不行
from gpt_academic.
代理?
挂了代理也不行
我刚用还没问题,所以你查一下你的代理配置,或者考虑一下海外云服务器。
from gpt_academic.
代理?
挂了代理也不行我刚用还没问题,所以你查一下你的代理配置,或者考虑一下海外云服务器。
我挂了全局都不行 不知道那里的问题
from gpt_academic.
即使是海外的,有的也不行
from gpt_academic.
需要全局代理,ip美国的是可以的
from gpt_academic.
我用的美国的服务器,用gemini-pro 也会报错,240226,用的最新版本的代码
环境是拉取的最新版本的镜像:ghcr.io/binary-husky/gpt_academic_with_latex:master
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/gradio/routes.py", line 422, in run_predict
output = await app.get_blocks().process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/gradio/blocks.py", line 1323, in process_api
result = await self.call_function(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/gradio/blocks.py", line 1067, in call_function
prediction = await utils.async_iteration(iterator)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/gradio/utils.py", line 336, in async_iteration
return await iterator.anext()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/gradio/utils.py", line 329, in anext
return await anyio.to_thread.run_sync(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/anyio/to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 851, in run
result = context.run(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/gradio/utils.py", line 312, in run_sync_iterator_async
return next(iterator)
^^^^^^^^^^^^^^
File "/home/code/gpt_academic/toolbox.py", line 119, in decorated
yield from f(txt_passon, llm_kwargs, plugin_kwargs, chatbot_with_cookie, history, system_prompt, *args)
File "/home/code/gpt_academic/request_llms/bridge_all.py", line 783, in predict
yield from method(inputs, llm_kwargs, *args, **kwargs)
File "/home/code/gpt_academic/request_llms/bridge_google_gemini.py", line 105, in predict
raise RuntimeError('对话错误')
RuntimeError: 对话错误
from gpt_academic.
from gpt_academic.
我用的美国的服务器,用gemini-pro 也会报错,240226,用的最新版本的代码 环境是拉取的最新版本的镜像:ghcr.io/binary-husky/gpt_academic_with_latex:master Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/gradio/routes.py", line 422, in run_predict output = await app.get_blocks().process_api( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/gradio/blocks.py", line 1323, in process_api result = await self.call_function( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/gradio/blocks.py", line 1067, in call_function prediction = await utils.async_iteration(iterator) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/gradio/utils.py", line 336, in async_iteration return await iterator.anext() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/gradio/utils.py", line 329, in anext return await anyio.to_thread.run_sync( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/anyio/to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread return await future ^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 851, in run result = context.run(func, *args) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/gradio/utils.py", line 312, in run_sync_iterator_async return next(iterator) ^^^^^^^^^^^^^^ File "/home/code/gpt_academic/toolbox.py", line 119, in decorated yield from f(txt_passon, llm_kwargs, plugin_kwargs, chatbot_with_cookie, history, system_prompt, *args) File "/home/code/gpt_academic/request_llms/bridge_all.py", line 783, in predict yield from method(inputs, llm_kwargs, *args, **kwargs) File "/home/code/gpt_academic/request_llms/bridge_google_gemini.py", line 105, in predict raise RuntimeError('对话错误') RuntimeError: 对话错误
可能是服务不稳定,我在别的地方调用 gemini-pro也是报错
from gpt_academic.
我用的美国的服务器,用gemini-pro 也会报错,240226,用的最新版本的代码 环境是拉取的最新版本的镜像:ghcr.io/binary-husky/gpt_academic_with_latex:master Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/gradio/routes.py", line 422, in run_predict output = await app.get_blocks().process_api( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/gradio/blocks.py", line 1323, in process_api result = await self.call_function( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/gradio/blocks.py", line 1067, in call_function prediction = await utils.async_iteration(iterator) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/gradio/utils.py", line 336, in async_iteration return await iterator.anext() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/gradio/utils.py", line 329, in anext return await anyio.to_thread.run_sync( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/anyio/to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread return await future ^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 851, in run result = context.run(func, *args) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/gradio/utils.py", line 312, in run_sync_iterator_async return next(iterator) ^^^^^^^^^^^^^^ File "/home/code/gpt_academic/toolbox.py", line 119, in decorated yield from f(txt_passon, llm_kwargs, plugin_kwargs, chatbot_with_cookie, history, system_prompt, *args) File "/home/code/gpt_academic/request_llms/bridge_all.py", line 783, in predict yield from method(inputs, llm_kwargs, *args, **kwargs) File "/home/code/gpt_academic/request_llms/bridge_google_gemini.py", line 105, in predict raise RuntimeError('对话错误') RuntimeError: 对话错误
我换了美国的节点就可以成功使用gemini了
from gpt_academic.
from gpt_academic.
Related Issues (20)
- [Feature]: 可以增加按用户权限来控制显示模块区域或功能吗
- [Feature]: 是否支持gpt-4-gizmo模型调用gpts
- [Bug]: 在线服务生成pdf失败 HOT 1
- [Bug]: 翻译 pdf 不能翻译二级标题 HOT 1
- [Feature]: chatgpt-0125 HOT 4
- [Bug]: 插件分析整个项目,zip压缩包,过程中出现停滞无法自动纠正和恢复。
- [Possible Feature]: Response部分的UI能否设计成可选择的多列,每个LLM占一列。 HOT 1
- [Feature]: 支持月之暗面的 api HOT 7
- 有微信吗 我弄不好[Bug]: HOT 1
- 魔法和api配置好后pdf翻译文献无法使用[Bug]: HOT 3
- [Feature]:可否批量添加自定义兼容openai api 的自定义模型名称? HOT 2
- [Feature]: 对claude-3大模型的适配 HOT 2
- [Feature]:每次调用数据库都只能调用三篇数据库中的资料,有什么改进的办法
- [Feature]: 按照所使用模型分别提高文本拆分的大小
- [Bug]: 本地不能加载ChatGLM3 HOT 1
- [Feature]: 你好,可以向gpts一样,prompt不展示出来吗? HOT 1
- [Feature]: [Local Message] 异常 HOT 2
- 本地上传LaTex文件翻译的问题
- [Feature]: 什么时候支持Claude3呢 HOT 2
- [Bug]: Arxiv论文精细翻译(输入ArxivID),这个功能无法翻译最新的Arxiv论文,无法得到结果PDF。 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpt_academic.