aixtools 0.1.3__tar.gz → 0.1.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aixtools might be problematic. Click here for more details.
- {aixtools-0.1.3 → aixtools-0.1.4}/PKG-INFO +1 -1
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/_version.py +3 -3
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/mcp/faulty_mcp.py +7 -7
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools.egg-info/PKG-INFO +1 -1
- {aixtools-0.1.3 → aixtools-0.1.4}/.env_template +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/.github/workflows/build_and_publish_docker.yml +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/.github/workflows/lint.yml +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/.github/workflows/release.yml +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/.gitignore +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/.python-version +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/.roo/rules/rules-mcp.md +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/.roo/rules/rules.md +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/.vscode/settings.json +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/README.md +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/.chainlit/config.toml +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/.chainlit/translations/bn.json +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/.chainlit/translations/en-US.json +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/.chainlit/translations/gu.json +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/.chainlit/translations/he-IL.json +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/.chainlit/translations/hi.json +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/.chainlit/translations/ja.json +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/.chainlit/translations/kn.json +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/.chainlit/translations/ml.json +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/.chainlit/translations/mr.json +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/.chainlit/translations/nl.json +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/.chainlit/translations/ta.json +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/.chainlit/translations/te.json +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/.chainlit/translations/zh-CN.json +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/__init__.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/a2a/__init__.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/a2a/app.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/a2a/utils.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/agents/__init__.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/agents/agent.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/agents/agent_batch.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/app.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/chainlit.md +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/context.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/db/__init__.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/db/database.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/db/vector_db.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/log_view/__init__.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/log_view/app.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/log_view/display.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/log_view/export.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/log_view/filters.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/log_view/log_utils.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/log_view/node_summary.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/logfilters/__init__.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/logfilters/context_filter.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/logging/__init__.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/logging/log_objects.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/logging/logging_config.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/logging/mcp_log_models.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/logging/mcp_logger.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/logging/model_patch_logging.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/logging/open_telemetry.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/mcp/__init__.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/mcp/example_client.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/mcp/example_server.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/mcp/fast_mcp_log.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/model_patch/model_patch.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/server/__init__.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/server/app_mounter.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/server/path.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/server/utils.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/testing/__init__.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/testing/aix_test_model.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/testing/mock_tool.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/testing/model_patch_cache.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/tools/doctor/__init__.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/tools/doctor/tool_doctor.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/tools/doctor/tool_recommendation.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/utils/__init__.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/utils/chainlit/cl_agent_show.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/utils/chainlit/cl_utils.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/utils/config.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/utils/config_util.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/utils/enum_with_description.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/utils/persisted_dict.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools/utils/utils.py +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools.egg-info/SOURCES.txt +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools.egg-info/dependency_links.txt +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools.egg-info/entry_points.txt +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools.egg-info/requires.txt +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/aixtools.egg-info/top_level.txt +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/docker/mcp-base/Dockerfile +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/notebooks/example_faulty_mcp_server.ipynb +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/notebooks/example_mcp_server_stdio.ipynb +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/notebooks/example_raw_mcp_client.ipynb +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/notebooks/example_tool_doctor.ipynb +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/pyproject.toml +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/scripts/config.sh +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/scripts/lint.sh +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/scripts/log_view.sh +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/scripts/run_example_mcp_server.sh +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/scripts/run_faulty_mcp_server.sh +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/scripts/run_server.sh +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/setup.cfg +0 -0
- {aixtools-0.1.3 → aixtools-0.1.4}/uv.lock +0 -0
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '0.1.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 1,
|
|
31
|
+
__version__ = version = '0.1.4'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 1, 4)
|
|
33
33
|
|
|
34
|
-
__commit_id__ = commit_id = '
|
|
34
|
+
__commit_id__ = commit_id = 'g2ba64c16e'
|
|
@@ -128,19 +128,19 @@ class StarletteErrorMiddleware: # pylint: disable=too-few-public-methods
|
|
|
128
128
|
logger.info("[StarletteErrorMiddleware] Simulating 404 error on DELETE request")
|
|
129
129
|
should_inject_404 = True
|
|
130
130
|
|
|
131
|
-
if http_method == "GET":
|
|
132
|
-
random_number = random()
|
|
133
|
-
logger.info("[StarletteErrorMiddleware] random number: %f", random_number)
|
|
134
|
-
if random_number < config.prob_on_get_crash:
|
|
135
|
-
logger.warning("[StarletteErrorMiddleware] Simulating server crash on GET request!")
|
|
136
|
-
os.kill(os.getpid(), 9)
|
|
137
|
-
|
|
138
131
|
async def logging_receive():
|
|
139
132
|
nonlocal should_inject_404
|
|
140
133
|
message = await receive()
|
|
141
134
|
logger.info("[StarletteErrorMiddleware] Received message: %s", str(message))
|
|
142
135
|
|
|
143
136
|
if message["type"] == "http.request": # pylint: disable=too-many-nested-blocks
|
|
137
|
+
if http_method == "GET":
|
|
138
|
+
random_number = random()
|
|
139
|
+
logger.info("[StarletteErrorMiddleware] random number: %f", random_number)
|
|
140
|
+
if random_number < config.prob_on_get_crash:
|
|
141
|
+
logger.warning("[StarletteErrorMiddleware] Simulating server crash on GET request!")
|
|
142
|
+
os.kill(os.getpid(), 9)
|
|
143
|
+
|
|
144
144
|
body = message.get("body", b"")
|
|
145
145
|
if body:
|
|
146
146
|
body_parts.append(body)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|