nucliadb-agentic-api 1.0.0.post292__tar.gz → 1.0.0.post296__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.
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/PKG-INFO +1 -1
- nucliadb_agentic_api-1.0.0.post296/VERSION +1 -0
- nucliadb_agentic_api-1.0.0.post296/alembic/versions/b3781ec6a8ad_migration_of_aws_claude_4_1_opus.py +26 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/pyproject.toml +1 -1
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/pyproject.toml.orig +1 -1
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/server/session.py +15 -1
- nucliadb_agentic_api-1.0.0.post292/VERSION +0 -1
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/README.md +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/alembic/README +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/alembic/env.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/alembic/script.py.mako +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/alembic/versions/0fe6c7b5f33d_migrate_sonnet_and_gpt_5_6_models.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/alembic/versions/7f3b2f92a8c1_add_agentic_config_table.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/alembic/versions/b3c4d5e6f7a8_add_sources_table.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/alembic/versions/c4d5e6f7a8b9_add_agentic_config_soft_deletion.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/alembic.ini +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/VERSION +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/__init__.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/agentic/__init__.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/agentic/ask_handler.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/agentic/ask_result.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/agentic/ask_transform_to_interaction.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/app.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/commands.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/db/__init__.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/db/agentic_configs.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/db/llm_migration_utils.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/db/settings.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/db/sources.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/db/transform.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/exceptions.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/logging.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/models.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/py.typed +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/server/__init__.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/server/server.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/server/settings.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/settings.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/utils.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/v1/__init__.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/v1/agentic_configs.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/v1/ask.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/v1/ask_websocket.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/v1/mcp_content.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/v1/mcp_nucliadb.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/v1/oauth.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/v1/router.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/v1/sources.py +0 -0
- {nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/src/nucliadb_agentic_api/v1/utils.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.0.0.post296
|
nucliadb_agentic_api-1.0.0.post296/alembic/versions/b3781ec6a8ad_migration_of_aws_claude_4_1_opus.py
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"""migration of aws claude 4 1 opus
|
|
2
|
+
|
|
3
|
+
Revision ID: b3781ec6a8ad
|
|
4
|
+
Revises: 0fe6c7b5f33d
|
|
5
|
+
Create Date: 2026-10-01 13:04:16.465758
|
|
6
|
+
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from typing import Sequence, Union
|
|
10
|
+
|
|
11
|
+
from alembic import op
|
|
12
|
+
from nucliadb_agentic_api.db.llm_migration_utils import migrate_llm_models
|
|
13
|
+
|
|
14
|
+
# revision identifiers, used by Alembic.
|
|
15
|
+
revision: str = "b3781ec6a8ad"
|
|
16
|
+
down_revision: Union[str, Sequence[str], None] = "0fe6c7b5f33d"
|
|
17
|
+
branch_labels: Union[str, Sequence[str], None] = None
|
|
18
|
+
depends_on: Union[str, Sequence[str], None] = None
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def upgrade() -> None:
|
|
22
|
+
migrate_llm_models(op.get_bind(), {"aws-claude-4-1-opus": "aws-claude-4-8-opus"})
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def downgrade() -> None:
|
|
26
|
+
pass
|
{nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/pyproject.toml.orig
RENAMED
|
@@ -4,7 +4,7 @@ build-backend = "uv_build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "nucliadb_agentic_api"
|
|
7
|
-
version = "1.0.0.
|
|
7
|
+
version = "1.0.0.post296"
|
|
8
8
|
authors = [{ name = "AI Data Team", email = "learning@nuclia.com" }]
|
|
9
9
|
description = "NucliaDB Agentic API for Hyperforge"
|
|
10
10
|
readme = "README.md"
|
|
@@ -193,6 +193,20 @@ class NucliaDBAgenticSessionManager(SessionManager):
|
|
|
193
193
|
task.add_done_callback(self._remove_task)
|
|
194
194
|
self.tasks.append(task)
|
|
195
195
|
|
|
196
|
+
except BaseExceptionGroup as exc:
|
|
197
|
+
error_group = actionable_exception_group(exc)
|
|
198
|
+
logger.exception("Activation exception")
|
|
199
|
+
errors.capture_exception(error_group)
|
|
200
|
+
observation.set_status("error")
|
|
201
|
+
if topic:
|
|
202
|
+
await self.callback(
|
|
203
|
+
topic,
|
|
204
|
+
AragAnswer(
|
|
205
|
+
exception=ARAGException(detail=exception_detail(error_group)),
|
|
206
|
+
operation=AnswerOperation.ERROR,
|
|
207
|
+
),
|
|
208
|
+
)
|
|
209
|
+
await self.send_message(topic, AgentDone())
|
|
196
210
|
except Exception as e:
|
|
197
211
|
logger.exception("Activation exception")
|
|
198
212
|
errors.capture_exception(e)
|
|
@@ -201,7 +215,7 @@ class NucliaDBAgenticSessionManager(SessionManager):
|
|
|
201
215
|
await self.callback(
|
|
202
216
|
topic,
|
|
203
217
|
AragAnswer(
|
|
204
|
-
exception=ARAGException(detail=
|
|
218
|
+
exception=ARAGException(detail=exception_detail(e)),
|
|
205
219
|
operation=AnswerOperation.ERROR,
|
|
206
220
|
),
|
|
207
221
|
)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.0.0.post292
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nucliadb_agentic_api-1.0.0.post292 → nucliadb_agentic_api-1.0.0.post296}/alembic/script.py.mako
RENAMED
|
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
|