@@ -32,7 +32,7 @@ export async function getOriginConfig() {
32
32
process . env . OPENAI_API_DISABLE_DEBUG === 'true' ,
33
33
process . env . OPENAI_ACCESS_TOKEN ,
34
34
process . env . OPENAI_API_BASE_URL ,
35
- process . env . OPENAI_API_MODEL === 'ChatGPTUnofficialProxyAPI' ? 'ChatGPTUnofficialProxyAPI' : 'ChatGPTAPI' ,
35
+ 'ChatGPTAPI' ,
36
36
process . env . API_REVERSE_PROXY ,
37
37
( process . env . SOCKS_PROXY_HOST && process . env . SOCKS_PROXY_PORT )
38
38
? ( `${ process . env . SOCKS_PROXY_HOST } :${ process . env . SOCKS_PROXY_PORT } ` )
@@ -76,12 +76,6 @@ export async function getOriginConfig() {
76
76
if ( config . siteConfig . registerReview === undefined )
77
77
config . siteConfig . registerReview = process . env . REGISTER_REVIEW === 'true'
78
78
}
79
- if ( config . apiModel !== 'ChatGPTAPI' && config . apiModel !== 'ChatGPTUnofficialProxyAPI' ) {
80
- if ( isNotEmptyString ( config . accessToken ) )
81
- config . apiModel = 'ChatGPTUnofficialProxyAPI'
82
- else
83
- config . apiModel = 'ChatGPTAPI'
84
- }
85
79
86
80
if ( config . auditConfig === undefined ) {
87
81
config . auditConfig = new AuditConfig (
@@ -102,7 +96,7 @@ export async function getOriginConfig() {
102
96
103
97
if ( ! config . advancedConfig ) {
104
98
config . advancedConfig = new AdvancedConfig (
105
- 'You are ChatGPT, a large language model trained by OpenAI . Follow the user\'s instructions carefully.Respond using markdown (latex start with $).' ,
99
+ 'You are a large language model. Follow the user\'s instructions carefully. Respond using markdown (latex start with $).' ,
106
100
0.8 ,
107
101
1 ,
108
102
20 ,
0 commit comments