@@ -32,7 +32,7 @@ export async function getOriginConfig() {
3232 process . env . OPENAI_API_DISABLE_DEBUG === 'true' ,
3333 process . env . OPENAI_ACCESS_TOKEN ,
3434 process . env . OPENAI_API_BASE_URL ,
35- process . env . OPENAI_API_MODEL === 'ChatGPTUnofficialProxyAPI' ? 'ChatGPTUnofficialProxyAPI' : 'ChatGPTAPI' ,
35+ 'ChatGPTAPI' ,
3636 process . env . API_REVERSE_PROXY ,
3737 ( process . env . SOCKS_PROXY_HOST && process . env . SOCKS_PROXY_PORT )
3838 ? ( `${ process . env . SOCKS_PROXY_HOST } :${ process . env . SOCKS_PROXY_PORT } ` )
@@ -76,12 +76,6 @@ export async function getOriginConfig() {
7676 if ( config . siteConfig . registerReview === undefined )
7777 config . siteConfig . registerReview = process . env . REGISTER_REVIEW === 'true'
7878 }
79- if ( config . apiModel !== 'ChatGPTAPI' && config . apiModel !== 'ChatGPTUnofficialProxyAPI' ) {
80- if ( isNotEmptyString ( config . accessToken ) )
81- config . apiModel = 'ChatGPTUnofficialProxyAPI'
82- else
83- config . apiModel = 'ChatGPTAPI'
84- }
8579
8680 if ( config . auditConfig === undefined ) {
8781 config . auditConfig = new AuditConfig (
@@ -102,7 +96,7 @@ export async function getOriginConfig() {
10296
10397 if ( ! config . advancedConfig ) {
10498 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 $).' ,
106100 0.8 ,
107101 1 ,
108102 20 ,
0 commit comments