-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
42 lines (37 loc) · 824 Bytes
/
pyproject.toml
File metadata and controls
42 lines (37 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[project]
name = "fastapi-chatgpt"
version = "0.0.1"
description = "使用 FastAPI 构建基于本地离线模型的 ChatGPT API"
authors = [
{ name = "Wu Clan", email = "jianhengwu0407@gmail.com" },
]
dependencies = [
"fastapi>=0.104.1",
"open-interpreter>=0.2.0",
"pydantic-settings>=2.0.3",
"loguru>=0.7.2",
"uvicorn>=0.24.0.post1",
"python-multipart>=0.0.6",
"ollama>=0.1.6",
"msgspec>=0.18.6",
]
requires-python = ">=3.10,<3.12"
readme = "README.md"
license = { text = "MIT" }
[tool.pdm.dev-dependencies]
test = [
"pre-commit>=3.5.0",
]
lint = [
"ruff>=0.1.5",
]
[tool.ruff]
line-length = 120
cache-dir = "./.ruff_cache"
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.isort]
lines-between-types = 1
order-by-type = true
[tool.ruff.format]
quote-style = "single"