Skip to content

v1.11.0

Latest

Choose a tag to compare

@elamceritech elamceritech released this 25 Nov 12:00
a271f32

v1.11.0

This release adds new ways to start and shape workflows, a much stronger ML training flow, a rebuilt prompt editor, and a full workflow for handling reported feedback. It also improves observability and fixes a large number of bugs.

Workflows can now be started by outside systems through a Webhook Trigger node, and can repeat steps with a new Loop node. Nodes can be grouped on the canvas. Train Model gains hyperparameter search, many more model types, S3 and database sources, Excel/Parquet/JSON files and uploads up to 2 GB. Long training test runs now run as background jobs.

The prompt editor is rebuilt as a three-pane screen with history, LLM-judge checks and step-by-step optimization. Evaluations get should / should-not checks, state carried across turns, results grouped by conversation, categories and import from files. Reported feedback becomes a real issue workflow with configurable statuses, notes, history and topics. Chat replies now stream into the widget as they are written, and Datadog users get JSON logs and traces tagged with the agent, workflow and conversation.

API Allowlisting & Gateway

  • New endpoints: add the routes listed under New Endpoints to your gateway / WAF allowlist.
  • Changed query parameters: several existing endpoints accept new query parameters (listed under "Existing endpoints with query parameter changes"). If your gateway checks query parameters, allow them too.
  • Webhook Trigger (public): external systems call the existing public route GET|POST /api/webhook/execute/{webhook_id}. For trigger endpoints, any extra query parameter the caller sends is passed to the workflow, so this path must allow arbitrary query parameters and the Authorization, X-GenAssist-Timestamp, X-GenAssist-Signature and Idempotency-Key headers.
  • Chat streaming: the widget calls PATCH /api/conversations/in-progress/update/{conversation_id} with Accept: text/event-stream. Proxies and ingress must not buffer this response (for NGINX: proxy_buffering off or X-Accel-Buffering: no) and must allow long-lived responses.
  • Keepalive: studio tests and prompt-editor checks can send X-Keepalive: 1 so long calls survive gateway idle timeouts.
  • New permission: editing issues and adding issue notes needs the new update:conversation permission. It is not added to existing roles automatically, so give it to the roles that should triage feedback.

Workflows

  • Added a Webhook Trigger node. Each trigger gets its own URL, bearer or HMAC authentication, an optional rate limit, idempotency keys, field mapping and a run history. Secrets can be rotated.
  • Added a Loop node, limited by WORKFLOW_LOOP_MAX_ITERATIONS and WORKFLOW_LOOP_MAX_TOTAL_ITERATIONS.
  • Added node grouping, unique names for copied nodes, compact error alerts on nodes and a loading overlay for large workflows.
  • Uploading a workflow can replace items that are missing in the target tenant, and the upload check is faster.
  • Nodes after a join now run once, a run is reported as failed or partial when a node fails, and workflow scripts run in a separate server process.

ML Training

  • Train Model supports hyperparameter optimization and 15 algorithms (including LightGBM, CatBoost, Extra Trees, SVM, KNN and neural networks). The other model type is removed.
  • Train Data Source reads S3, databases (with a query preview), CSV, Excel, Parquet, JSON and JSON Lines, streams large files and accepts uploads up to 2 GB.
  • Training test runs from the Studio run as background jobs on the ML worker, with progress and cancel.
  • Inference now checks feature order, types, categorical values and unseen labels, and gives clear errors.
  • Many fixes to preprocessing, feature engineering, model promotion and file storage, so every server can read training data.

Prompt Editor & Evaluations

  • Rebuilt the prompt editor as a three-pane layout with full history, checks graded by an LLM judge, spend shown per run, and optimization in restorable rounds that learn from grader feedback.
  • Evaluations add should / should-not checks, state carried across turns, run progress, results by conversation with traces, and categories for datasets and evaluations.
  • Conversations can be imported into datasets from the console or from JSON files.

Reported Feedback & Conversations

  • Reported feedback now works like an issue tracker: configurable statuses, fix version, target rollout date, notes, change history, search, share links and a dashboard card.
  • Conversation analysis adds subtopics, and the analyst topics tab is prefilled with four default topics.
  • Chat replies and progress (knowledge search, tool calls) stream to the widget.
  • Conversations can be imported from files.

Observability

  • DATADOG_ENABLED turns on JSON logs and trace tags. Log lines link to their traces, and chat traces carry the agent, workflow and conversation id.
  • Knowledge base sync failures and failed searches are shown instead of empty results. "Sync Now" runs in the background.

Security

  • API key secrets are stored encrypted. ML model files are loaded through an exact allowlist.
  • Workflow Python code cannot reach internal addresses unless SANDBOX_ALLOWED_NETWORKS allows it, and sandbox results can no longer run code in the backend.
  • Database passwords are no longer logged, agent errors no longer show exception text, and database errors are cleaned before they reach the user.
  • SMB share routes now need data source permissions.
  • Updated vite, follow-redirects, brotli and node to fix known vulnerabilities.

Platform

  • Added a tenant time zone setting, and dates on the dashboard, analytics and audit log now follow UTC days correctly.
  • Startup migrations fail fast on a held lock and retry, and Celery workers wait until migrations are done.
  • The chat turn limit added in the v1.10.0 hotfix is removed.
  • Dark mode logo, animated splash screen and many UI fixes.

New Endpoints

Public webhook delivery (/api/webhook/execute): existing path with new behavior

Method Path Params Example
POST or GET (the trigger's configured method) /api/webhook/execute/{webhook_id} Public, no login. The endpoint external systems call for a Webhook Trigger node. Query: x-tenant-id; any other query params, headers and body are passed to the workflow. Bearer mode: Authorization: Bearer <secret>. HMAC mode: X-GenAssist-Timestamp and X-GenAssist-Signature: sha256=<hex HMAC-SHA256 of "{timestamp}.{raw body}">. Optional Idempotency-Key. Body up to WEBHOOK_TRIGGER_MAX_BODY_BYTES. Returns 202 {run_id, status, thread_id, duplicate:false}, or 200 with duplicate:true for a repeated key. Errors: 401, 404, 405, 409, 413, 422, 429 POST /api/webhook/execute/7b1e…?x-tenant-id=<tenant>

Workflow Triggers (/api/genagent/workflow-triggers)

Method Path Params Example
POST /api/genagent/workflow-triggers/provision Body: agent_id (UUID, required), node_id (str 1–255, required), base_url (optional). Creates or returns the trigger; secret is returned only when created POST /api/genagent/workflow-triggers/provision
GET /api/genagent/workflow-triggers/by-agent/{agent_id} agent_id (path, UUID) GET /api/genagent/workflow-triggers/by-agent/3f2c…
GET /api/genagent/workflow-triggers/{trigger_id} trigger_id (path, UUID); 404 if not found GET /api/genagent/workflow-triggers/9a1d…
PUT /api/genagent/workflow-triggers/{trigger_id} Body (optional): method (POST/GET), auth_mode (bearer/hmac), rate_limit_per_minute (0–6000, 0 = no limit), is_active PUT /api/genagent/workflow-triggers/9a1d…
DELETE /api/genagent/workflow-triggers/{trigger_id} Returns 204 DELETE /api/genagent/workflow-triggers/9a1d…
POST /api/genagent/workflow-triggers/{trigger_id}/rotate-secret Returns {secret, auth_mode}; the old secret stops working POST …/9a1d…/rotate-secret
GET /api/genagent/workflow-triggers/{trigger_id}/reveal-secret Needs update:workflow. Returns {secret, auth_mode} GET …/9a1d…/reveal-secret
GET /api/genagent/workflow-triggers/{trigger_id}/runs run_status (query, optional), limit (1–100, default 50), offset (default 0) GET …/9a1d…/runs?run_status=failed&limit=20
GET /api/genagent/workflow-triggers/{trigger_id}/runs/{run_id} Both UUIDs. Returns input, output, error and idempotency key GET …/9a1d…/runs/51c0…
POST /api/genagent/workflow-triggers/{trigger_id}/test Body (optional): payload, query, headers. Skips auth and rate limit. Returns 202 POST …/9a1d…/test

Workflow test jobs (/api/genagent/workflow)

Method Path Params Example
GET /api/genagent/workflow/test-jobs/active Needs test:workflow and a signed-in user. Returns the caller's queued or running job; 404 if none GET /api/genagent/workflow/test-jobs/active
GET /api/genagent/workflow/test-jobs/{job_id} job_id (path). status: queued/running/succeeded/failed/cancelled GET /api/genagent/workflow/test-jobs/4e7a…
POST /api/genagent/workflow/test-jobs/{job_id}/cancel job_id (path). A finished job is returned unchanged POST /api/genagent/workflow/test-jobs/4e7a…/cancel

Conversations & issues (/api/conversations, /api/issue-statuses)

Method Path Params Example
GET /api/conversations/issues/summary Query (optional): from_date, to_date, agent_id, topic, subtopic, search. Returns {total, by_status} GET /api/conversations/issues/summary?agent_id=…
PATCH /api/conversations/issues/{message_feedback_id} Needs update:conversation. Body (partial): status (active status key), fix_version (≤100, blank clears), target_rollout_date (date, null clears); 422 for an unknown status PATCH /api/conversations/issues/5d…
GET /api/conversations/issues/{message_feedback_id}/notes Needs read:conversation GET /api/conversations/issues/5d…/notes
POST /api/conversations/issues/{message_feedback_id}/notes Needs update:conversation. Body: body (str 1–5000, required). Returns 201 POST /api/conversations/issues/5d…/notes
GET /api/conversations/issues/{message_feedback_id}/history Returns [{at, by, field, old, new}] GET /api/conversations/issues/5d…/history
GET /api/conversations/topic-options Returns {topics:[{name, subtopics}]} GET /api/conversations/topic-options
GET /api/issue-statuses Needs read:conversation GET /api/issue-statuses
POST /api/issue-statuses Needs create:app_settings. Body: key (^[a-z][a-z0-9_]{1,49}$), label (1–100), category (todo/in_progress/done), color. Returns 201; 409 if the key exists POST /api/issue-statuses
PATCH /api/issue-statuses/{status_id} Needs update:app_settings. Body (optional): label, category, color, is_active (0/1) PATCH /api/issue-statuses/…
PUT /api/issue-statuses/order Needs update:app_settings. Body: keys (full order, min 1) PUT /api/issue-statuses/order

Evaluations (/api/genagent/eval)

Method Path Params Example
GET /api/genagent/eval/categories Returns the categories in use GET /api/genagent/eval/categories
GET /api/genagent/eval/conversations/{conversation_id}/suites Returns every dataset with turns (0 = conversation not in it) GET …/conversations/1c…/suites
POST /api/genagent/eval/conversations/{conversation_id}/suites Needs update:workflow. Body: suite_ids (1–50). Returns 201 with per-dataset results POST …/conversations/1c…/suites
POST /api/genagent/eval/suites/{suite_id}/cases/import-from-conversations Body: conversation_ids (1–100), replace (default false). Returns 201 POST …/suites/…/cases/import-from-conversations
POST /api/genagent/eval/suites/{suite_id}/cases/import-from-files/preview Multipart files (.json, max 20 files, 5 MB each, 10 MB total). Saves nothing POST …/cases/import-from-files/preview
POST /api/genagent/eval/suites/{suite_id}/cases/import-from-files Same input as preview, saves the cases. Returns 201 POST …/cases/import-from-files
POST /api/genagent/eval/evaluations/checks-preview Body: evaluation_ids (≤200). Shows older methods as checks; saves nothing POST /api/genagent/eval/evaluations/checks-preview
GET /api/genagent/eval/runs/{run_id}/conversations Run results grouped by conversation with counts GET …/runs/8b…/conversations
GET /api/genagent/eval/runs/{run_id}/results/{case_id}/trace Returns {execution_trace} GET …/runs/8b…/results/2f…/trace

Knowledge base (/api/genagent/knowledge)

Method Path Params Example
GET /api/genagent/knowledge/minimal Returns [{id, name}] GET /api/genagent/knowledge/minimal
GET /api/genagent/knowledge/kb-batch-tasks-status kb_id (query, UUID, required). Returns running / succeeded / failed / idle GET …/kb-batch-tasks-status?kb_id=…

Prompt editor (/api/genagent/prompt-editor)

Method Path Params Example
GET /api/genagent/prompt-editor/history/{workflow_id}/{node_id}/{prompt_field} node_id (≤100), prompt_field (≤50); node_type (query, optional). Replaces the deprecated GET /versions/… GET …/history/…/node-1/system_prompt

ML models (/api/ml-models)

Method Path Params Example
GET /api/ml-models/training-data/limits Returns upload limits and supported file types GET /api/ml-models/training-data/limits
POST /api/ml-models/analyze-file Body: file_id or file_url, file_name, sheet_name (optional). CSV, Parquet, Excel, JSON, JSON Lines POST /api/ml-models/analyze-file
POST /api/ml-models/preview-query Needs read:data_source. Body: data_source_id, query (read-only SQL). Returns up to 6 rows; 408 on timeout POST /api/ml-models/preview-query
POST /api/ml-models/profile-data Body: source_type (csv/datasource), file_url, file_id, file_name, sheet_name, data_source_id, query. Returns an HTML report POST /api/ml-models/profile-data
DELETE /api/ml-models/upload/{file_id} Deletes the caller's unused recent .pkl upload. Returns 204 DELETE /api/ml-models/upload/6d…
DELETE /api/ml-models/training-data/upload/{file_id} Deletes the caller's unused recent training upload. Returns 204 DELETE /api/ml-models/training-data/upload/6d…

Access control (/api/roles, /api/api-keys)

Method Path Params Example
GET /api/roles/{role_id}/permissions Returns the role's permission ids GET /api/roles/…/permissions
PUT /api/roles/{role_id}/permissions Body: permission_ids (full replacement set). Returns {added, removed} PUT /api/roles/…/permissions
GET /api/api-keys/list skip (default 0), limit (1–100, default 20), search (name). Paginated, newest first GET /api/api-keys/list?search=prod&limit=50

Updated Endpoints

Method Path Change
PATCH /api/conversations/in-progress/update/{conversation_id} With Accept: text/event-stream, replies stream as Server-Sent Events (delta, activity, done, error, ping every 15 s). Without it the JSON response is unchanged. The 503 "assistant busy" response is removed
GET POST /api/webhook/execute/{webhook_id} Handles Webhook Trigger deliveries (see New Endpoints)
POST PUT GET DELETE /api/webhooks, /api/webhooks/{id} Trigger webhooks are hidden here and can't be created here (400). url uses PUBLIC_API_URL when set
POST /api/genagent/workflow/test, /api/genagent/workflow/test-node Workflows with a Train Model node are queued as a background job (202; 409 if one is already running). Optional X-Keepalive: 1. New node types: webhookTriggerNode, switchNode, filterNode, loopNode
POST /api/genagent/prompt-editor/evaluate/…, /optimize/… Optional X-Keepalive: 1. Evaluate: techniques now required (1–8), adds technique_configs, case_ids, max_cases. Optimize: new failed_cases shape plus case_split, previous_attempts, passing_case_ids. Responses add outcome, cost and provenance fields
POST /api/genagent/prompt-editor/versions/{workflow_id}/{node_id}/{prompt_field} content ≤200,000 chars; 409 when another save finished first; node_id ≤100, prompt_field ≤50
GET /api/genagent/prompt-editor/versions/{workflow_id}/{node_id}/{prompt_field} Deprecated, use /history/…
GET /api/genagent/knowledge/kb-batch-tasks-execution Breaking: starts the sync in the background and returns `{status:"started"
GET /api/genagent/knowledge/list Query params changed (see below)
POST /api/genagent/knowledge/search Returns partial results when only some sources fail
GET /api/conversations/issues Query params changed (see below). Rows add agent_name, conversation_subtopic, fix_version, target_rollout_date, matched_note
GET /api/conversations, /api/conversations/filter/count, /api/conversations/{conversation_id} Query params changed (see below). Analysis adds subtopic
GET /api/audit-logs/search Query params changed: cursor paging
GET /api/dashboard/agents Query params changed: today_start / today_end (together, with timezone offset; else 422)
GET /api/analytics/llm-usage/summary, /timeseries, /breakdown, /filter-options, /export Query params changed: activity_from_datetime / activity_to_datetime. Summary adds conversation cost fields and last_fallback_at
GET /api/genagent/eval/workflows/…/evaluations, /evaluations/export, /evaluation-summaries Query params changed: category, uncategorized (and search on summaries)
POST /api/genagent/eval/workflows/{workflow_id}/evaluations/run Body adds category / uncategorized
POST PATCH /api/genagent/eval/suites…, /api/genagent/eval/evaluations… Add category (≤50; "" clears). Test runs add progress
POST /api/file-manager/upload Query params changed: purpose=training_data (up to ML_TRAINING_UPLOAD_MAX_BYTES, training file types only)
POST /api/file-manager/upload-session, /upload-session/presign Body adds purpose
POST PUT /api/ml-models, /api/ml-models/{id} Breaking: model_type other removed; 11 new types. Adds inference_params; responses add training_metrics, registration_notices
POST /api/ml-models/analyze-csv file_url optional; adds file_id, file_name
POST /api/ml-models/profile-csv Kept as a hidden alias of /profile-data with the new body
POST /api/ml-models/{model_id}/pipeline-runs/{run_id}/promote Response adds warnings
POST /api/genagent/agents/{agent_id}/query/{thread_id} Response adds has_failures, failed_nodes
GET /api/auth/me Adds is_master_tenant
GET /api/permissions… Adds is_admin_only
GET /api/llm-providers… Adds updated_at
POST /api/datasources/test-connection Now needs read:data_source
all /api/smb-share/* Now need data source permissions; GET /execute-celery-jobs no longer works without auth

Existing endpoints with query parameter changes

Method Path Query parameter change
GET /api/genagent/knowledge/list Added search, type. Removed from_date, to_date, operator_id, order_by, sort_direction
GET /api/conversations/issues Added agent_id, topic, subtopic, search, feedback_id. status is now repeatable free text. Removed workflow_id
GET /api/conversations, /api/conversations/filter/count, /api/conversations/{conversation_id} Added conversation_subtopics (repeatable). conversation_topics accepts any text
GET /api/audit-logs/search Added before_modified_at, before_id
GET /api/dashboard/agents Added today_start, today_end
GET /api/analytics/llm-usage/summary, /timeseries, /breakdown, /filter-options, /export Added activity_from_datetime, activity_to_datetime. /breakdown dimension accepts analyst_purpose
GET /api/genagent/eval/workflows/{workflow_id}/evaluations/export Added category, uncategorized
GET /api/genagent/eval/workflows/evaluation-summaries Added search, category, uncategorized
GET /api/genagent/eval/workflows/{workflow_id}/evaluations Added category, uncategorized
POST /api/file-manager/upload Added purpose
GET POST /api/webhook/execute/{webhook_id} For Webhook Trigger endpoints, any extra query parameter is passed to the workflow

Removed Endpoints

Method Path Replacement
PATCH /api/conversations/issues/{message_feedback_id}/status PATCH /api/conversations/issues/{message_feedback_id} with {"status": "<key>"}
POST /api/genagent/prompt-editor/versions/{version_id}/restore Save the old content as a new version
DELETE /api/genagent/prompt-editor/versions/{version_id}/hard DELETE /api/genagent/prompt-editor/versions/{version_id} (soft delete)
GET /api/playground/… sample endpoint None (sample mock removed)

New Settings

Name Default Meaning
PUBLIC_API_URL unset Public API root ending in /api; webhook and trigger URLs are built from it
WEBHOOK_TRIGGER_MAX_BODY_BYTES 1048576 Largest Webhook Trigger body
WEBHOOK_TRIGGER_HMAC_TOLERANCE_SECONDS 300 Allowed clock difference for HMAC deliveries
WORKFLOW_LOOP_MAX_ITERATIONS 1000 Most iterations of one Loop node
WORKFLOW_LOOP_MAX_TOTAL_ITERATIONS 5000 Most loop iterations in one run
ML_TRAINING_UPLOAD_MAX_BYTES 2147483648 Largest training upload
ML_EXTRACT_MAX_ROWS / ML_EXTRACT_MAX_BYTES 2000000 / 2147483648 Limits for Train Data Source extraction
ML_EXTRACT_TIMEOUT_SECONDS 600 Time limit for extraction and preview queries
ML_EXTRACT_CHUNK_ROWS 2000 Rows in memory while streaming
ML_EXTRACT_JSON_MAX_BYTES 536870912 Limit for .json array files
ML_PROFILE_MAX_ROWS 100000 Rows read for analysis and profiling
ML_TRAINING_MAX_CORES 2 CPU cores per training job
ML_HPO_MAX_FITS 1000 Largest hyperparameter search
ML_TRAINING_JOB_TTL_SECONDS 86400 How long a training job's result stays readable
CONVERSATION_ANALYSIS_BACKFILL_MAX_ATTEMPTS 3 Backfill attempts per conversation
CONVERSATION_ANALYSIS_BACKFILL_MAX_AGE_DAYS 30 Only conversations this recent are backfilled (0 = no limit)
CONVERSATION_ANALYSIS_BACKFILL_RETRY_DELAY_MINUTES 60 Wait between backfill attempts
HOSTILITY_SCORE_EVERY_N_MESSAGES 3 Score hostility every Nth customer message
MIGRATION_LOCK_TIMEOUT_SECONDS / MIGRATION_LOCK_RETRIES 5 / 5 Lock wait and retries for startup migrations
CELERY_WAIT_FOR_SCHEMA true Workers wait until migrations are done
SCHEMA_WAIT_TIMEOUT_SECONDS / SCHEMA_WAIT_INTERVAL_SECONDS 900 / 5 How long and how often workers check the schema
DATADOG_ENABLED false JSON logs and trace tags for Datadog
S3_DATA_SOURCES_USE_SERVER_ROLE false S3 data sources without keys use the server's AWS access. Keep off on shared servers
AWS_SESSION_TOKEN unset Session token for temporary AWS credentials
SANDBOX_ALLOWED_NETWORKS unset Internal IPs / CIDRs that workflow Python code may reach
ANALYTICS_AGG_V2 true New analytics aggregation
ANALYTICS_AGG_PREVIEW_ENABLED false Aggregation preview
ANALYTICS_AGG_HEAL_LOOKBACK_HOURS 12 Seed window on first switch to the new aggregation
ANALYTICS_AGG_SCAN_OVERLAP_MINUTES 15 Scan overlap so in-flight writes aren't missed

Removed settings: CHAT_TURN_MAX_INFLIGHT, CHAT_TURN_QUEUE_TIMEOUT_SECONDS, LLM_EXECUTOR_THREADS, GRACEFUL_SHUTDOWN_TIMEOUT_SECONDS. The Celery result backend is disabled and CELERY_RESULT_BACKEND is ignored.


Full Changelog: v1.10.0...v1.11.0