Skip to content

Commit 7ed5c93

Browse files
authored
Merge pull request #45 from qntx/execute-plan/bec9e473-pr-4-docs-10-readme-and-examples-for-qntxopenai
refactor: qntx.openai 1.0 (EVM/SVM/TVM, spend_controls, httpx2)
2 parents e24b572 + 98982f1 commit 7ed5c93

50 files changed

Lines changed: 4586 additions & 2972 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.pre-commit-config.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ repos:
2424
rev: v2.3.1
2525
hooks:
2626
- id: mypy
27-
additional_dependencies: ["openai>=1.0.0", "httpx>=0.27.0"]
27+
additional_dependencies: ["openai>=3.7.0", "httpx2>=2.12.0", "x402>=2.21.0"]
2828
args: [--strict, --config-file=pyproject.toml]
2929
pass_filenames: false
30-
entry: mypy src/x402_openai
30+
entry: mypy src/qntx/openai
3131

3232
ci:
3333
autofix_commit_msg: 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

‎Justfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ format:
2121

2222
# Run the mypy type checker.
2323
typecheck:
24-
uv run mypy src/x402_openai
24+
uv run mypy src/qntx/openai
2525

2626
# Run pytest.
2727
test:

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ format: ## Run ruff formatter (auto-fix)
1818
uv run ruff format .
1919

2020
typecheck: ## Run mypy type checker
21-
uv run mypy src/x402_openai
21+
uv run mypy src/qntx/openai
2222

2323
test: ## Run pytest
2424
uv run pytest

0 commit comments

Comments
 (0)