-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix(api) Remove slowapi dependency * Found bug in mirascope that requires an empty OPENAI_API_KEY
- Loading branch information
1 parent
658c52d
commit 3acef51
Showing
8 changed files
with
668 additions
and
611 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,30 @@ | ||
# fly.toml app configuration file generated for honcho-restless-dew-484 on 2024-01-18T08:20:57-08:00 | ||
# | ||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file. | ||
# | ||
|
||
app = "honcho" | ||
kill_signal = "SIGINT" | ||
kill_timeout = "5s" | ||
app = 'honcho' | ||
primary_region = 'ewr' | ||
kill_signal = 'SIGINT' | ||
kill_timeout = '5s' | ||
|
||
[build] | ||
|
||
[processes] | ||
api = "python -m uvicorn src.main:app --host 0.0.0.0 --port 8000" | ||
deriver = "python -m src.deriver" | ||
api = 'fastapi run src/main.py' | ||
deriver = 'python -m src.deriver' | ||
|
||
[http_service] | ||
internal_port = 8000 | ||
auto_stop_machines = false | ||
auto_stop_machines = 'off' | ||
auto_start_machines = true | ||
min_machines_running = 1 | ||
processes = ["api"] | ||
processes = ['api'] | ||
|
||
[http_service.concurrency] | ||
type = "requests" | ||
type = 'requests' | ||
hard_limit = 250 | ||
soft_limit = 200 | ||
|
||
[[vm]] | ||
cpu_kind = "shared" | ||
memory = '512mb' | ||
cpu_kind = 'shared' | ||
cpus = 1 | ||
memory_mb = 512 | ||
processes = ["api", "deriver"] | ||
processes = ['api', 'deriver'] |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,27 +4,27 @@ version = "0.0.11" | |
description = "Honcho Server" | ||
authors = ["Plastic Labs <[email protected]>"] | ||
readme = "README.md" | ||
package-mode = false | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.9" | ||
fastapi = "^0.111.0" | ||
python-dotenv = "^1.0.0" | ||
sqlalchemy = "^2.0.30" | ||
slowapi = "^0.1.9" | ||
fastapi-pagination = "^0.12.24" | ||
pgvector = "^0.2.5" | ||
openai = "^1.12.0" | ||
sentry-sdk = {extras = ["fastapi", "sqlalchemy"], version = "^2.3.1"} | ||
greenlet = "^3.0.3" | ||
psycopg = {extras= ["binary"], version="^3.1.19"} | ||
httpx = "^0.27.0" | ||
mirascope = "^0.18.2" | ||
opentelemetry-instrumentation-fastapi = "^0.45b0" | ||
opentelemetry-sdk = "^1.24.0" | ||
opentelemetry-exporter-otlp = "^1.24.0" | ||
opentelemetry-instrumentation-sqlalchemy = "^0.45b0" | ||
opentelemetry-instrumentation-logging = "^0.45b0" | ||
rich = "^13.7.1" | ||
mirascope = "^0.18.0" | ||
openai = "^1.43.0" | ||
|
||
[tool.poetry.group.test.dependencies] | ||
pytest = "^8.2.2" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters