Comments (4)
Hello, we have implemented the process of canceling browsing items. Perhaps you can refresh the page to see if the browsing item you cancelled still shows a checked status. If it is not checked, it indicates that the operation is correct. If it is checked, please paste the debugging information here. Thank you.
from qwen-agent.
Great job! @tuhahaha
I have found the codes about browsing item check/uncheck processing in main.js
The ip is fixed as 127.0.0.1
, if the service is on other machine, this will cause network error.
When my service is on my local machine, if I use 127.0.0.1
to access the app page, this works fine;
But when I access the app page with the machine's real ip, the js fetch of http://127.0.0.1:7866/endpoint
will cause CORS error.
I changed the 127.0.0.1
as real page ip in main.js ( use location.hostname), it is still CORS error. The allow_origins of http://0.0.0.0
seems doesn't work.
When I add the real machine ip into the allow_origins , it is ok now now.
I don't know well about the fastapi CORSMiddleware, maybe there is a general config for it (no need adding the real machine ip).
from qwen-agent.
Thank you for your suggestion. I am modifying the code to make it more suitable for remote server scenarios. Additionally, if your server is remote, the current version does not support uploading and analyzing local PDF files. Web pages and online PDFs are acceptable. (The main reason is that the Google Extension have some limitations when processing local file uploads.) For this situation, we have implemented an interface for directly uploading PDF files, which may soon become available.
from qwen-agent.
@wangyanbn Hello , we have pushed the code to solve this problem. Please pull the latest code and update the Google Extension.
from qwen-agent.
Related Issues (20)
- llm的 function,支持 OpenAi 格式,具体是指什么? HOT 3
- 关于QWen模型是否支持一次性返回多个function_call的功能 HOT 4
- 天气预报助手这个案例中,如何配置对应的api key
- 想问下Assistant有没有方法直接返回工具结果,而不是将工具结果交由LLM,再由LLM生成最终结果? HOT 2
- 请教tools调用相关问题。
- 请问agent 能否支持类似langchain中显示intermediate step/scratchpad plan等功能?
- 私有云部署了chatglm3-6B模型,通过request.post(data)调用模型输出。这种调用方式如何适配到qwen-agent里? HOT 2
- 关于system_message和PROMPT_REACT的问题 HOT 1
- 提高Assistant知识检索速度的方法? HOT 1
- 您好,Mr,Ma。我想把代码转成非流式输出,模型输出了最终回复后报错,我看了下代码这里,拿到模型的output是如下形式,而代码里判断的却是是否是list形式。是不是对于非流式,对模型的输出还要做一定处理? HOT 5
- 您好,咨询一下,agent内部调用llm的_call_llm(...)是默认非流式调用,我要所有agent都换成非流式调用,有相关参考可以查看吗?需要修改Agent里的返回类型 HOT 1
- Move tools like `code_interpreter` in an optional package
- 确认一下function call微调所使用的chat_template
- 如何写prompt让ReActChat在调用code interpreter的时候,按照指定的步骤查询excel表格?
- 运行example报错 HOT 5
- 有什么措施可以使模型更稳定的调用插件 HOT 1
- [报错] 添加文件后,进行对话时报错 HOT 1
- 能支持langserve吗?
- 如何改写可以是的Agent可以非流式调用LLM,更改了后很多数据类型有错误。 HOT 1
- 关于sse返回结构, 这两种流式返回方式有区别吗? HOT 1
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 qwen-agent.