From 63bb5ac84fb3b368bdff78b2199ab306e6a594b5 Mon Sep 17 00:00:00 2001 From: jschm42 Date: Tue, 25 Jun 2024 15:01:12 +0200 Subject: [PATCH] Added Value for unset API-Keys to prevent startup failure. --- app/src/main/resources/application.properties | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/main/resources/application.properties b/app/src/main/resources/application.properties index 267600e..a55a3a2 100644 --- a/app/src/main/resources/application.properties +++ b/app/src/main/resources/application.properties @@ -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:} 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:} # 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:} 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:} # Elevenlabs -elevenlabs.api-key=${TALKFORGEAI_ELEVENLABS_APIKEY:} +elevenlabs.api-key=${TALKFORGEAI_ELEVENLABS_APIKEY:} elevenlabs.api-url=https://api.elevenlabs.io ### Database ### spring.datasource.url=jdbc:sqlite:${talkforgeai.datadir}/talkforgeai.db