Skip to content

Commit

Permalink
Add back API keys
Browse files Browse the repository at this point in the history
  • Loading branch information
svilupp committed Jun 26, 2024
1 parent 4fa4f5d commit b6d10f5
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

2 comments on commit b6d10f5

@svilupp
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release notes:

Fixed

  • Add back accidentally dropped DBKS keys

Commits

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/109810

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.33.2 -m "<description of version>" b6d10f5664fd3a748741679d0a732225b7c71bc0
git push origin v0.33.2

Please sign in to comment.