- _history_kwargs unconditionally populates input_text/output_text for cost tracking, regardless of save_history toggle. - OllamaClient falls back to prompt_eval_count/eval_count before tiktoken. - Release 0.5.2.
60 lines
No EOL
1.6 KiB
TOML
60 lines
No EOL
1.6 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "guanaco-llm-proxy"
|
|
version = "0.5.2"
|
|
description = "OpenAI-compatible LLM proxy that maximizes Ollama Cloud subscriptions — search/scrape API emulation, usage tracking, fallback provider support, and a web dashboard"
|
|
readme = "README.md"
|
|
license = {text = "MIT"}
|
|
requires-python = ">=3.10"
|
|
authors = [
|
|
{name = "Guanaco Contributors"}
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Environment :: Web Environment",
|
|
"Framework :: FastAPI",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Topic :: Software Development :: Libraries",
|
|
"Topic :: Internet :: Proxy Servers",
|
|
]
|
|
dependencies = [
|
|
"fastapi>=0.110.0",
|
|
"uvicorn[standard]>=0.29.0",
|
|
"httpx>=0.27.0",
|
|
"pydantic>=2.0",
|
|
"pyyaml>=6.0",
|
|
"jinja2>=3.1",
|
|
"python-multipart>=0.0.9",
|
|
"rich>=13.0",
|
|
"aiosqlite>=0.19.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-asyncio>=0.23",
|
|
"httpx",
|
|
]
|
|
|
|
[project.scripts]
|
|
guanaco = "guanaco.cli:main"
|
|
oct = "guanaco.cli:main"
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/evangit2/guanaco"
|
|
Repository = "https://github.com/evangit2/guanaco"
|
|
Issues = "https://github.com/evangit2/guanaco/issues"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["guanaco*"] |