Abandoning the use of environment variables
- openaiApiKey - openaiModelName
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
NUXT_OPENAI_API_KEY=YOUR_API_KEY
|
||||
NUXT_OPENAI_MODEL_NAME=text-davinci-003
|
||||
@@ -9,8 +9,6 @@ export default defineNuxtConfig({
|
||||
},
|
||||
},
|
||||
runtimeConfig: {
|
||||
openaiApiKey: '',
|
||||
openaiModelName: 'text-davinci-003',
|
||||
public: {
|
||||
appName: appName
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user