Skip to content

Commit

Permalink
chore: bump shards and default max GPT tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
stakach committed Dec 4, 2023
1 parent 276eef8 commit b77e495
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions shard.lock
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ shards:

placeos-driver:
git: https://github.com/placeos/driver.git
version: 6.9.15
version: 6.9.16

placeos-frontend-loader:
git: https://github.com/placeos/frontend-loader.git
Expand All @@ -263,7 +263,7 @@ shards:

placeos-models:
git: https://github.com/placeos/models.git
version: 9.28.0
version: 9.29.0

placeos-resource:
git: https://github.com/place-labs/resource.git
Expand Down Expand Up @@ -311,7 +311,7 @@ shards:

search-ingest:
git: https://github.com/placeos/search-ingest.git
version: 2.11.0+git.commit.94af9c82ef4728cbb4fc9671e52a7a8aa9d90222
version: 2.11.0+git.commit.30ba2d799d4cd36591bcd0c225ef66c0d1b9c98b

secrets-env: # Overridden
git: https://github.com/spider-gazelle/secrets-env.git
Expand Down
2 changes: 1 addition & 1 deletion src/constants.cr
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module PlaceOS::Api
OPENAI_API_KEY = ENV["OPENAI_API_KEY"]?
OPENAI_API_BASE = ENV["OPENAI_API_BASE"]? # Set this to Azure URL only if Azure OpenAI is used
OPENAI_API_MODEL = ENV["OPENAI_API_MODEL"]? || "gpt-4-1106-preview"
OPENAI_MAX_TOKENS = ENV["OPENAI_MAX_TOKENS"]?.try(&.to_i) || 8192
OPENAI_MAX_TOKENS = ENV["OPENAI_MAX_TOKENS"]?.try(&.to_i) || 11264

# CHANGELOG
#################################################################################################
Expand Down

0 comments on commit b77e495

Please sign in to comment.