希望可以加上CORS的设置选项,像Copilot那个插件一样 #9
Closed
Vincent-bin
started this conversation in
Ideas
Replies: 1 comment
-
准确地来说,是使用了langchain js这个库,这个库封装了一些llm的接口并且提供了configuration的参数,其中有一个参数是fetch,就相当于把obsidian的request这个接口注入给了这个chatmodel,那么chatmodel在调用api的时候就用的obsidian的request,避开了CORS |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我看了一下obsidian官方提供了一个接口request,可以用来避免CORS的限制
Beta Was this translation helpful? Give feedback.
All reactions