* release/v0.3.2: (245 commits)
fix(conversation_schema): refine citations field type to Dict[str, Any]
fix(tool_controller): re-raise HTTPException to preserve original status codes
fix(workflow): add reasoning content, suggested questions, citations and audio status support
feat(workflow): augment logging queries and ameliorate error handling
fix(api_key): bypass publication check for SERVICE type API keys
fix(multimodal_service): add '文档内容:' prefix to document text and simplify image placeholder text
fix(api): convert config_id to string in write_router
fix(api): convert end_user_id to string in write_router
fix(multimodal_service): refactor image processing to use intermediate list before extending result
fix(web): node status ui
fix(api): correct import paths in memory_read and celery task command
fix(api): correct import paths in memory_read and celery task command
refactor(tool): flatten request body parameters for model exposure
fix(api): correct import paths in memory_read and celery task command
refactor(workflow): streamline node execution handling and log service logic
feat(web): http request add process
feat(web): workflow app logs
fix(app_chat_service,draft_run_service): move system_prompt augmentation before LangChainAgent instantiation
fix(app_chat_service,draft_run_service): move system_prompt augmentation before LangChainAgent instantiation
refactor(http_request): simplify request handling and remove unused fields
...
# Conflicts:
# api/app/controllers/file_controller.py
# api/app/tasks.py
Change list.append() to list.insert(0, ...) in extract_user_metadata_task so that newly extracted user metadata values appear at the front of each field list, maintaining a newest-first ordering.
- Use Literal['set', 'remove'] for MetadataFieldChange.action instead of str
- Simplify field_path description to reflect current schema
- Remove redundant isinstance check in extract_user_metadata_task
- Replace UserMetadata full-object overwrite with incremental MetadataFieldChange
operations (set/remove per field path)
- Convert profile.role and profile.domain from scalar strings to lists
- Remove UserMetadataBehavioralHints and knowledge_tags fields
- Update Jinja2 prompt to instruct LLM to output incremental changes
- Update extract_user_metadata_task to apply changes via deep-copy and
per-field mutation for proper SQLAlchemy change detection
- Minor lint: remove unnecessary f-string prefixes in tasks.py
- Make MetadataExtractor language param optional (default None) to
support auto-detection fallback when no language is explicitly set
- Refactor clean_metadata from walrus-operator dict comprehension to
explicit loop for correctness and readability
- Remove _replace_first_person_with_user from StatementExtractor to preserve
original user text for downstream metadata/alias extraction
- Delete metadata_utils.py module, inline clean_metadata into Celery task
- Remove unused imports and commented-out collect_user_raw_messages method
- Apply formatting cleanup across metadata models and extraction orchestrator
- Merge alias add/remove into MetadataExtractionResponse and Celery metadata task,
removing the separate sync step from extraction_orchestrator
- Replace first-person pronouns ("我") with "用户" in statement extraction to
preserve identity semantics for downstream metadata/alias extraction
- Update extract_statement.jinja2 prompt to enforce "用户" as subject for user
statements instead of resolving to real names
- Add alias change instructions (aliases_to_add/aliases_to_remove) to
extract_user_metadata.jinja2 with incremental merge logic
- Deduplicate special entities ("用户", "AI助手") in graph_saver by reusing
existing Neo4j node IDs per end_user_id
- Sync final aliases from PgSQL to Neo4j user entity nodes after metadata write
- Remove merge_metadata and its helper functions from metadata_utils.py
- Pass existing_metadata to MetadataExtractor.extract_metadata() as LLM context
- Add merge instructions to extract_user_metadata.jinja2 prompt (zh/en)
- Update Celery task to read existing metadata before extraction and overwrite
- Simplify field descriptions in UserMetadataProfile model
- Add _update_timestamps helper to track changed fields
- Increased max_connections for Redis pool from 10 to 100.
- Extended socket_timeout from 5 to 10 seconds.
- Added retry mechanism with exponential backoff for Redis operations in `RedisFairLock`.
- Adjust multi-modal memory write behavior for text and visual data
- Mask API keys in model list response to prevent exposure
- Add capability-based filtering to the model list API