10xscale-agentflow-cli 0.2.2__tar.gz → 0.2.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.
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/10xscale_agentflow_cli.egg-info/PKG-INFO +1 -1
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/PKG-INFO +1 -1
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/core/config/graph_config.py +1 -1
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/graph/services/graph_service.py +4 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/pyproject.toml +1 -1
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/10xscale_agentflow_cli.egg-info/SOURCES.txt +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/10xscale_agentflow_cli.egg-info/dependency_links.txt +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/10xscale_agentflow_cli.egg-info/entry_points.txt +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/10xscale_agentflow_cli.egg-info/not-zip-safe +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/10xscale_agentflow_cli.egg-info/requires.txt +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/10xscale_agentflow_cli.egg-info/top_level.txt +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/MANIFEST.in +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/README.md +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/Task.md +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow.json +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/commands/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/commands/api.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/commands/build.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/commands/init.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/commands/version.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/constants.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/core/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/core/config.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/core/output.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/core/validation.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/exceptions.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/logger.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/main.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/templates/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/templates/defaults.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/core/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/core/auth/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/core/auth/auth_backend.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/core/auth/base_auth.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/core/auth/jwt_auth.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/core/config/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/core/config/sentry_config.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/core/config/settings.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/core/config/setup_logs.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/core/config/setup_middleware.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/core/config/worker_middleware.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/core/exceptions/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/core/exceptions/general_exception.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/core/exceptions/handle_errors.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/core/exceptions/resources_exceptions.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/core/exceptions/user_exception.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/loader.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/main.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/checkpointer/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/checkpointer/router.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/checkpointer/schemas/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/checkpointer/schemas/checkpointer_schemas.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/checkpointer/services/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/checkpointer/services/checkpointer_service.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/graph/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/graph/router.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/graph/schemas/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/graph/schemas/graph_schemas.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/graph/services/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/ping/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/ping/router.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/setup_router.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/store/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/store/router.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/store/schemas/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/store/schemas/store_schemas.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/store/services/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/routers/store/services/store_service.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/tasks/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/tasks/user_tasks.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/utils/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/utils/callable_helper.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/utils/parse_output.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/utils/response_helper.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/utils/schemas/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/utils/schemas/output_schemas.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/utils/schemas/user_schemas.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/utils/snowflake_id_generator.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/utils/swagger_helper.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/utils/thread_name_generator.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/worker.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/graph/__init__.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/graph/react.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/graph/thread_name_generator.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/scripts/generate_docs.py +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/setup.cfg +0 -0
- {10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/tests/test_utils_parse_and_callable.py +0 -0
|
@@ -66,7 +66,7 @@ class GraphConfig:
|
|
|
66
66
|
if not path or not method:
|
|
67
67
|
raise ValueError("Both method and path must be provided in auth config")
|
|
68
68
|
|
|
69
|
-
if method == "custom" and path
|
|
69
|
+
if method == "custom" and path:
|
|
70
70
|
return {
|
|
71
71
|
"method": "custom",
|
|
72
72
|
"path": path,
|
|
@@ -217,6 +217,7 @@ class GraphService:
|
|
|
217
217
|
input_data, config, meta = await self._prepare_input(graph_input)
|
|
218
218
|
# add user inside config
|
|
219
219
|
config["user"] = user
|
|
220
|
+
config["user_id"] = user.get("id", "anonymous")
|
|
220
221
|
|
|
221
222
|
# if its a new thread then save the thread into db
|
|
222
223
|
await self._save_thread(config, config["thread_id"])
|
|
@@ -281,6 +282,8 @@ class GraphService:
|
|
|
281
282
|
input_data, config, meta = await self._prepare_input(graph_input)
|
|
282
283
|
# add user inside config
|
|
283
284
|
config["user"] = user
|
|
285
|
+
config["user_id"] = user.get("id", "anonymous")
|
|
286
|
+
|
|
284
287
|
await self._save_thread(config, config["thread_id"])
|
|
285
288
|
|
|
286
289
|
messages_str = []
|
|
@@ -397,6 +400,7 @@ class GraphService:
|
|
|
397
400
|
logger.debug(f"User info: {user}")
|
|
398
401
|
|
|
399
402
|
fix_config = {"thread_id": thread_id, "user": user}
|
|
403
|
+
fix_config["user_id"] = user.get("id", "anonymous")
|
|
400
404
|
if config:
|
|
401
405
|
fix_config.update(config)
|
|
402
406
|
|
|
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
|
{10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/commands/__init__.py
RENAMED
|
File without changes
|
{10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/commands/api.py
RENAMED
|
File without changes
|
{10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/commands/build.py
RENAMED
|
File without changes
|
{10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/commands/init.py
RENAMED
|
File without changes
|
{10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/commands/version.py
RENAMED
|
File without changes
|
{10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/constants.py
RENAMED
|
File without changes
|
{10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/core/__init__.py
RENAMED
|
File without changes
|
{10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/core/config.py
RENAMED
|
File without changes
|
{10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/core/output.py
RENAMED
|
File without changes
|
{10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/core/validation.py
RENAMED
|
File without changes
|
{10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/cli/exceptions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/__init__.py
RENAMED
|
File without changes
|
{10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/core/__init__.py
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
|
{10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/loader.py
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
|
{10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/agentflow_cli/src/app/worker.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/graph/thread_name_generator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{10xscale_agentflow_cli-0.2.2 → 10xscale_agentflow_cli-0.2.4}/tests/test_utils_parse_and_callable.py
RENAMED
|
File without changes
|