Skip to content

Commit

Permalink
Add back API keys
Browse files Browse the repository at this point in the history
  • Loading branch information
svilupp authored Jun 26, 2024
1 parent 971e926 commit 4f0cfd7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

## [0.33.2]

### Fixed
- Add back accidentally dropped DBKS keys

## [0.33.1]

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PromptingTools"
uuid = "670122d1-24a8-4d70-bfce-740807c42192"
authors = ["J S @svilupp and contributors"]
version = "0.33.1"
version = "0.33.2"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Expand Down
6 changes: 6 additions & 0 deletions src/user_preferences.jl
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,11 @@ global OPENAI_API_KEY::String = ""
global MISTRALAI_API_KEY::String = ""
global COHERE_API_KEY::String = ""
global DATABRICKS_API_KEY::String = ""
global DATABRICKS_HOST::String = ""
global TAVILY_API_KEY::String = ""
global GOOGLE_API_KEY::String = ""
global TOGETHER_API_KEY::String = ""
global FIREWORKS_API_KEY::String = ""
global ANTHROPIC_API_KEY::String = ""
global VOYAGE_API_KEY::String = ""
global GROQ_API_KEY::String = ""
Expand All @@ -166,6 +169,9 @@ function load_api_keys!()
global DATABRICKS_API_KEY
DATABRICKS_API_KEY = @load_preference("DATABRICKS_API_KEY",
default=get(ENV, "DATABRICKS_API_KEY", ""))
global DATABRICKS_HOST
DATABRICKS_HOST = @load_preference("DATABRICKS_HOST",
default=get(ENV, "DATABRICKS_HOST", ""))
global TAVILY_API_KEY
TAVILY_API_KEY = @load_preference("TAVILY_API_KEY",
default=get(ENV, "TAVILY_API_KEY", ""))
Expand Down

0 comments on commit 4f0cfd7

Please sign in to comment.