Commit graph

4888 commits

Author SHA1 Message Date
yangdx
09abb656b8 Improve log message formatting for better readability 2025-09-09 17:41:09 +08:00
Daniel.y
f064b950fc
Merge pull request #2027 from Matt23-star/main
Refactor: PostgreSQL
2025-09-09 15:12:35 +08:00
Daniel.y
92058187f7
Merge pull request #2082 from danielaskdd/prompt-optimization
Prompt Optimization: remove angle brackets from entity and relationship output formats
2025-09-09 12:11:39 +08:00
yangdx
564850aa9d Update webui assets and bump api version to 0218 2025-09-09 11:41:02 +08:00
yangdx
f1d6d949f1 Fix assistant message display content fallback logic
- Handle undefined vs empty string cases
- Prevent COT content keep rendering before </think> tag recieved
2025-09-09 11:39:59 +08:00
yangdx
06db511f3b Remove angle brackets from entity and relationship output formats 2025-09-09 09:21:23 +08:00
Daniel.y
569ed94d15
Merge pull request #2079 from danielaskdd/fix-cot-render-fall-back
Fix assistant message display with content fallback
2025-09-08 23:48:07 +08:00
yangdx
6157318408 Update webui assets and bump api to 0217 2025-09-08 23:37:34 +08:00
yangdx
3912b7d281 Fix assistant message display with content fallback
• Add content fallback for compatibility
• Update comment for clarity
• Prevent empty assistant messages
2025-09-08 23:35:31 +08:00
yangdx
ff6c061aa9 Remove conditional check for latest Docker tag
- Remove is_default_branch condition
- Always apply latest tag
2025-09-08 23:23:13 +08:00
yangdx
3059089e7d Fix logging order in pipeline history trimming 2025-09-08 23:00:44 +08:00
yangdx
d57fce1aac Add manual trigger to PyPI publish workflow 2025-09-08 22:03:54 +08:00
Daniel.y
14eb3d6a16
Merge pull request #2078 from danielaskdd/update-cons
Increase default Gunicorn worker timeout from 210 to 300 seconds
2025-09-08 20:12:58 +08:00
yangdx
8ad7109313 Fix linting 2025-09-08 20:11:21 +08:00
yangdx
8d53ef7ff0 Increase default Gunicorn worker timeout from 210 to 300 seconds 2025-09-08 20:03:21 +08:00
Daniel.y
5f349d507c
Merge pull request #2077 from danielaskdd/render-thinking-block
Feature: Add LLM COT Rendering support for WebUI
2025-09-08 19:47:47 +08:00
yangdx
56df4ac4b1 Update webui assets and bump api version to 0216 2025-09-08 19:36:49 +08:00
yangdx
4346846e5a Fix thinking content extraction to prevent duplication and overwriting
- Add thinkingProcessed ref to track state
- Extract thinking content only once
- Preserve real-time thinking updates
- Reset processed flag on new queries
- Always update display content stream
2025-09-08 19:34:05 +08:00
yangdx
eeff0d5c67 Fix thinking state management and UI improvements for chat messages
- Reset expansion state on new thinking
- Prevent content leakage during thinking
- Update thinkingTime type to allow null
- Add memory leak prevention cleanup
- Add missing i18n translations
2025-09-08 18:47:41 +08:00
yangdx
2ba10dbb5b Add AI thinking process display with expandable UI and timing
- Add thinking fields to Message type
- Create expandable thinking section
- Track thinking time during streaming
2025-09-08 18:09:04 +08:00
yangdx
de4fe8bc7d Improve uvicorn workers warning message clarity 2025-09-08 16:05:51 +08:00
yangdx
9437df83cc Add memory management for pipeline history messages
- Trim history at 10k messages
- Keep latest 5k messages
- Prevent memory growth
- Add logging for trim events
2025-09-08 15:56:35 +08:00
Daniel.y
298037d8f7
Merge pull request #2076 from danielaskdd/prompt-refactor
refactor: Optimize Entity Extraction for Small Parameter LLMs with Enhanced Prompt Caching
2025-09-08 15:40:13 +08:00
yangdx
d218f15a62 Refactor entity extraction with system prompts and output limits
- Add system/user prompt separation
- Set max tokens for endless output fix
- Improve extraction error logging
- Update cache type from extract to summary
2025-09-08 15:20:45 +08:00
Daniel.y
c568e2a972
Merge pull request #2075 from k-shlomi/patch-1
fix env file example
2025-09-08 14:17:51 +08:00
Shlomi
8d7ef07bbf
fix env file example 2025-09-07 15:22:24 +03:00
yangdx
451f488f72 Add debug logging for client configs in OpenAI LLM function 2025-09-07 02:29:37 +08:00
yangdx
c87eb2cfcf Increase timeout buffers for async function calls
• Extend execution timeout buffer to 150s
• Extend task duration buffer to 180s
• Account for low-level retry delays
• Improve health check phase handling
• Reduce timeout-related failures
2025-09-06 23:56:24 +08:00
yangdx
725db3b240 Fix linting in the prompt 2025-09-06 11:16:49 +08:00
yangdx
219a08b7c9 Restore completion_delimiter 2025-09-06 11:13:37 +08:00
yangdx
528d04a0e4 Update prompt template delimiters 2025-09-06 10:35:06 +08:00
Daniel.y
3ec4bd929f
Merge pull request #2072 from danielaskdd/prompt-optimization
Refactor entity extraction prompts and remove completion delimiter.
2025-09-06 09:58:23 +08:00
yangdx
5446815008 Refactor entity extraction prompts and remove completion delimiter.
- Remove `completion_delimiter` from prompts
- Update input/output format markers
2025-09-06 09:13:51 +08:00
yangdx
0a62f02e84 Improve edge logging format and exception prefixes 2025-09-06 08:35:52 +08:00
yangdx
64bbe7233b Update env.example 2025-09-06 01:24:12 +08:00
yangdx
387d817fc2 Remove trailing colons from queue names in function wrappers 2025-09-06 00:53:05 +08:00
yangdx
e4dd83ee3d Change tooltips font to a smaller one 2025-09-05 22:14:28 +08:00
yangdx
83952d45eb Merge branch 'show-meta-data' 2025-09-05 22:07:07 +08:00
yangdx
c77e045fb3 Update webui assets and bump api version to 0215 2025-09-05 22:05:52 +08:00
Daniel.y
c0a9377200
Merge pull request #2070 from danielaskdd/show-meta-data
feature: Enhance document status display with metadata tooltips and better icons
2025-09-05 22:04:51 +08:00
yangdx
1be7c53fcc Enhance document status display with metadata tooltips and better icons
- Add metadata formatting with timestamps
- Replace warning emoji with proper icons
- Show tooltips for errors and metadata
- Import AlertTriangle and Info icons
- Improve status cell layout and styling
2025-09-05 22:02:26 +08:00
Daniel.y
fcc737c83e
Merge pull request #2069 from danielaskdd/error-message
refactor: Improved Exception Handling with Context-Aware Error Messages
2025-09-05 21:36:52 +08:00
yangdx
6be462511f Add error prefixing for better debugging context in async operations
* Add create_prefixed_exception utility
* Prefix entity processing errors
* Prefix relationship processing errors
* Prefix chunk extraction progress info
* Maintain original exception chains
2025-09-05 21:28:00 +08:00
Daniel.y
8fd7bca8d7
Merge pull request #2068 from danielaskdd/fix-llm-option
refact: Smart Configuration Caching and Conditional Logging
2025-09-05 17:19:44 +08:00
yangdx
385668dec5 Fix malformed tuple delimiters in extraction result processing 2025-09-05 17:14:42 +08:00
yangdx
2db7e4a3e8 Update env.example 2025-09-05 17:13:29 +08:00
yangdx
a1df76a4ea Optimize LLM/embedding config caching to reduce repeated parsing overhead
• Add LLMConfigCache class for smart caching
• Pre-process OpenAI/Ollama configurations
• Create optimized function factories
• Reduce redundant option parsing calls
2025-09-05 16:36:08 +08:00
Daniel.y
dc14623b42
Merge pull request #2064 from danielaskdd/history-message-truncate
feat: Limit Pipeline Status History Messages to Latest 1000 Entries
2025-09-05 13:09:39 +08:00
yangdx
17d665c9f3 Limit history messages to latest 1000 entries with truncation indicator
• Limit history to 1000 latest messages
• Add truncation message when needed
• Show count of truncated messages
• Update API documentation
• Prevent memory issues with large logs
2025-09-05 12:31:36 +08:00
yangdx
0ccf2036c6 Refactor Docker workflows: rename and clean up build processes
• Rename workflows for clarity
• Remove debug git commands
2025-09-05 11:46:56 +08:00