forked from Chanzhaoyu/chatgpt-web
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add proxy support and fix streaming mode (Chanzhaoyu#122)
- Loading branch information
1 parent
fa380d8
commit f2cf766
Showing
7 changed files
with
251 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ interface ConfigState { | |
timeoutMs?: number | ||
reverseProxy?: string | ||
apiModel?: string | ||
socksProxy?: string | ||
} | ||
const props = defineProps<Props>() | ||
|
@@ -69,6 +70,7 @@ watch( | |
<p>API方式:{{ config?.apiModel ?? '-' }}</p> | ||
<p>反向代理:{{ config?.reverseProxy ?? '-' }}</p> | ||
<p>超时时间:{{ config?.timeoutMs ?? '-' }}</p> | ||
<p>Socks代理:{{ config?.socksProxy ?? '-' }}</p> | ||
<p style="background: #00ff0d38;"> | ||
联系本站开发人员:<a href="mailto:[email protected]"> [email protected] </a> | ||
</p> | ||
|
Oops, something went wrong.