Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

利用反代,自建token转api,请问host该如何设置? #208

Open
justincnn opened this issue Apr 27, 2024 · 8 comments
Open

利用反代,自建token转api,请问host该如何设置? #208

justincnn opened this issue Apr 27, 2024 · 8 comments

Comments

@justincnn
Copy link

我在bob,和沉浸式翻译都是用自建的反代:ip/imitate/v1/chat/completions,然后把api key填写token,可以正常使用,

但是这个项目里无法生效,请问是否有设置的办法,谢谢

@givebest
Copy link
Collaborator

image这样试下呢

@justincnn
Copy link
Author

谢谢反馈,我的safari设置里面找不到api path的设置,入下图:

@givebest
Copy link
Collaborator

Safari 最新版还没通过审核,可以先用 Chrome 体验最新版本。

@justincnn
Copy link
Author

Safari 最新版还没通过审核,可以先用 Chrome 体验最新版本。

谢谢,chrome的已经在用了,主要是safari为主力,继续等待safari插件的上架:)

@justincnn
Copy link
Author

Safari 最新版还没通过审核,可以先用 Chrome 体验最新版本。

你好,在ios的插件设置里面有看到你上图的设置选项,但是mac端的看不到,请问下这个是不是和审核没关系?

@givebest
Copy link
Collaborator

macOS/iOS是两个平台需要单独审核。

@folkevil
Copy link

folkevil commented May 2, 2024

imageTry it this way

Where I can find this option? I cloned repo and run it with npm run dev, but I got error:

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'config') at _r.PM [as constructor] (options.js:194:11849) at _r.xC [as render] (options.js:1:9220) at Ju (options.js:1:6879) at dl (options.js:1:2069)

=================================================================
Edit:
I found the options, but it only exists in packages/Glarity-Chronium-beta. Look like this version is diferrence with the code on Github repo?

@WilliamDuTrendMicro
Copy link

I have the simialr issue ,how to debug it when pop the error message?
it works in the 沉浸式翻译 ,but not in the Glarity .
:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants