34 lines
832 B
TOML
34 lines
832 B
TOML
[project]
|
|
name = "hindsight-openai"
|
|
version = "0.1.0"
|
|
description = "Drop-in replacement for OpenAI client with automatic Hindsight integration"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"openai>=1.0.0",
|
|
"hindsight-client",
|
|
# Transitive dependency security fixes
|
|
"aiohttp>=3.13.3", # Multiple DoS vulnerabilities
|
|
"urllib3>=2.6.3", # Decompression-bomb safeguards bypass
|
|
]
|
|
|
|
[tool.uv.sources]
|
|
hindsight-client = { path = "../../hindsight-clients/python" }
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
"pytest-mock>=3.10.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["hindsight_openai"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|