-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: Save Point * fix(db): change connection logic and remove unnecessary refreshes * fix(documents): switch to Azure embedding model * feat: Setup pytest fixtures * feat(tests): Initial test routes for tranche 1 * feat(test) tranche 2 of tests and associated bug fixes * feat(test) tranche 3 of tests and associated bug fixes * fix(tests) Address PR comments and update version and changelog
- Loading branch information
1 parent
8154fe5
commit c7029fb
Showing
27 changed files
with
1,611 additions
and
688 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
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,6 +1,7 @@ | ||
version: "3.8" | ||
services: | ||
api: | ||
image: honcho:latest | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
|
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 |
---|---|---|
@@ -1,33 +1,37 @@ | ||
[tool.poetry] | ||
name = "honcho" | ||
version = "0.0.9" | ||
version = "0.0.10" | ||
description = "Honcho Server" | ||
authors = ["Plastic Labs <[email protected]>"] | ||
readme = "README.md" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.9" | ||
fastapi = "^0.111.0" | ||
uvicorn = "^0.29.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 = "^2.3.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" | ||
uvloop = "^0.19.0" | ||
httptools = "^0.6.1" | ||
mirascope = "^0.15.1" | ||
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" | ||
|
||
[tool.poetry.group.test.dependencies] | ||
pytest = "^8.2.2" | ||
sqlalchemy-utils = "^0.41.2" | ||
pytest-asyncio = "^0.23.7" | ||
coverage = "^7.6.0" | ||
interrogate = "^1.7.0" | ||
|
||
[tool.ruff.lint] | ||
# from https://docs.astral.sh/ruff/linter/#rule-selection example | ||
select = [ | ||
|
@@ -51,3 +55,6 @@ extend-immutable-calls = ["fastapi.Depends"] | |
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.lpytest.ini_options] | ||
asyncio_mode = "auto" |
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
Oops, something went wrong.