forked from retoor/devplacepy
Gateway: drop strict on a tool whose schema cannot meet strict mode instead of failing the call with 400
Chat clients such as AIRI send strict: true with looser schemas; the Responses upstream answers 400 unless every object has additionalProperties false and every property is required. The transpiler now downgrades that tool to non-strict and reports it in the warnings list. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
+5
-1
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "devplacepy"
|
||||
version = "1.0.21"
|
||||
version = "1.1.1"
|
||||
description = "DevPlace - The Developer Social Network"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
@@ -35,6 +35,7 @@ dependencies = [
|
||||
"curl_cffi",
|
||||
"faker",
|
||||
"defusedxml",
|
||||
"stealthii @ git+https://retoor.molodetz.nl/retoor/stealthii.git",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
@@ -50,6 +51,9 @@ bots = ["playwright", "faker"]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.metadata]
|
||||
allow-direct-references = true
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests/unit", "tests/api", "tests/e2e"]
|
||||
python_files = ["*.py"]
|
||||
|
||||
Reference in New Issue
Block a user