Skip to content

Commit

Permalink
Added <empty> Value for unset API-Keys to prevent startup failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
jschm42 committed Jun 25, 2024
1 parent 9a3c08e commit 63bb5ac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ spring.servlet.multipart.max-file-size=5MB
spring.servlet.multipart.max-request-size=5MB
### API ####
# OpenAI
spring.ai.openai.api-key=${TALKFORGEAI_OPENAI_APIKEY:}
spring.ai.openai.api-key=${TALKFORGEAI_OPENAI_APIKEY:<empty>}
spring.ai.openai.base-url=${TALKFORGEAI_OPENAI_BASE_URL:https://api.openai.com}
# Mistral
spring.ai.mistralai.api-key=${TALKFORGEAI_MISTRALAI_APIKEY:}
spring.ai.mistralai.api-key=${TALKFORGEAI_MISTRALAI_APIKEY:<empty>}
# Ollama
spring.ai.ollama.base-url=${TALKFORGEAI_OLLAMA_BASE_URL:http://localhost:11434}
# Anthropic
spring.ai.anthropic.api-key=${TALKFORGEAI_ANTHROPIC_APIKEY:}
spring.ai.anthropic.api-key=${TALKFORGEAI_ANTHROPIC_APIKEY:<empty>}
spring.ai.anthropic.version=${TALKFORGEAI_ANTHROPIC_VERSION:2023-06-01}
# Stability
spring.ai.stabilityai.api-key=${TALKFORGEAI_STABILITYAI_APIKEY:}
spring.ai.stabilityai.api-key=${TALKFORGEAI_STABILITYAI_APIKEY:<empty>}
# Elevenlabs
elevenlabs.api-key=${TALKFORGEAI_ELEVENLABS_APIKEY:}
elevenlabs.api-key=${TALKFORGEAI_ELEVENLABS_APIKEY:<empty>}
elevenlabs.api-url=https://api.elevenlabs.io
### Database ###
spring.datasource.url=jdbc:sqlite:${talkforgeai.datadir}/talkforgeai.db
Expand Down

0 comments on commit 63bb5ac

Please sign in to comment.