feat: add AI provider commands with on-chain payment
- Create ai.py with serve and request commands - request includes balance verification and payment via blockchain send - serve runs FastAPI server and optionally registers jobs with coordinator Update marketplace.py: - Add gpu unregister command (DELETE endpoint)
This commit is contained in:
@@ -162,11 +162,12 @@ requires = ["setuptools>=61.0", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["cli"]
|
||||
include = ["aitbc_cli*"]
|
||||
where = ["cli", "apps/coordinator-api"]
|
||||
include = ["aitbc_cli*", "aitbc*"]
|
||||
|
||||
[tool.setuptools.package-dir]
|
||||
"aitbc_cli" = "cli/aitbc_cli"
|
||||
"aitbc" = "apps/coordinator-api/aitbc"
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
|
||||
Reference in New Issue
Block a user