fatwang2 / search2ai

Help your LLMs online
https://sum4all.site/telegram
MIT License
1.01k stars 157 forks source link

Why it can search in client (NextChat), but cannot search in python openai package invoke? #35

Open liuxiaodong008008 opened 1 month ago

liuxiaodong008008 commented 1 month ago

I have deployed a search2ai instance. My api is moonshot. I tested it in NextChat client, it can support web page browsing. But when I use it in my python code, it does not browse at all. I have confirmed I have changed the endpoint to my search2ai instance endpoint.

Is there anything more to do to make it work in python code?

liuxiaodong008008 commented 1 month ago

I know now, maybe I need pass tools to code. What tools does search2ai support?

fatwang2 commented 1 month ago

把你Python代码贴一下