Skip to content

Commit

Permalink
added default value for resource env read
Browse files Browse the repository at this point in the history
  • Loading branch information
jjuliano committed Sep 3, 2024
1 parent 281af1f commit f4d1453
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deps/pkl/LLM.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ class Parameter {
}

class LLMAPIKeys {
openai_api_key: String? = read("env:OPENAI_API_KEY")
mistral_api_key: String? = read("env:MISTRAL_API_KEY")
huggingface_api_token: String? = read("env:HUGGINGFACE_API_TOKEN")
groq_api_key: String? = read("env:GROQ_API_KEY")
openai_api_key: String? = read("env:OPENAI_API_KEY") ?? ""
mistral_api_key: String? = read("env:MISTRAL_API_KEY") ?? ""
huggingface_api_token: String? = read("env:HUGGINGFACE_API_TOKEN") ?? ""
groq_api_key: String? = read("env:GROQ_API_KEY") ?? ""
}

class ModelFile {
Expand Down

0 comments on commit f4d1453

Please sign in to comment.