repo
stringlengths
5
53
pr_number
int32
1
321k
task_type
stringclasses
2 values
issue_text
stringlengths
0
81.2k
pr_title
stringlengths
1
319
pr_body
stringlengths
0
105k
base_sha
stringlengths
40
40
head_sha
stringlengths
40
40
gold_diff
stringlengths
0
202M
changed_files
listlengths
0
100
review_threads
listlengths
0
100
test_patch
stringlengths
0
23.4M
merged
bool
1 class
MiniMax-AI/skills
73
issue_to_patch
fix: update Chinese README description
fixed some problems
a81279da83a7405b9b8e0a1771b84522f0376aee
210b6323cc87a3b796f1f27d1789335692441a76
diff --git a/README_zh.md b/README_zh.md index 7d46933d..2d41095c 100644 --- a/README_zh.md +++ b/README_zh.md @@ -26,7 +26,7 @@ | `minimax-multimodal-toolkit` | 通过 MiniMax API 生成语音、音乐、视频和图片内容 — MiniMax 多模态使用场景的统一入口。涵盖 TTS(文字转语音、声音克隆、声音设计、多段合成)、音乐(带词歌曲、纯音乐)、视频(文生视频、图生视频、首尾帧、主体参考、模板、长视频多场景)、图片(文生图、图生图含角色参考),以及基于 FFmpeg...
[ "README_zh.md" ]
[]
true
MiniMax-AI/skills
72
issue_to_patch
fix: fix some problems in minimax-music-playlist
fixed some problems
678e3a5d0972c7f7ab2383eb8d317b2b6c62d6c6
84cff5b7786dc2c27a9c58e0a7702c809eec1ea0
diff --git a/README.md b/README.md index 27332243..f508af20 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Development skills for AI coding agents. Plug into your favorite AI coding tool | `minimax-multimodal-toolkit` | Generate voice, music, video, and image content via MiniMax APIs — the unified entry for ...
[ "README.md", "skills/minimax-music-playlist/SKILL.md", "skills/minimax-music-playlist/data/artist_genre_map.json" ]
[]
true
MiniMax-AI/skills
71
issue_to_patch
feat(buddy-sings, minimax-music-gen): rewrite skills v2 — scriptless, use mmx CLI
## Summary - Remove all hardcoded playback/helper scripts from both skills — agent uses `mmx` CLI directly - Streamline SKILL.md instructions for both skills - Condense `minimax-music-gen` prompt guide reference ## Changes ### buddy-sings - `SKILL.md`: Streamlined instructions (301 lines changed) - Deleted `scripts/...
e5c933854fd98c4845ffd0e693e8d464828fa24d
a7bb7f2278ab00b623146a2a72d64555115f1478
diff --git a/skills/buddy-sings/SKILL.md b/skills/buddy-sings/SKILL.md index 04a745cd..7548caf5 100644 --- a/skills/buddy-sings/SKILL.md +++ b/skills/buddy-sings/SKILL.md @@ -1,14 +1,13 @@ --- name: buddy-sings description: > - Use when user wants their Claude Code pet (/buddy) to sing a song. Triggers on - "buddy...
[ "skills/buddy-sings/SKILL.md", "skills/buddy-sings/scripts/requirements.txt", "skills/minimax-music-gen/SKILL.md", "skills/minimax-music-gen/references/prompt_guide.md", "skills/minimax-music-gen/scripts/mpv_player.sh", "skills/minimax-music-gen/scripts/play_music.py", "skills/minimax-music-gen/scripts/...
[]
true
MiniMax-AI/skills
70
issue_to_patch
feat(minimax-music-playlist): rewrite skill v2 — scriptless, concurrent, with album cover
## Summary - Remove all hardcoded scanning/building scripts — the agent writes them on the fly based on high-level instructions - Add concurrent song generation (up to 5 in parallel) instead of sequential - Add album cover generation via `mmx image generate` (runs concurrently with songs) - Add retry logic for failed ...
d539494c46b723820535c09cc3adac61ad93bec6
a4442c326cd9e9653f1a7a55d6b8fe7604146947
diff --git a/README.md b/README.md index 9fe6878d..27332243 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Development skills for AI coding agents. Plug into your favorite AI coding tool | `minimax-multimodal-toolkit` | Generate voice, music, video, and image content via MiniMax APIs — the unified entry for ...
[ "README.md", "README_zh.md", "skills/minimax-music-playlist/SKILL.md", "skills/minimax-music-playlist/data/artist_genre_map.json", "skills/minimax-music-playlist/scripts/build_taste_profile.py", "skills/minimax-music-playlist/scripts/generate_playlist.py", "skills/minimax-music-playlist/scripts/play_pla...
[]
true
MiniMax-AI/skills
63
issue_to_patch
Fix: BASH_SOURCE[0] and load_env compatibility for sandbox environments
## Summary This PR fixes compatibility issues when running the minimax-multimodal-toolkit skill in OpenClaw sandbox environments. ## Changes ### Script Fixes 1. **BASH_SOURCE[0] defensive fix**: Use `${BASH_SOURCE[0]:-script}` to avoid unbound variable error in `set -u` environments 2. **load_env while loop fix**: A...
1391b63464d11c985fe8d320fb8ac988f582c0d6
c96e19d19b0eb81cf740d2848f60f65ee096d30e
diff --git a/skills/minimax-multimodal-toolkit/SKILL.md b/skills/minimax-multimodal-toolkit/SKILL.md index b7e856f6..ef9a4a02 100644 --- a/skills/minimax-multimodal-toolkit/SKILL.md +++ b/skills/minimax-multimodal-toolkit/SKILL.md @@ -18,63 +18,103 @@ metadata: Generate voice, music, video, and image content via Min...
[ "skills/minimax-multimodal-toolkit/SKILL.md", "skills/minimax-multimodal-toolkit/scripts/image/generate_image.sh", "skills/minimax-multimodal-toolkit/scripts/music/generate_music.sh", "skills/minimax-multimodal-toolkit/scripts/tts/generate_voice.sh", "skills/minimax-multimodal-toolkit/scripts/video/add_bgm....
[]
true
MiniMax-AI/skills
52
issue_to_patch
fix(install): use minimax-{skill_name} prefix for identifiable and safe uninstall
# 中文 ## 总结 修复 OpenCode 安装脚本,使 MiniMax Skills 支持独立管理,避免与用户其他 Skills 冲突。 ## 原有问题 原安装命令 `ln -s ~/.minimax-skills/skills/* ~/.config/opencode/skills/` 存在两个问题: 1. **无法识别** — 创建的符号链接无法区分哪些是 MiniMax 的 Skills,用户难以独立管理 2. **卸载风险** — 原卸载命令直接删除整个 `skills` 目录,会误删用户在该目录中安装的其他 Skills ## 解决方案 | 操作 | 原行为 | 修复后 | |------|---...
cf44f7b12238b8f0703d85bac51fc253fd292b55
f02366cd0fd375da90783dd1d7d01a2de4874e8b
diff --git a/.opencode/INSTALL.md b/.opencode/INSTALL.md index 2a45d01c..01b3268e 100644 --- a/.opencode/INSTALL.md +++ b/.opencode/INSTALL.md @@ -12,7 +12,10 @@ git clone https://github.com/MiniMax-AI/skills.git ~/.minimax-skills mkdir -p ~/.config/opencode/skills -ln -s ~/.minimax-skills/skills/* ~/.config/openco...
[ ".opencode/INSTALL.md", ".opencode/INSTALL_zh.md", "README_zh.md" ]
[ { "comment": "README_zh.md 里的 OpenCode 安装命令仍是 `ln -s ~/.minimax-skills/skills/* ~/.config/opencode/skills/`,这会创建不可区分的链接,且与本 PR 引入的 `minimax-{skill_name}` 前缀方案不一致。建议把这里的命令更新为与 `.opencode/INSTALL_zh.md` 相同的循环创建 `minimax-...` 链接(或直接移除该行并明确让用户按 INSTALL_zh 的命令执行)。\n```suggestion\nfor skill in ~/.minimax-skills/skill...
true
MiniMax-AI/skills
54
issue_to_patch
Bug: minimax-multimodal-toolkit i2i 模式 jq 命令语法错误 ## Bug Report: i2i mode jq command syntax error ### Describe the bug When running `generate_image.sh` with `--mode i2i` (image-to-image with character reference), the script fails with: ``` jq: error: Could not open file . + {subject_reference: .subject_reference}: 没有...
fix: i2i mode jq command to handle base64 with embedded newlines
## Bug Fix ### Problem The i2i (image-to-image) mode in `generate_image.sh` was failing with `2013: invalid params` error when using the MiniMax API. ### Root Cause Two issues: 1. **`jq -R` vs `jq -Rs`**: The script used `jq -R` (raw mode) to read base64 data from a file. `jq -R` splits input by newlines and outputs...
cf44f7b12238b8f0703d85bac51fc253fd292b55
9643620f1aed137de651a23d6f87a1f6b56429e7
diff --git a/skills/minimax-multimodal-toolkit/scripts/image/generate_image.sh b/skills/minimax-multimodal-toolkit/scripts/image/generate_image.sh index 03c8e48c..04782b9c 100755 --- a/skills/minimax-multimodal-toolkit/scripts/image/generate_image.sh +++ b/skills/minimax-multimodal-toolkit/scripts/image/generate_image....
[ "skills/minimax-multimodal-toolkit/scripts/image/generate_image.sh" ]
[]
true
MiniMax-AI/skills
42
issue_to_patch
update: remove redundant characters in README_zh.md
removed redundant characters
f87b423670b193a0b52a10526338f596f673a8b8
0e006d124bc8b601408789cb623433e306990b28
diff --git a/README_zh.md b/README_zh.md index c92e1f5b..a2bf4e7f 100644 --- a/README_zh.md +++ b/README_zh.md @@ -22,11 +22,8 @@ | `pptx-generator` | 生成、编辑和读取 PowerPoint 演示文稿。支持用 PptxGenJS 从零创建(封面、目录、内容、分节页、总结页),通过 XML 工作流编辑现有 PPTX,或用 markitdown 提取文本。 | Official | | `minimax-xlsx` | 打开、创建、读取、分析、编辑或验证 Excel/电子表格文件(.x...
[ "README_zh.md" ]
[]
true
MiniMax-AI/skills
21
issue_to_patch
feat(vision-analysis): add image analysis skill with OCR, UI review, and chart extraction
## What Added a new `vision-analysis` skill that enables AI coding agents to analyze, describe, and extract information from images using the MiniMax `MiniMax_understand_image` MCP tool. Key features: - **5 analysis modes**: describe, OCR, UI review, chart-data extraction, object detection - **Trigger keywords**: i...
f742ee77e42350cb76a5f1aa4c24d9052dd6e352
0a61f2be6a286d0403572d29d3eed6c16233b0ba
diff --git a/README.md b/README.md index 5529e279..a0febf08 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ Development skills for AI coding agents. Plug into your favorite AI coding tool | `pptx-generator` | Generate, edit, and read PowerPoint presentations. Create from scratch with PptxGenJS (cover, TOC, co...
[ "README.md", "README_zh.md", "skills/vision-analysis/SKILL.md" ]
[]
true
MiniMax-AI/skills
25
issue_to_patch
windows的话怎么安装?建议下次出一个windows安装技能的办法 在vscode如何安装?
docs: add Cursor install guide and VS Code note
## What - add a dedicated Cursor install guide with Windows PowerShell commands, verification, update, and uninstall steps - surface the Cursor install guide from both README files - add an explicit VS Code support note so the repo answers the open install question without implying a nonexistent VS Code extension ## W...
f742ee77e42350cb76a5f1aa4c24d9052dd6e352
56a37aec734e84950c420306ec6a83c0277e7944
diff --git a/.cursor-plugin/INSTALL.md b/.cursor-plugin/INSTALL.md new file mode 100644 index 00000000..2449e467 --- /dev/null +++ b/.cursor-plugin/INSTALL.md @@ -0,0 +1,93 @@ +# Installing MiniMax Skills for Cursor + +Enable MiniMax skills in Cursor by cloning the repository locally and pointing Cursor's skills path a...
[ ".cursor-plugin/INSTALL.md", "README.md", "README_zh.md" ]
[ { "comment": "In the Windows (PowerShell) section, the suggested skills path uses `%USERPROFILE%...`, which is CMD-style syntax and inconsistent with the rest of the PowerShell examples that use `$env:USERPROFILE`. This can confuse users (and may not expand in Cursor settings). Consider switching this to a Powe...
true
MiniMax-AI/skills
34
issue_to_patch
fix(image): use temp files for jq to avoid Windows command-line length limit
## 问题 / Problem 在 Windows 上使用 i2i 模式(`--mode i2i --ref-image`)时,脚本会把 base64 编码的图片通过命令行参数传给 `jq`,而 Windows cmd.exe 的参数长度限制约为 32KB,导致: ``` Argument list too long ``` 参考图片一大就炸,Linux/macOS 上则完全正常。 ## 修复 / Fix 把中间 JSON 片段写入临时文件,用 `jq --from-file` 代替命令行传参: - 新增 `build_payload()` 函数,统一处理 payload 构造 - 所有 jq 操作通过临时文件传递,绕过...
34c6cf05d7a2b68076bafa00e6f360bc9506bba6
b4e6c16f4b3c12ff0b31747d7fbaca416e97a177
diff --git a/skills/minimax-multimodal-toolkit/scripts/image/generate_image.sh b/skills/minimax-multimodal-toolkit/scripts/image/generate_image.sh index 369a5143..03c8e48c 100755 --- a/skills/minimax-multimodal-toolkit/scripts/image/generate_image.sh +++ b/skills/minimax-multimodal-toolkit/scripts/image/generate_image....
[ "skills/minimax-multimodal-toolkit/scripts/image/generate_image.sh" ]
[]
true
MiniMax-AI/skills
39
issue_to_patch
feat(minimax): add plan limits & fix video constraints to 768P/6s only
## Summary - Add **Plan Limits & Quotas** section documenting standard and high-speed plan quotas (speech, image, video, music) - Remove all 1080P references — 1080P is not available on any plan, only 768P is supported - Update default video duration from 10s → 6s to align with how plan quotas are counted - Add explic...
34c6cf05d7a2b68076bafa00e6f360bc9506bba6
5361adc8e541dc89788207e8d5c7a8770ef97a1c
diff --git a/skills/minimax-multimodal-toolkit/SKILL.md b/skills/minimax-multimodal-toolkit/SKILL.md index 765a7309..b7e856f6 100644 --- a/skills/minimax-multimodal-toolkit/SKILL.md +++ b/skills/minimax-multimodal-toolkit/SKILL.md @@ -76,6 +76,37 @@ Before running any script, check if `MINIMAX_API_KEY` is set in the en...
[ "skills/minimax-multimodal-toolkit/SKILL.md" ]
[]
true
MiniMax-AI/skills
33
issue_to_patch
feat: add react-native skill
c2c6a25b27549eab1dcbb8e6c8b5cde270d5c68a
7a04b5ecf1da03bf225471e8a09202363e7f1d95
diff --git a/README.md b/README.md index 7de7c3c5..c06028e4 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ Development skills for AI coding agents. Plug into your favorite AI coding tool | `android-native-dev` | Android native application development with Material Design 3. Kotlin / Jetpack Compose, adaptive...
[ "README.md", "README_zh.md", "skills/react-native-dev/SKILL.md", "skills/react-native-dev/references/animations.md", "skills/react-native-dev/references/components.md", "skills/react-native-dev/references/engineering.md", "skills/react-native-dev/references/forms.md", "skills/react-native-dev/referenc...
[]
true
MiniMax-AI/skills
32
issue_to_patch
add flutter dev skill
33cdc32a8e9905f4eedab7246e4779df48a06922
2995582a5effe9000023f190aa7147a5116cd05c
diff --git a/README.md b/README.md index 5529e279..7de7c3c5 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ Development skills for AI coding agents. Plug into your favorite AI coding tool | `fullstack-dev` | Full-stack backend architecture and frontend-backend integration. REST API design, auth flows (JWT, se...
[ "README.md", "README_zh.md", "skills/flutter-dev/SKILL.md", "skills/flutter-dev/references/animations.md", "skills/flutter-dev/references/bloc-state.md", "skills/flutter-dev/references/forms.md", "skills/flutter-dev/references/gorouter-navigation.md", "skills/flutter-dev/references/localization.md", ...
[]
true
MiniMax-AI/skills
3
issue_to_patch
fix(android-native-dev): Add testing for android-native-dev skill
1. Add local testing with Robolectric, JUnit4, MockK. 2. Add instrumentation tests with AndroidX Test, Espresso. 3. Add Compose UI testing with ComposeUI's testing library. 4. Add Gradle Managed Device to run instrumentation tests locally with Emulator for verification.
f742ee77e42350cb76a5f1aa4c24d9052dd6e352
fb18ac5aa161002e5f5fbdd14d7ce65da1cdb270
diff --git a/skills/android-native-dev/SKILL.md b/skills/android-native-dev/SKILL.md index a42a3632..ddb3c280 100644 --- a/skills/android-native-dev/SKILL.md +++ b/skills/android-native-dev/SKILL.md @@ -780,3 +780,104 @@ See [Design Style Guide](references/design-style-guide.md) for detailed style pr | Privacy & Secur...
[ "skills/android-native-dev/SKILL.md", "skills/android-native-dev/references/testing.md" ]
[]
true
MiniMax-AI/skills
26
issue_to_patch
chore: sync plugin metadata with current skills
## What - update the root Claude plugin metadata to reflect the current shipped skill catalog instead of only frontend/fullstack/android - update the root Cursor plugin metadata to include multimodal capabilities in its description and keywords - keep the metadata wording broad enough to stay aligned as the existing sk...
f742ee77e42350cb76a5f1aa4c24d9052dd6e352
14106a3ffd5b4a7e8a1adee0cf9b8767aaef471c
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 1b6e31e8..d46f8693 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -1,13 +1,13 @@ { "name": "minimax-skills", - "description": "MiniMax AI skills library for frontend, fullstack, and Android n...
[ ".claude-plugin/marketplace.json", ".claude-plugin/plugin.json", ".cursor-plugin/plugin.json" ]
[ { "comment": "In `.claude-plugin/plugin.json`, the updated description explicitly mentions GIF sticker, document, presentation, and spreadsheet workflows, but the updated `keywords` list omits several of those corresponding search terms (e.g., `sticker`, `document`, `presentation`, `spreadsheet`/`excel`, `word`...
true
MiniMax-AI/skills
28
issue_to_patch
fix: fix YAML frontmatter in minimax-multimodal-toolkit SKILL.md
## Summary - Fix YAML parse error caused by unquoted colon in `description` field (`MiniMax AI: TTS` was interpreted as a mapping key) - Use block scalar (`>`) format for the description to safely handle colons - Add missing recommended fields: `license: MIT` and `metadata` (version + category) ## Validation All 11 ...
f742ee77e42350cb76a5f1aa4c24d9052dd6e352
6ec1c6a7f1fa479a253052a7c1380c424d518455
diff --git a/skills/minimax-multimodal-toolkit/SKILL.md b/skills/minimax-multimodal-toolkit/SKILL.md index 2d971a14..765a7309 100644 --- a/skills/minimax-multimodal-toolkit/SKILL.md +++ b/skills/minimax-multimodal-toolkit/SKILL.md @@ -1,6 +1,17 @@ --- name: minimax-multimodal-toolkit -description: MiniMax multimodal ...
[ "skills/minimax-multimodal-toolkit/SKILL.md" ]
[]
true
MiniMax-AI/skills
16
issue_to_patch
docs: add Star History and update minimax-multimodal-toolkit source to Official
## Summary - Change `minimax-multimodal-toolkit` source from `Community` to `Official` in both `README.md` and `README_zh.md` - Add ⭐ Star History chart section (before License) to both `README.md` and `README_zh.md` Made with [Cursor](https://cursor.com)
52b72fb4c016f4e0ce8992bfaf9c8226b05afadd
002174b65129c5c7687ceeb9940b0eae28f44ab4
diff --git a/README.md b/README.md index 88f6a33a..5529e279 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Development skills for AI coding agents. Plug into your favorite AI coding tool | `pptx-generator` | Generate, edit, and read PowerPoint presentations. Create from scratch with PptxGenJS (cover, TOC, co...
[ "README.md", "README_zh.md" ]
[]
true
MiniMax-AI/skills
13
issue_to_patch
feat: add minimax-multimodal-toolkit skill
## Summary - Add new community skill `minimax-multimodal-toolkit` for MiniMax multimodal content generation - Update `README.md` and `README_zh.md` to include the new skill in the skills table - Validation passes: `validate_skills.py` exits with code 0 (2 non-blocking warnings for missing `license` and `metadata` fiel...
dd8ddcd099a484c40f70ca132f3266c43dfb8557
bb821d62d3044437ef10204403d2e6dfcaff8d4c
diff --git a/README.md b/README.md index 005f8085..88f6a33a 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ Development skills for AI coding agents. Plug into your favorite AI coding tool | `pptx-generator` | Generate, edit, and read PowerPoint presentations. Create from scratch with PptxGenJS (cover, TOC, co...
[ "README.md", "README_zh.md", "skills/minimax-multimodal-toolkit/SKILL.md", "skills/minimax-multimodal-toolkit/references/image-api.md", "skills/minimax-multimodal-toolkit/references/music-api.md", "skills/minimax-multimodal-toolkit/references/tts-guide.md", "skills/minimax-multimodal-toolkit/references/...
[]
true
MiniMax-AI/skills
11
issue_to_patch
Clarify Swift standards guidance for agent use
## Summary - tighten the Swift standards doc where it could steer agents toward outdated or overly broad guidance - keep the changes minimal and limited to the iOS Swift standards reference ## What changed - clarify that classes are for identity/reference semantics, while actors are preferred for mutable state shared ...
ce4855d12931f58514c21ba22b76b8e36a4b1668
815a0523248b27ce610ceb6cfc0358f9533e776a
diff --git a/skills/ios-application-dev/references/swift-coding-standards.md b/skills/ios-application-dev/references/swift-coding-standards.md index bf702376..b9408b87 100644 --- a/skills/ios-application-dev/references/swift-coding-standards.md +++ b/skills/ios-application-dev/references/swift-coding-standards.md @@ -1...
[ "skills/ios-application-dev/references/swift-coding-standards.md" ]
[]
true
MiniMax-AI/skills
2
issue_to_patch
fix(minimax-xlsx): YAML frontmatter parsing error preventing skill registration
The description field in minimax-xlsx/SKILL.md YAML frontmatter contained unescaped colons (:), which caused a YAML parsing error (mapping values are not allowed in this context at line 2 column 278). This prevented npx skills add from registering the skill. Fix: Wrap the description value in double quotes so colons...
e3ce8892f0b979e6cb59331f8fb7ae47bb64cb4f
e674758f8780c1bf0f40175d8d9188af45d9546c
diff --git a/skills/minimax-xlsx/SKILL.md b/skills/minimax-xlsx/SKILL.md index 369ec395..0d02cebc 100644 --- a/skills/minimax-xlsx/SKILL.md +++ b/skills/minimax-xlsx/SKILL.md @@ -1,6 +1,6 @@ --- name: minimax-xlsx -description: Open, create, read, analyze, edit, or validate Excel/spreadsheet files (.xlsx, .xlsm, .csv...
[ "skills/minimax-xlsx/SKILL.md" ]
[]
true
Mintplex-Labs/anything-llm
5,806
issue_to_patch
[BUG]: Mistral embedder silently stores all-zero vectors — OpenAI SDK defaults to encoding_format=base64, which is mis-decoded ### How are you running AnythingLLM? Docker (local) — `mintplexlabs/anythingllm:1.14.0`. The bug is also present in current `master` ([`server/utils/EmbeddingEngines/mistral/index.js`](https:...
Mistral Embedding Encoding
### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat (New feature) - [x] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [x] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant I...
da152ad3c67013c4ba4771dbf3dd8862444e2e84
830bc019cf6c41988c2fd32b7c51b9980af45a8e
diff --git a/server/utils/EmbeddingEngines/localAi/index.js b/server/utils/EmbeddingEngines/localAi/index.js index 9f6a3131e03..31a25fb6596 100644 --- a/server/utils/EmbeddingEngines/localAi/index.js +++ b/server/utils/EmbeddingEngines/localAi/index.js @@ -58,11 +58,15 @@ class LocalAiEmbedder { for (const chunk o...
[ "server/utils/EmbeddingEngines/localAi/index.js", "server/utils/EmbeddingEngines/mistral/index.js" ]
[]
true
Mintplex-Labs/anything-llm
5,805
issue_to_patch
[BUG]: Several v1 API endpoints throw unhandled errors on invalid input (workspace-thread null deref → 500, invalid export type → 500, admin/invite delete returns a raw Prisma error) ### How are you running AnythingLLM? Docker (local) ### What happened? Several Developer (v1) API endpoints raise unhandled errors on...
Better API errors
### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat (New feature) - [x] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [x] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant I...
840a51484c501ce7a139b55210e45bbbd6c25a8b
c876fe2dfdcd1ddef30e43cc8e9384cd68c9c4c9
diff --git a/server/endpoints/api/admin/index.js b/server/endpoints/api/admin/index.js index 93fbff7669e..a9a21d9d034 100644 --- a/server/endpoints/api/admin/index.js +++ b/server/endpoints/api/admin/index.js @@ -413,7 +413,23 @@ function apiAdminEndpoints(app) { } const { id } = request.params; - ...
[ "server/endpoints/api/admin/index.js", "server/endpoints/api/system/index.js", "server/endpoints/api/workspace/index.js", "server/endpoints/api/workspaceThread/index.js", "server/models/invite.js", "server/swagger/openapi.json", "server/utils/helpers/chat/convertTo.js" ]
[]
true
Mintplex-Labs/anything-llm
5,804
issue_to_patch
[BUG]: Backend becomes unresponsive after idle; streaming "network error" and "Failed to fetch" on thread creation while LLM server is provably healthy ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? After a period of successful use followed by a few minutes of idle, AnythingLLM (v1....
Patch reloading of embedder and lanceDB connection
### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat (New feature) - [x] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant I...
0c03a838b47153c86ebae69f608bc358d4f877ff
1c1d78f7fc75125a57405902d2f3c0d2399f1c95
diff --git a/server/utils/EmbeddingEngines/native/index.js b/server/utils/EmbeddingEngines/native/index.js index c78e3b21d17..8dbec5b5251 100644 --- a/server/utils/EmbeddingEngines/native/index.js +++ b/server/utils/EmbeddingEngines/native/index.js @@ -7,6 +7,13 @@ const { SUPPORTED_NATIVE_EMBEDDING_MODELS } = require(...
[ "server/utils/EmbeddingEngines/native/index.js", "server/utils/vectorDbProviders/lance/index.js" ]
[]
true
Mintplex-Labs/anything-llm
5,721
issue_to_patch
[BUG]: LMStudio Agent loop socket timeout ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? <img width="4000" height="1800" alt="Image" src="https://github.com/user-attachments/assets/d190f5db-11fb-4b98-9923-fbd0a62b0146" /> ### Are there known steps to reproduce? I am experiencing ...
apply universal sdk timeout
### Pull Request Type - [x] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant Issues resolves #5631 resolves #5603 resolve...
0002d229d6d3e8bd3829f1ae7590d96c44379e89
4bfc7c3d195a710c281df64caaef4012ef32cd03
diff --git a/server/index.js b/server/index.js index 729a059e531..db2b6d1d6aa 100644 --- a/server/index.js +++ b/server/index.js @@ -3,6 +3,7 @@ process.env.NODE_ENV === "development" : require("dotenv").config(); require("./utils/logger")(); +require("./utils/boot/patchSdkTimeouts")(); const express = require("...
[ "server/index.js", "server/utils/agents/aibitat/providers/anthropic.js", "server/utils/agents/aibitat/providers/apipie.js", "server/utils/agents/aibitat/providers/cerebras.js", "server/utils/agents/aibitat/providers/cometapi.js", "server/utils/agents/aibitat/providers/deepseek.js", "server/utils/agents/...
[]
true
Mintplex-Labs/anything-llm
5,793
issue_to_patch
Remove unused providers
Deletes support for `huggingface` and `dpais` Providers are either unmaintained, outdated, or non-functional.
0fe4c761ec4dd27d9c373dbf3e294972f767ed98
90db5b1df9375d66b452d4b8b8f2416dbe2e244a
diff --git a/README.md b/README.md index ee1b6760906..3ed55b7f2fd 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,6 @@ AnythingLLM supports multiple users as well where you can control the access and - [Anthropic](https://www.anthropic.com/) - [NVIDIA NIM (chat models)](https://build.nvidia.com/explore/discover) ...
[ "README.md", "docker/.env.example", "frontend/src/components/LLMSelection/DPAISOptions/index.jsx", "frontend/src/components/LLMSelection/HuggingFaceOptions/index.jsx", "frontend/src/components/ProviderPrivacy/constants.js", "frontend/src/media/llmprovider/dpais.png", "frontend/src/media/llmprovider/hugg...
[]
true
Mintplex-Labs/anything-llm
5,790
issue_to_patch
[BUG]: Possible EventEmitter memory leak detected ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? When using the “Bulk Link Scraper” to scrape big sites (281 html files running on localhost), the message “fetch failed” appears after about 4 minutes and the following log statement is ...
fix: prevent EventEmitter memory warning in AIbitat agent framework
## Fix: EventEmitter Memory Leak in AIbitat Agent Framework Closes Mintplex-Labs/anything-llm#3168 ### Problem When bulk-scraping many URLs, the agent framework triggers a `MaxListenersExceededWarning` because: 1. The `AIbitat.emitter` is a plain `new EventEmitter()` with the default `maxListeners` of 10 2. The `web-...
5706b42a2846c0a04619c30b7ddb5e628fdd1adf
1004574dacc8ba07c7fe4fd2ce2ce833bfc9e480
diff --git a/server/utils/AiProviders/modelMap/index.js b/server/utils/AiProviders/modelMap/index.js index 4f879ea55da..3ea594bee9a 100644 --- a/server/utils/AiProviders/modelMap/index.js +++ b/server/utils/AiProviders/modelMap/index.js @@ -52,6 +52,7 @@ class ContextWindowFinder { } log(text, ...args) { + i...
[ "server/__tests__/utils/agents/aibitat/emitter.test.js", "server/utils/AiProviders/modelMap/index.js", "server/utils/agents/aibitat/plugins/summarize.js", "server/utils/agents/aibitat/plugins/web-scraping.js", "server/utils/helpers/tiktoken.js" ]
[]
diff --git a/server/__tests__/utils/agents/aibitat/emitter.test.js b/server/__tests__/utils/agents/aibitat/emitter.test.js new file mode 100644 index 00000000000..66a5b6997de --- /dev/null +++ b/server/__tests__/utils/agents/aibitat/emitter.test.js @@ -0,0 +1,150 @@ +process.env.STORAGE_DIR = __dirname; +process.env.NO...
true
Mintplex-Labs/anything-llm
5,788
issue_to_patch
1.14.0 release
c692ab36fbebbba0833fc46165c55dcf78bfa3d8
a9ffde08820a3ac700852914edd21c444ab73111
diff --git a/cloud-deployments/helm/charts/anythingllm/README.md b/cloud-deployments/helm/charts/anythingllm/README.md index 1b461b67697..435936f100a 100644 --- a/cloud-deployments/helm/charts/anythingllm/README.md +++ b/cloud-deployments/helm/charts/anythingllm/README.md @@ -58,7 +58,7 @@ Notes: ```yaml image: re...
[ "cloud-deployments/helm/charts/anythingllm/README.md", "cloud-deployments/helm/charts/anythingllm/README.md.gotmpl", "cloud-deployments/helm/charts/anythingllm/values.yaml", "cloud-deployments/openshift/Dockerfile", "collector/package.json", "docker/Dockerfile", "package.json", "server/package.json" ]
[]
true
Mintplex-Labs/anything-llm
5,787
issue_to_patch
Render 1.14.0
20937f3032271a9612384321b3a7c25b670526d4
ceefd1191748fa7fd74abb5deba69b6c85d9d895
diff --git a/.github/workflows/build-and-push-render-deployment-image.yaml b/.github/workflows/build-and-push-render-deployment-image.yaml index 67c54970216..85053df2a4c 100644 --- a/.github/workflows/build-and-push-render-deployment-image.yaml +++ b/.github/workflows/build-and-push-render-deployment-image.yaml @@ -65,...
[ ".github/workflows/build-and-push-render-deployment-image.yaml", "README.md", "SECURITY.md", "TERMS_SELF_HOSTED.md", "cloud-deployments/helm/charts/anythingllm/README.md", "cloud-deployments/helm/charts/anythingllm/README.md.gotmpl", "cloud-deployments/helm/charts/anythingllm/values.yaml", "cloud-depl...
[]
diff --git a/server/__tests__/models/documentSyncQueue.test.js b/server/__tests__/models/documentSyncQueue.test.js new file mode 100644 index 00000000000..c94a7c95094 --- /dev/null +++ b/server/__tests__/models/documentSyncQueue.test.js @@ -0,0 +1,41 @@ +const { DocumentSyncQueue } = require("../../models/documentSyncQ...
true
Mintplex-Labs/anything-llm
5,789
issue_to_patch
Pg 1.14.0
447eed6de6a1b3c2568766bd0dd63c8d492a0491
8993630a4e706f0e90cab3b0b44341447c6650dd
diff --git a/.github/workflows/build-and-push-pg-image.yaml b/.github/workflows/build-and-push-pg-image.yaml index d72bb922449..09614d5e5a0 100644 --- a/.github/workflows/build-and-push-pg-image.yaml +++ b/.github/workflows/build-and-push-pg-image.yaml @@ -63,7 +63,7 @@ jobs: ${{ steps.dockerhub.outputs.en...
[ ".github/workflows/build-and-push-pg-image.yaml", "README.md", "SECURITY.md", "TERMS_SELF_HOSTED.md", "cloud-deployments/helm/charts/anythingllm/README.md", "cloud-deployments/helm/charts/anythingllm/README.md.gotmpl", "cloud-deployments/helm/charts/anythingllm/values.yaml", "cloud-deployments/openshi...
[]
diff --git a/server/__tests__/models/documentSyncQueue.test.js b/server/__tests__/models/documentSyncQueue.test.js new file mode 100644 index 00000000000..c94a7c95094 --- /dev/null +++ b/server/__tests__/models/documentSyncQueue.test.js @@ -0,0 +1,41 @@ +const { DocumentSyncQueue } = require("../../models/documentSyncQ...
true
Mintplex-Labs/anything-llm
5,779
issue_to_patch
[BUG]: The LaTeX rendering appears to be broken for standard delimiters. ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? Expressions using these delimiters and commands are displayed as raw text. Inline math delimited with \( and \) is not rendered correctly. Commands such as \boxed{...
better LaTex support
### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [x] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [x] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant I...
a4c9ee1bafa0b1c02338ec4e5fd982a871e4d654
18ff6d78b7d1e56abe8580a76d55fa7210110911
diff --git a/frontend/package.json b/frontend/package.json index b063414891b..dec636b4ee8 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -25,7 +25,7 @@ "i18next": "^23.11.3", "i18next-browser-languagedetector": "^7.2.1", "js-levenshtein": "^1.1.6", - "katex": "^0.6.0", + "katex":...
[ "frontend/package.json", "frontend/src/utils/chat/plugins/markdown-katex.js", "frontend/yarn.lock" ]
[]
true
Mintplex-Labs/anything-llm
5,783
issue_to_patch
[FEAT]: detect native tool support for Generic OpenAI-compatible endpoints before falling back to UnTooled ## Summary Generic OpenAI currently appears to require manual opt-in via: ```env PROVIDER_SUPPORTS_NATIVE_TOOL_CALLING="generic-openai" ``` before AnythingLLM uses native tool calling. If the flag is absent, G...
Make native tool calling opt-out instead of opt-in
### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [x] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [x] 🔨 chore (Build, CI, maintenance) - [x] 📝 docs (Documentation updates) ### Releva...
c7790ce91bcd9e9e2fd4a8409f599618c4de5205
1b0931167c0acd918baa3e919ab8dd00fe1b6868
diff --git a/docker/.env.example b/docker/.env.example index b48f1426fae..8e1e0b32ac2 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -473,10 +473,10 @@ GID='1000' # for some model/provider combinations # MCP_NO_COOLDOWN="true -# Allow native tool calling for specific providers. -# This can VASTLY imp...
[ "docker/.env.example", "server/.env.example", "server/utils/AiProviders/genericOpenAi/index.js", "server/utils/agents/aibitat/providers/ai-provider.js", "server/utils/agents/aibitat/providers/anthropic.js", "server/utils/agents/aibitat/providers/apipie.js", "server/utils/agents/aibitat/providers/azure.j...
[]
true
Mintplex-Labs/anything-llm
5,778
issue_to_patch
[FEAT]: Add {time_24} as new system prompt variable ### What would you like to see? I would like to set the time in the system prompt to the 24-hour format (HH:MM). Additionally, it would make sense to include a {datetime_24} variable in the system prompt.
add 24 hours date and time formats to SystemVariables
### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Releva...
0f42baadeb5a24984983fb20fb4c03497970c645
aa3b4c79be7ebf4df28363390c14f119721a6521
diff --git a/server/models/systemPromptVariables.js b/server/models/systemPromptVariables.js index 5e63c8a19d5..68cb28c94d5 100644 --- a/server/models/systemPromptVariables.js +++ b/server/models/systemPromptVariables.js @@ -22,6 +22,13 @@ const SystemPromptVariables = { type: "system", multiUserRequired:...
[ "server/models/systemPromptVariables.js" ]
[]
true
Mintplex-Labs/anything-llm
34
issue_to_patch
Docker support
#26 - Docker related items are in `./docker/` - Running `docker-compose.yml` file from the `./docker/` directory will build an image which - Installs system dependencies - Installs frontend and backend packages - Builds the frontend - Node serves the built frontend - The `docker-compose.yml` file sets...
ebd3a62866e9e17b07a4a973b74329c0297fb78a
4e242a339fd934c1918dca65a097a1bc5eeca410
diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000000..05059f147be --- /dev/null +++ b/.dockerignore @@ -0,0 +1,13 @@ +server/storage/documents/** +server/storage/vector-cache/** +server/storage/*.db +server/storage/lancedb +collector/hotdir/** +collector/v-env/** +collector/outputs/** +**/n...
[ ".dockerignore", ".gitignore", "README.md", "collector/main.py", "collector/requirements.txt", "collector/scripts/gitbook.py", "collector/scripts/link.py", "collector/scripts/medium.py", "collector/scripts/substack.py", "collector/scripts/watch/utils.py", "collector/scripts/youtube.py", "docke...
[ { "comment": "👍 ", "path": "frontend/package.json", "hunk": "@@ -3,6 +3,7 @@\n \"private\": false,\n \"version\": \"0.0.1-beta\",\n \"type\": \"module\",\n+ \"license\": \"MIT\",", "resolving_sha": "4e242a339fd934c1918dca65a097a1bc5eeca410", "resolving_diff": "diff --git a/frontend/packa...
true
Mintplex-Labs/anything-llm
34
comment_to_fix
Docker support
👍
ebd3a62866e9e17b07a4a973b74329c0297fb78a
4e242a339fd934c1918dca65a097a1bc5eeca410
diff --git a/frontend/package.json b/frontend/package.json index 46e375eb135..279257de9dc 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -3,6 +3,7 @@ "private": false, "version": "0.0.1-beta", "type": "module", + "license": "MIT", "scripts": { "start": "vite --open", "build": "...
[ "frontend/package.json" ]
[ { "comment": "👍 ", "path": "frontend/package.json", "hunk": "@@ -3,6 +3,7 @@\n \"private\": false,\n \"version\": \"0.0.1-beta\",\n \"type\": \"module\",\n+ \"license\": \"MIT\",", "resolving_sha": "4e242a339fd934c1918dca65a097a1bc5eeca410", "resolving_diff": "diff --git a/frontend/packa...
true
Mintplex-Labs/anything-llm
34
comment_to_fix
Docker support
I just realized some deps are missing that are required for the python langchain document loaders. Can we add in `pypdf` & `docx2txt`. Not sure how those were not captured in the initial requirements.txt ``` docx2txt==0.8 pypdf==3.9.0 ```
ebd3a62866e9e17b07a4a973b74329c0297fb78a
4e242a339fd934c1918dca65a097a1bc5eeca410
diff --git a/collector/requirements.txt b/collector/requirements.txt index de9f30c3458..ddae54877f7 100644 --- a/collector/requirements.txt +++ b/collector/requirements.txt @@ -20,6 +20,7 @@ cryptography==41.0.1 cssselect==1.2.0 dataclasses-json==0.5.7 Deprecated==1.2.14 +docx2txt==0.8 et-xmlfile==1.1.0 exceptiong...
[ "collector/requirements.txt" ]
[ { "comment": "I just realized some deps are missing that are required for the python langchain document loaders.\r\nCan we add in `pypdf` & `docx2txt`. Not sure how those were not captured in the initial requirements.txt\r\n\r\n```\r\ndocx2txt==0.8\r\npypdf==3.9.0\r\n```", "path": "collector/requirements.tx...
true
Mintplex-Labs/anything-llm
5,759
issue_to_patch
Embed widgets answer requests from any origin by default (no deny-by-default for empty allowlist_domains) ### What happened? When a chat embed is created without `allowlist_domains`, the value defaults to `null`. In `server/models/embedConfig.js`, `parseAllowedHosts()` returns `null` for an empty/missing allowlist, a...
feat(embed): opt-in deny-by-default for embeds with no allowlist
Resolves #5758. ### What & why An embed created without `allowlist_domains` answers requests from **any** origin: `EmbedConfig.parseAllowedHosts()` returns `null` for an empty allowlist, and `canRespond` (embed middleware) skips the origin check when it's `null`. There's no deny-by-default and no warning, so an operat...
cba598edb57f0850a7cc27f6baf824084ab9f17d
da48d6432ce8fa84659012c14799983966f77c54
diff --git a/docker/.env.example b/docker/.env.example index 6ba2d5e8751..b48f1426fae 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -509,3 +509,12 @@ GID='1000' # re-synced by the document sync background worker. # Default is 7 days (604800000ms). A minimum of 1 hour (3600000ms) is enforced. # DOCUME...
[ "docker/.env.example", "server/.env.example", "server/models/embedConfig.js", "server/utils/helpers/updateENV.js", "server/utils/middleware/embedMiddleware.js" ]
[ { "comment": "Lets show the warning if this is empty and `EMBED_REQUIRE_ALLOWLIST` is not set \n\neg:\n```js\nif (!embed.allowlist_domains && !(\"EMBED_REQUIRE_ALLOWLIST\" in process.env)) {\n console.warn(\n `[EmbedConfig] Embed ${embed.uuid} was created with no allowed-domains allowlist; it will ac...
true
Mintplex-Labs/anything-llm
5,759
comment_to_fix
feat(embed): opt-in deny-by-default for embeds with no allowlist
Lets show the warning if this is empty and `EMBED_REQUIRE_ALLOWLIST` is not set eg: ```js if (!embed.allowlist_domains && !("EMBED_REQUIRE_ALLOWLIST" in process.env)) { console.warn( `[EmbedConfig] Embed ${embed.uuid} was created with no allowed-domains allowlist; it will accept requests from ANY origin....
cba598edb57f0850a7cc27f6baf824084ab9f17d
da48d6432ce8fa84659012c14799983966f77c54
diff --git a/server/models/embedConfig.js b/server/models/embedConfig.js index 5b4e27259b2..f0a170cc5f7 100644 --- a/server/models/embedConfig.js +++ b/server/models/embedConfig.js @@ -64,6 +64,19 @@ const EmbedConfig = { }, }, }); + + // If the embed was created with no allowed-domains ...
[ "server/models/embedConfig.js" ]
[ { "comment": "Lets show the warning if this is empty and `EMBED_REQUIRE_ALLOWLIST` is not set \n\neg:\n```js\nif (!embed.allowlist_domains && !(\"EMBED_REQUIRE_ALLOWLIST\" in process.env)) {\n console.warn(\n `[EmbedConfig] Embed ${embed.uuid} was created with no allowed-domains allowlist; it will ac...
true
Mintplex-Labs/anything-llm
5,759
comment_to_fix
feat(embed): opt-in deny-by-default for embeds with no allowlist
Lets just check for existence of this env as opposed to its value `("EMBED_REQUIRE_ALLOWLIST" in process.env)`
cba598edb57f0850a7cc27f6baf824084ab9f17d
da48d6432ce8fa84659012c14799983966f77c54
diff --git a/server/utils/middleware/embedMiddleware.js b/server/utils/middleware/embedMiddleware.js index 0a0afb06c2c..e06450e45a5 100644 --- a/server/utils/middleware/embedMiddleware.js +++ b/server/utils/middleware/embedMiddleware.js @@ -65,6 +65,24 @@ async function canRespond(request, response, next) { // Che...
[ "server/utils/middleware/embedMiddleware.js" ]
[ { "comment": "Lets just check for existence of this env as opposed to its value\n`(\"EMBED_REQUIRE_ALLOWLIST\" in process.env)`", "path": "server/utils/middleware/embedMiddleware.js", "hunk": "@@ -65,6 +65,27 @@ async function canRespond(request, response, next) {\n // Check if requester hostname is...
true
Mintplex-Labs/anything-llm
5,759
comment_to_fix
feat(embed): opt-in deny-by-default for embeds with no allowlist
Tedious, but this needs to also exist in `docker/.env.example`
cba598edb57f0850a7cc27f6baf824084ab9f17d
da48d6432ce8fa84659012c14799983966f77c54
diff --git a/server/.env.example b/server/.env.example index 3afb8a4f931..a3253167bbb 100644 --- a/server/.env.example +++ b/server/.env.example @@ -521,3 +521,12 @@ STT_PROVIDER="native" # re-synced by the document sync background worker. # Default is 7 days (604800000ms). A minimum of 1 hour (3600000ms) is enforced...
[ "server/.env.example" ]
[ { "comment": "Tedious, but this needs to also exist in `docker/.env.example`", "path": "server/.env.example", "hunk": "@@ -521,3 +521,12 @@ STT_PROVIDER=\"native\"\n # re-synced by the document sync background worker.\n # Default is 7 days (604800000ms). A minimum of 1 hour (3600000ms) is enforced.\n # ...
true
Mintplex-Labs/anything-llm
5,760
issue_to_patch
[BUG] Document Generation produces corrupt .docx when content contains LaTeX backslash sequences (e.g. \frac) ## Description When a teacher or user requests a Word document containing LaTeX math notation (e.g. `$\frac{3}{5}$`), the generated `.docx` file downloads successfully but **Microsoft Word refuses to open it*...
fix: strip XML-illegal control characters from generated documents
### Pull Request Type - [x] 🐛 fix (Bug fix) ### Relevant Issues resolves #5756 ### Description OOXML documents (`.docx`/`.xlsx`/`.pptx`) embed their text directly into internal XML parts (e.g. `word/document.xml`). XML 1.0 §2.2 forbids every C0 control character except tab (`U+0009`), line feed (`U+000A`), and ca...
54b530942b58f1785dd2a127db2aea9ae7780a7d
ad46030ec18da32686eae73c900f45f52eafb30d
diff --git a/server/utils/agents/aibitat/plugins/create-files/docx/create-docx-file.js b/server/utils/agents/aibitat/plugins/create-files/docx/create-docx-file.js index dc3521762d9..97fcde88043 100644 --- a/server/utils/agents/aibitat/plugins/create-files/docx/create-docx-file.js +++ b/server/utils/agents/aibitat/plugi...
[ "server/__tests__/utils/agents/aibitat/plugins/create-files/lib.test.js", "server/utils/agents/aibitat/plugins/create-files/docx/create-docx-file.js", "server/utils/agents/aibitat/plugins/create-files/lib.js", "server/utils/agents/aibitat/plugins/create-files/pptx/create-presentation.js", "server/utils/agen...
[]
diff --git a/server/__tests__/utils/agents/aibitat/plugins/create-files/lib.test.js b/server/__tests__/utils/agents/aibitat/plugins/create-files/lib.test.js new file mode 100644 index 00000000000..bee630d7fdc --- /dev/null +++ b/server/__tests__/utils/agents/aibitat/plugins/create-files/lib.test.js @@ -0,0 +1,86 @@ +/*...
true
Mintplex-Labs/anything-llm
5,747
issue_to_patch
[FEAT]: Make defaultStaleAfter configurable for document sync frequency Currently, the defaultStaleAfter value for auto document sync is hardcoded to 604800000 (7 days) in [documentSyncQueue.js](https://github.com/Mintplex-Labs/anything-llm/blob/master/server/models/documentSyncQueue.js#L21). While this works well for...
feat: make document sync stale-after interval configurable
### Pull Request Type - [x] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant Issues resolves #3988 ### Description The document sync...
2c22e9dc2463d2792ad054efc3fa4d5a89f542c0
73d72915945db5315c59998f19053fe59399fe95
diff --git a/docker/.env.example b/docker/.env.example index bdc4c26e05b..6ba2d5e8751 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -504,3 +504,8 @@ GID='1000' # (optional) Comma-separated list of skills that are auto-approved. # This will allow the skill to be invoked without user interaction. # AGE...
[ "docker/.env.example", "server/.env.example", "server/__tests__/models/documentSyncQueue.test.js", "server/models/documentSyncQueue.js" ]
[]
diff --git a/server/__tests__/models/documentSyncQueue.test.js b/server/__tests__/models/documentSyncQueue.test.js new file mode 100644 index 00000000000..c94a7c95094 --- /dev/null +++ b/server/__tests__/models/documentSyncQueue.test.js @@ -0,0 +1,41 @@ +const { DocumentSyncQueue } = require("../../models/documentSyncQ...
true
Mintplex-Labs/anything-llm
5,746
issue_to_patch
[FEAT]: Add Generic OpenAI option support in top left model switcher ### What would you like to see? <img src="https://github.com/user-attachments/assets/3e74b3eb-b19d-4d66-8a58-09f44c85af75" />
Generic OpenAI improvements
### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat (New feature) - [x] 🐛 fix (Bug fix) - [x] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [x] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Releva...
9b4708a090a76ed6cc07bc717a24e165f6a58b76
bd5fc049feb8f663f2f3fc77809c1bf5ae332432
diff --git a/frontend/src/components/LLMSelection/GenericOpenAiOptions/index.jsx b/frontend/src/components/LLMSelection/GenericOpenAiOptions/index.jsx index 01bfd2aac27..feb62f123a7 100644 --- a/frontend/src/components/LLMSelection/GenericOpenAiOptions/index.jsx +++ b/frontend/src/components/LLMSelection/GenericOpenAiO...
[ "frontend/src/components/LLMSelection/GenericOpenAiOptions/index.jsx", "frontend/src/hooks/useGetProvidersModels.js", "frontend/src/pages/GeneralSettings/LLMPreference/index.jsx", "frontend/src/pages/WorkspaceSettings/ChatSettings/WorkspaceLLMSelection/index.jsx" ]
[]
true
Mintplex-Labs/anything-llm
5,719
issue_to_patch
[FEAT]: Rework summarize tool ### What would you like to see? The summarize tool tends to lock up on small local models. We should remove langchain from this tool and do it in a simpler way where we chunk it and prompt the user after 3 chunks if they would like to continue. This will greatly improve the UX on smaller...
Improve agent summarizer tool
### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant I...
d3c66eabd20bbe3a9f66e3b3958bcb765835f6ea
5c0d89caaafb34527ad36616c5125bc7124b7d23
diff --git a/server/utils/agentFlows/executors/web-scraping.js b/server/utils/agentFlows/executors/web-scraping.js index e10770f82e9..c1fea750148 100644 --- a/server/utils/agentFlows/executors/web-scraping.js +++ b/server/utils/agentFlows/executors/web-scraping.js @@ -67,6 +67,7 @@ async function executeWebScraping(con...
[ "server/utils/agentFlows/executors/web-scraping.js", "server/utils/agents/aibitat/plugins/summarize.js", "server/utils/agents/aibitat/plugins/web-scraping.js", "server/utils/agents/aibitat/plugins/websocket.js", "server/utils/agents/aibitat/utils/summarize.js" ]
[ { "comment": "Why is this on the plugin?\n\nYou can reach approval like this:\n```js\n if (this.super.requestToolApproval) {\n const approval = await this.super.requestToolApproval({\n skillName: this.name,\n payload: { filename },\n description:...
true
Mintplex-Labs/anything-llm
5,719
comment_to_fix
Improve agent summarizer tool
Why is this on the plugin? You can reach approval like this: ```js if (this.super.requestToolApproval) { const approval = await this.super.requestToolApproval({ skillName: this.name, payload: { filename }, description: `Create PDF document "${filen...
d3c66eabd20bbe3a9f66e3b3958bcb765835f6ea
5c0d89caaafb34527ad36616c5125bc7124b7d23
diff --git a/server/utils/agents/aibitat/plugins/summarize.js b/server/utils/agents/aibitat/plugins/summarize.js index 349e0443370..a11e31e1178 100644 --- a/server/utils/agents/aibitat/plugins/summarize.js +++ b/server/utils/agents/aibitat/plugins/summarize.js @@ -170,6 +170,7 @@ const docSummarizer = { ...
[ "server/utils/agents/aibitat/plugins/summarize.js" ]
[ { "comment": "Why is this on the plugin?\n\nYou can reach approval like this:\n```js\n if (this.super.requestToolApproval) {\n const approval = await this.super.requestToolApproval({\n skillName: this.name,\n payload: { filename },\n description:...
true
Mintplex-Labs/anything-llm
5,719
comment_to_fix
Improve agent summarizer tool
AgentFlow needs a change for this too?
d3c66eabd20bbe3a9f66e3b3958bcb765835f6ea
5c0d89caaafb34527ad36616c5125bc7124b7d23
diff --git a/server/utils/agentFlows/executors/web-scraping.js b/server/utils/agentFlows/executors/web-scraping.js index e10770f82e9..c1fea750148 100644 --- a/server/utils/agentFlows/executors/web-scraping.js +++ b/server/utils/agentFlows/executors/web-scraping.js @@ -67,6 +67,7 @@ async function executeWebScraping(con...
[ "server/utils/agentFlows/executors/web-scraping.js" ]
[ { "comment": "AgentFlow needs a change for this too?", "path": "server/utils/agentFlows/executors/web-scraping.js", "hunk": "@@ -67,6 +67,14 @@ async function executeWebScraping(config, context) {\n provider: aibitat.defaultProvider.provider,\n model: aibitat.defaultProvider.model,\n content...
true
Mintplex-Labs/anything-llm
5,742
issue_to_patch
Turn HTML scraped sites to Markdown for better research
### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant I...
7db6d233ffc8b5fa3c67c86da79babef0cc3021b
e62c180c93ddc22ae8cf46345c34d50255e29913
diff --git a/collector/package.json b/collector/package.json index 20e50f0045e..c23997b814c 100644 --- a/collector/package.json +++ b/collector/package.json @@ -42,6 +42,7 @@ "slugify": "^1.6.6", "strip-ansi": "^7.1.2", "tesseract.js": "^6.0.0", + "turndown": "7.2.4", "url-pattern": "^1.0.3", ...
[ "collector/package.json", "collector/processLink/convert/generic.js", "collector/processLink/helpers/htmlToMarkdown.js", "collector/yarn.lock" ]
[]
true
Mintplex-Labs/anything-llm
5,738
issue_to_patch
[BUG]: Unsupported provider [object Object] while web scraping ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? When instructing an agent to scrape and summarize a webpage in the Desktop App, a failure occurs if the scraped content exceeds the model's context limit. The agent correct...
fix: support Azure & Dell Pro AI Studio providers in agent summarization fallback
### Pull Request Type - [x] 🐛 fix (Bug fix) ### Relevant Issues resolves #5353 ### Description When an agent uses the `web-scraping` or `document-summarizer` skill and the content exceeds the model's context window, the agent falls back to `summarizeContent()`, which builds a LangChain chat model via ...
de531042a28707beb45e8c41026b595be85df109
0cacf03d33a0c1b45b6790f257a7aa1a6f663a34
diff --git a/server/utils/agents/aibitat/providers/ai-provider.js b/server/utils/agents/aibitat/providers/ai-provider.js index 2c57d86b658..1276ceda4da 100644 --- a/server/utils/agents/aibitat/providers/ai-provider.js +++ b/server/utils/agents/aibitat/providers/ai-provider.js @@ -22,6 +22,8 @@ const { parseDockerMod...
[ "server/utils/agents/aibitat/providers/ai-provider.js" ]
[]
true
Mintplex-Labs/anything-llm
5,685
issue_to_patch
add windows paths to isWithin
Patch for https://github.com/Mintplex-Labs/anything-llm/security/advisories/GHSA-j4m9-wwcq-m868
15b796636621a3a52b9f84f03a1692f0e304b577
f60fb9bd3f6e4402e3f499e2d65d707451a9e393
diff --git a/collector/utils/files/index.js b/collector/utils/files/index.js index e2ec82a3a04..c36f05905a0 100644 --- a/collector/utils/files/index.js +++ b/collector/utils/files/index.js @@ -191,15 +191,27 @@ async function wipeCollectorStorage() { } /** - * Checks if a given path is within another path. - * @par...
[ "collector/utils/files/index.js", "server/.gitignore", "server/__tests__/utils/files/isWithin.test.js", "server/utils/files/index.js" ]
[]
diff --git a/server/__tests__/utils/files/isWithin.test.js b/server/__tests__/utils/files/isWithin.test.js new file mode 100644 index 00000000000..f2ebb3b32e7 --- /dev/null +++ b/server/__tests__/utils/files/isWithin.test.js @@ -0,0 +1,230 @@ +process.env.STORAGE_DIR = __dirname; + +const path = require("path"); + +// ...
true
Mintplex-Labs/anything-llm
5,679
issue_to_patch
[FEAT]: Kokoro TTS provider ### What would you like to see? - We should implement the Kokoro TTS provider - Kokoro has a common docker image that many people run here: https://github.com/remsky/Kokoro-FastAPI - We should support this Kokoro-FastAPI docker image since it is the easier way for users to run Kokoro
Kokoro TTS provider
### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant I...
9c6ab7cadbf45f4ba47e0ffbfa42649295817fec
89802eb02291194709b23c2138aa48fa963ed288
diff --git a/docker/.env.example b/docker/.env.example index cf41589b6cc..bdc4c26e05b 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -335,6 +335,12 @@ GID='1000' # TTS_ELEVEN_LABS_KEY= # TTS_ELEVEN_LABS_VOICE_MODEL=21m00Tcm4TlvDq8ikWAM # Rachel +# Self-hosted Kokoro via kokoro-fastapi (OpenAI-compati...
[ "docker/.env.example", "frontend/src/components/TextToSpeech/KokoroOptions/index.jsx", "frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/Actions/TTSButton/index.jsx", "frontend/src/media/ttsproviders/kokoro.png", "frontend/src/pages/GeneralSettings/AudioPreference/tts.jsx", ...
[ { "comment": "Probably don’t want to short-circuit to the string `\"not-needed\"` here since that value will get sent to the API.\n\n`apiKey: process.env.TTS_KOKORO_KEY` is sufficient, if the env var is `undefined`, then `apiKey` will also be `undefined`, which means no API key gets sent.\n", "path": "serve...
true
Mintplex-Labs/anything-llm
5,679
comment_to_fix
Kokoro TTS provider
Probably don’t want to short-circuit to the string `"not-needed"` here since that value will get sent to the API. `apiKey: process.env.TTS_KOKORO_KEY` is sufficient, if the env var is `undefined`, then `apiKey` will also be `undefined`, which means no API key gets sent.
9c6ab7cadbf45f4ba47e0ffbfa42649295817fec
89802eb02291194709b23c2138aa48fa963ed288
diff --git a/server/utils/TextToSpeech/kokoro/index.js b/server/utils/TextToSpeech/kokoro/index.js new file mode 100644 index 00000000000..9be7541cb4e --- /dev/null +++ b/server/utils/TextToSpeech/kokoro/index.js @@ -0,0 +1,50 @@ +class KokoroTTS { + constructor() { + if (!process.env.TTS_KOKORO_ENDPOINT) + th...
[ "server/utils/TextToSpeech/kokoro/index.js" ]
[ { "comment": "Probably don’t want to short-circuit to the string `\"not-needed\"` here since that value will get sent to the API.\n\n`apiKey: process.env.TTS_KOKORO_KEY` is sufficient, if the env var is `undefined`, then `apiKey` will also be `undefined`, which means no API key gets sent.\n", "path": "serve...
true
Mintplex-Labs/anything-llm
5,679
comment_to_fix
Kokoro TTS provider
Two pieces of state holding the same value? I see what this is trying to accomplish, but having duplicated state here feels like the wrong approach and a bit of a code smell.
9c6ab7cadbf45f4ba47e0ffbfa42649295817fec
89802eb02291194709b23c2138aa48fa963ed288
diff --git a/frontend/src/components/TextToSpeech/KokoroOptions/index.jsx b/frontend/src/components/TextToSpeech/KokoroOptions/index.jsx new file mode 100644 index 00000000000..21426fa2d6d --- /dev/null +++ b/frontend/src/components/TextToSpeech/KokoroOptions/index.jsx @@ -0,0 +1,168 @@ +import { useEffect, useState } ...
[ "frontend/src/components/TextToSpeech/KokoroOptions/index.jsx" ]
[ { "comment": "Two pieces of state holding the same value? I see what this is trying to accomplish, but having duplicated state here feels like the wrong approach and a bit of a code smell.\n", "path": "frontend/src/components/TextToSpeech/KokoroOptions/index.jsx", "hunk": "@@ -0,0 +1,155 @@\n+import { u...
true
Mintplex-Labs/anything-llm
5,679
comment_to_fix
Kokoro TTS provider
i18n
9c6ab7cadbf45f4ba47e0ffbfa42649295817fec
89802eb02291194709b23c2138aa48fa963ed288
diff --git a/frontend/src/components/TextToSpeech/KokoroOptions/index.jsx b/frontend/src/components/TextToSpeech/KokoroOptions/index.jsx new file mode 100644 index 00000000000..21426fa2d6d --- /dev/null +++ b/frontend/src/components/TextToSpeech/KokoroOptions/index.jsx @@ -0,0 +1,168 @@ +import { useEffect, useState } ...
[ "frontend/src/components/TextToSpeech/KokoroOptions/index.jsx" ]
[ { "comment": "i18n", "path": "frontend/src/components/TextToSpeech/KokoroOptions/index.jsx", "hunk": "@@ -0,0 +1,155 @@\n+import { useEffect, useState } from \"react\";\n+import System from \"@/models/system\";\n+\n+export default function KokoroTTSOptions({ settings }) {\n+ const [endpoint, setEndpoin...
true
Mintplex-Labs/anything-llm
5,679
comment_to_fix
Kokoro TTS provider
i18n
9c6ab7cadbf45f4ba47e0ffbfa42649295817fec
89802eb02291194709b23c2138aa48fa963ed288
diff --git a/frontend/src/components/TextToSpeech/KokoroOptions/index.jsx b/frontend/src/components/TextToSpeech/KokoroOptions/index.jsx new file mode 100644 index 00000000000..21426fa2d6d --- /dev/null +++ b/frontend/src/components/TextToSpeech/KokoroOptions/index.jsx @@ -0,0 +1,168 @@ +import { useEffect, useState } ...
[ "frontend/src/components/TextToSpeech/KokoroOptions/index.jsx" ]
[ { "comment": "i18n", "path": "frontend/src/components/TextToSpeech/KokoroOptions/index.jsx", "hunk": "@@ -0,0 +1,155 @@\n+import { useEffect, useState } from \"react\";\n+import System from \"@/models/system\";\n+\n+export default function KokoroTTSOptions({ settings }) {\n+ const [endpoint, setEndpoin...
true
Mintplex-Labs/anything-llm
5,679
comment_to_fix
Kokoro TTS provider
i18n
9c6ab7cadbf45f4ba47e0ffbfa42649295817fec
89802eb02291194709b23c2138aa48fa963ed288
diff --git a/frontend/src/components/TextToSpeech/KokoroOptions/index.jsx b/frontend/src/components/TextToSpeech/KokoroOptions/index.jsx new file mode 100644 index 00000000000..21426fa2d6d --- /dev/null +++ b/frontend/src/components/TextToSpeech/KokoroOptions/index.jsx @@ -0,0 +1,168 @@ +import { useEffect, useState } ...
[ "frontend/src/components/TextToSpeech/KokoroOptions/index.jsx" ]
[ { "comment": "i18n", "path": "frontend/src/components/TextToSpeech/KokoroOptions/index.jsx", "hunk": "@@ -0,0 +1,155 @@\n+import { useEffect, useState } from \"react\";\n+import System from \"@/models/system\";\n+\n+export default function KokoroTTSOptions({ settings }) {\n+ const [endpoint, setEndpoin...
true
Mintplex-Labs/anything-llm
5,679
comment_to_fix
Kokoro TTS provider
Might wanna try/catch/finally this
9c6ab7cadbf45f4ba47e0ffbfa42649295817fec
89802eb02291194709b23c2138aa48fa963ed288
diff --git a/frontend/src/components/TextToSpeech/KokoroOptions/index.jsx b/frontend/src/components/TextToSpeech/KokoroOptions/index.jsx new file mode 100644 index 00000000000..21426fa2d6d --- /dev/null +++ b/frontend/src/components/TextToSpeech/KokoroOptions/index.jsx @@ -0,0 +1,168 @@ +import { useEffect, useState } ...
[ "frontend/src/components/TextToSpeech/KokoroOptions/index.jsx" ]
[ { "comment": "Might wanna try/catch/finally this ", "path": "frontend/src/components/TextToSpeech/KokoroOptions/index.jsx", "hunk": "@@ -0,0 +1,155 @@\n+import { useEffect, useState } from \"react\";\n+import System from \"@/models/system\";\n+\n+export default function KokoroTTSOptions({ settings }) {\...
true
Mintplex-Labs/anything-llm
5,679
comment_to_fix
Kokoro TTS provider
i18n
9c6ab7cadbf45f4ba47e0ffbfa42649295817fec
89802eb02291194709b23c2138aa48fa963ed288
diff --git a/frontend/src/components/TextToSpeech/KokoroOptions/index.jsx b/frontend/src/components/TextToSpeech/KokoroOptions/index.jsx new file mode 100644 index 00000000000..21426fa2d6d --- /dev/null +++ b/frontend/src/components/TextToSpeech/KokoroOptions/index.jsx @@ -0,0 +1,168 @@ +import { useEffect, useState } ...
[ "frontend/src/components/TextToSpeech/KokoroOptions/index.jsx" ]
[ { "comment": "i18n", "path": "frontend/src/components/TextToSpeech/KokoroOptions/index.jsx", "hunk": "@@ -0,0 +1,155 @@\n+import { useEffect, useState } from \"react\";\n+import System from \"@/models/system\";\n+\n+export default function KokoroTTSOptions({ settings }) {\n+ const [endpoint, setEndpoin...
true
Mintplex-Labs/anything-llm
5,679
comment_to_fix
Kokoro TTS provider
i18n
9c6ab7cadbf45f4ba47e0ffbfa42649295817fec
89802eb02291194709b23c2138aa48fa963ed288
diff --git a/frontend/src/components/TextToSpeech/KokoroOptions/index.jsx b/frontend/src/components/TextToSpeech/KokoroOptions/index.jsx new file mode 100644 index 00000000000..21426fa2d6d --- /dev/null +++ b/frontend/src/components/TextToSpeech/KokoroOptions/index.jsx @@ -0,0 +1,168 @@ +import { useEffect, useState } ...
[ "frontend/src/components/TextToSpeech/KokoroOptions/index.jsx" ]
[ { "comment": "i18n", "path": "frontend/src/components/TextToSpeech/KokoroOptions/index.jsx", "hunk": "@@ -0,0 +1,155 @@\n+import { useEffect, useState } from \"react\";\n+import System from \"@/models/system\";\n+\n+export default function KokoroTTSOptions({ settings }) {\n+ const [endpoint, setEndpoin...
true
Mintplex-Labs/anything-llm
5,596
issue_to_patch
[FEAT]: OpenAI Generic for Transcription, STT & TTS ### What would you like to see? Hi, currently my region (hong kong) can't access openai and therefore we can't select openai as an option for transcription setting. also "voice & speech" setting has no too much setting option in order to point to external prov...
feat: add server-side speech-to-text with OpenAI provider
### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant I...
65086984bd531663426d08852762f798e8d07fed
ff39046e496290050a82d116570e35f9c0a79421
diff --git a/collector/convertAudioToWav/index.js b/collector/convertAudioToWav/index.js new file mode 100644 index 00000000000..8db1759f55e --- /dev/null +++ b/collector/convertAudioToWav/index.js @@ -0,0 +1,54 @@ +const fs = require("fs/promises"); +const path = require("path"); +const { WATCH_DIRECTORY } = require("...
[ "collector/convertAudioToWav/index.js", "collector/index.js", "docker/.env.example", "frontend/src/components/SpeechToText/DeepgramOptions/index.jsx", "frontend/src/components/SpeechToText/GenericOpenAiOptions/index.jsx", "frontend/src/components/SpeechToText/LemonadeOptions/index.jsx", "frontend/src/co...
[ { "comment": "IMO, this shouldn’t be writing to the environment variable intended for LLM configuration. This feature should use its own dedicated scope of environment variables and system settings, for example:\n```\n STT_OPENAI_API_KEY \n```\nIf I’m already using OpenAI as my system LLM provider, I understand...
true
Mintplex-Labs/anything-llm
5,596
comment_to_fix
feat: add server-side speech-to-text with OpenAI provider
IMO, this shouldn’t be writing to the environment variable intended for LLM configuration. This feature should use its own dedicated scope of environment variables and system settings, for example: ``` STT_OPENAI_API_KEY ``` If I’m already using OpenAI as my system LLM provider, I understand the convenience of not ha...
65086984bd531663426d08852762f798e8d07fed
ff39046e496290050a82d116570e35f9c0a79421
diff --git a/frontend/src/components/SpeechToText/OpenAiOptions/index.jsx b/frontend/src/components/SpeechToText/OpenAiOptions/index.jsx new file mode 100644 index 00000000000..1d13f43176a --- /dev/null +++ b/frontend/src/components/SpeechToText/OpenAiOptions/index.jsx @@ -0,0 +1,87 @@ +import { useEffect, useState } f...
[ "frontend/src/components/SpeechToText/OpenAiOptions/index.jsx" ]
[ { "comment": "IMO, this shouldn’t be writing to the environment variable intended for LLM configuration. This feature should use its own dedicated scope of environment variables and system settings, for example:\n```\n STT_OPENAI_API_KEY \n```\nIf I’m already using OpenAI as my system LLM provider, I understand...
true
Mintplex-Labs/anything-llm
5,596
comment_to_fix
feat: add server-side speech-to-text with OpenAI provider
Might want to add a file filter to this multer config to filter out non audio files ```js const upload = multer({ storage: multer.memoryStorage(), limits: { fileSize: 25 * 1024 * 1024 }, fileFilter: (_req, file, cb) => { if (!file.mimetype.startsWith("audio/")) return cb(new Error("Only audio uploads...
65086984bd531663426d08852762f798e8d07fed
ff39046e496290050a82d116570e35f9c0a79421
diff --git a/server/utils/files/multer.js b/server/utils/files/multer.js index 74c0704a839..c394982e5f1 100644 --- a/server/utils/files/multer.js +++ b/server/utils/files/multer.js @@ -170,9 +170,35 @@ function handlePfpUpload(request, response, next) { }); } +/** + * Handle in-memory audio upload for STT transcr...
[ "server/utils/files/multer.js" ]
[ { "comment": "Might want to add a file filter to this multer config to filter out non audio files\n\n```js\nconst upload = multer({\n storage: multer.memoryStorage(),\n limits: { fileSize: 25 * 1024 * 1024 },\n fileFilter: (_req, file, cb) => {\n if (!file.mimetype.startsWith(\"audio/\")) return c...
true
Mintplex-Labs/anything-llm
5,596
comment_to_fix
feat: add server-side speech-to-text with OpenAI provider
i18n?
65086984bd531663426d08852762f798e8d07fed
ff39046e496290050a82d116570e35f9c0a79421
diff --git a/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/ServerSTT/index.jsx b/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/ServerSTT/index.jsx new file mode 100644 index 00000000000..972eff7773f --- /dev/null +++ b/frontend/src/components/WorkspaceChat/C...
[ "frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/ServerSTT/index.jsx" ]
[ { "comment": "i18n?", "path": "frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/ServerSTT/index.jsx", "hunk": "@@ -0,0 +1,125 @@\n+import { useCallback, useRef, useState } from \"react\";\n+import Appearance from \"@/models/appearance\";\n+import System from \"@/models/system...
true
Mintplex-Labs/anything-llm
5,596
comment_to_fix
feat: add server-side speech-to-text with OpenAI provider
i18n?
65086984bd531663426d08852762f798e8d07fed
ff39046e496290050a82d116570e35f9c0a79421
diff --git a/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/ServerSTT/index.jsx b/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/ServerSTT/index.jsx new file mode 100644 index 00000000000..972eff7773f --- /dev/null +++ b/frontend/src/components/WorkspaceChat/C...
[ "frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/ServerSTT/index.jsx" ]
[ { "comment": "i18n?", "path": "frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/ServerSTT/index.jsx", "hunk": "@@ -0,0 +1,125 @@\n+import { useCallback, useRef, useState } from \"react\";\n+import Appearance from \"@/models/appearance\";\n+import System from \"@/models/system...
true
Mintplex-Labs/anything-llm
5,596
comment_to_fix
feat: add server-side speech-to-text with OpenAI provider
i18n?
65086984bd531663426d08852762f798e8d07fed
ff39046e496290050a82d116570e35f9c0a79421
diff --git a/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/ServerSTT/index.jsx b/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/ServerSTT/index.jsx new file mode 100644 index 00000000000..972eff7773f --- /dev/null +++ b/frontend/src/components/WorkspaceChat/C...
[ "frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/ServerSTT/index.jsx" ]
[ { "comment": "i18n?", "path": "frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/ServerSTT/index.jsx", "hunk": "@@ -0,0 +1,125 @@\n+import { useCallback, useRef, useState } from \"react\";\n+import Appearance from \"@/models/appearance\";\n+import System from \"@/models/system...
true
Mintplex-Labs/anything-llm
5,740
issue_to_patch
i18n
dd8aacb3f9c16f5e00c8eaa99ba71d4cbd1f24b1
d6fd4756ec9d67836c22ff9998ccfb36062cf420
diff --git a/frontend/src/locales/ar/common.js b/frontend/src/locales/ar/common.js index 2c96e00cb09..733d3e37617 100644 --- a/frontend/src/locales/ar/common.js +++ b/frontend/src/locales/ar/common.js @@ -1243,6 +1243,10 @@ const TRANSLATIONS = { cancel: "إلغاء", }, }, + stt_unsupported: "لا يتم...
[ "frontend/src/locales/ar/common.js", "frontend/src/locales/ca/common.js", "frontend/src/locales/cs/common.js", "frontend/src/locales/da/common.js", "frontend/src/locales/de/common.js", "frontend/src/locales/es/common.js", "frontend/src/locales/et/common.js", "frontend/src/locales/fa/common.js", "fro...
[]
true
Mintplex-Labs/anything-llm
5,739
issue_to_patch
[FEAT]: Deprecate `default` thread - Thread UX improvements ### What would you like to see? We should finally remove the `default` thread function. It has historically existed since we added threads _after_ we had workspace. The flow should be similar [to the video here](https://www.loom.com/share/ff0c50d87f974cbda0c...
Kill `default` thread
### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [x] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant I...
cc51805666a33dd26bf80b739cdd918c952e1ff0
3c6b74169abe6319d21685a01cac4adc4665f2a7
diff --git a/frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/index.jsx b/frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/index.jsx index 022e2412f82..927b1141908 100644 --- a/frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/index.jsx +++ b/frontend/src/components/Sideba...
[ "frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/index.jsx", "frontend/src/components/WorkspaceChat/ChatContainer/index.jsx", "frontend/src/models/workspaceThread.js", "server/endpoints/workspaceThreads.js" ]
[]
true
Mintplex-Labs/anything-llm
5,610
issue_to_patch
Lemonade provider for STT
### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant I...
771ceb23f94e03229f7a475b6abd3260a552144d
273594d41d9ad3364ef18e5911777072bdc7da98
diff --git a/collector/convertAudioToWav/index.js b/collector/convertAudioToWav/index.js new file mode 100644 index 00000000000..8db1759f55e --- /dev/null +++ b/collector/convertAudioToWav/index.js @@ -0,0 +1,54 @@ +const fs = require("fs/promises"); +const path = require("path"); +const { WATCH_DIRECTORY } = require("...
[ "collector/convertAudioToWav/index.js", "collector/index.js", "docker/.env.example", "frontend/src/components/SpeechToText/LemonadeOptions/index.jsx", "frontend/src/pages/GeneralSettings/AudioPreference/stt.jsx", "server/.env.example", "server/models/systemSettings.js", "server/utils/AiProviders/lemon...
[ { "comment": "Might wanna leave a comment about how the API key is reused from the provider set.", "path": "docker/.env.example", "hunk": "@@ -333,6 +333,10 @@ GID='1000'\n # STT_PROVIDER=\"openai\"\n # STT_OPEN_AI_MODEL=whisper-1\n \n+# STT_PROVIDER=\"lemonade\"\n+# STT_LEMONADE_BASE_PATH='http://127.0...
true
Mintplex-Labs/anything-llm
5,610
comment_to_fix
Lemonade provider for STT
Might wanna leave a comment about how the API key is reused from the provider set.
771ceb23f94e03229f7a475b6abd3260a552144d
273594d41d9ad3364ef18e5911777072bdc7da98
diff --git a/docker/.env.example b/docker/.env.example index 7bdf0871dbe..a4ac03fd82d 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -341,6 +341,11 @@ GID='1000' # STT_PROVIDER="openai" # STT_OPEN_AI_MODEL=whisper-1 +# Server-side STT via Lemonade. Reuses LEMONADE_LLM_API_KEY set above. +# STT_PROVID...
[ "docker/.env.example" ]
[ { "comment": "Might wanna leave a comment about how the API key is reused from the provider set.", "path": "docker/.env.example", "hunk": "@@ -333,6 +333,10 @@ GID='1000'\n # STT_PROVIDER=\"openai\"\n # STT_OPEN_AI_MODEL=whisper-1\n \n+# STT_PROVIDER=\"lemonade\"\n+# STT_LEMONADE_BASE_PATH='http://127.0...
true
Mintplex-Labs/anything-llm
5,610
comment_to_fix
Lemonade provider for STT
Might wanna leave a comment about how the API key is reused from the provider set.
771ceb23f94e03229f7a475b6abd3260a552144d
273594d41d9ad3364ef18e5911777072bdc7da98
diff --git a/server/.env.example b/server/.env.example index e719e8e7fc6..2ee16e721d4 100644 --- a/server/.env.example +++ b/server/.env.example @@ -349,6 +349,11 @@ STT_PROVIDER="native" # STT_PROVIDER="openai" # STT_OPEN_AI_MODEL=whisper-1 +# Server-side STT via Lemonade. Reuses LEMONADE_LLM_API_KEY set above. +#...
[ "server/.env.example" ]
[ { "comment": "Might wanna leave a comment about how the API key is reused from the provider set.", "path": "server/.env.example", "hunk": "@@ -338,6 +338,10 @@ STT_PROVIDER=\"native\"\n # STT_PROVIDER=\"openai\"\n # STT_OPEN_AI_MODEL=whisper-1\n \n+# STT_PROVIDER=\"lemonade\"\n+# STT_LEMONADE_BASE_PATH=...
true
Mintplex-Labs/anything-llm
5,610
comment_to_fix
Lemonade provider for STT
Whisper models will reject `webm`. A conversion process to `wav` needs to happen here before we forward it to Lemonade.
771ceb23f94e03229f7a475b6abd3260a552144d
273594d41d9ad3364ef18e5911777072bdc7da98
diff --git a/server/utils/SpeechToText/lemonade/index.js b/server/utils/SpeechToText/lemonade/index.js new file mode 100644 index 00000000000..8b5d38ecd5b --- /dev/null +++ b/server/utils/SpeechToText/lemonade/index.js @@ -0,0 +1,54 @@ +const path = require("path"); +const { parseLemonadeServerEndpoint } = require("../...
[ "server/utils/SpeechToText/lemonade/index.js" ]
[ { "comment": "Whisper models will reject `webm`. A conversion process to `wav` needs to happen here before we forward it to Lemonade.", "path": "server/utils/SpeechToText/lemonade/index.js", "hunk": "@@ -0,0 +1,43 @@\n+const { parseLemonadeServerEndpoint } = require(\"../../AiProviders/lemonade\");\n+\n...
true
Mintplex-Labs/anything-llm
5,610
comment_to_fix
Lemonade provider for STT
I could see other local providers that support transcription models needing this in the future. Consider extracting this into a reusable helper function that isn’t tied to a specific class (e.g. SpeechToText/helpers.js). That way, we won’t have to rewrite the same logic for each provider we add later.
771ceb23f94e03229f7a475b6abd3260a552144d
273594d41d9ad3364ef18e5911777072bdc7da98
diff --git a/server/utils/SpeechToText/lemonade/index.js b/server/utils/SpeechToText/lemonade/index.js new file mode 100644 index 00000000000..8b5d38ecd5b --- /dev/null +++ b/server/utils/SpeechToText/lemonade/index.js @@ -0,0 +1,54 @@ +const path = require("path"); +const { parseLemonadeServerEndpoint } = require("../...
[ "server/utils/SpeechToText/lemonade/index.js" ]
[ { "comment": "I could see other local providers that support transcription models needing this in the future. Consider extracting this into a reusable helper function that isn’t tied to a specific class (e.g. SpeechToText/helpers.js). That way, we won’t have to rewrite the same logic for each provider we add la...
true
Mintplex-Labs/anything-llm
5,610
comment_to_fix
Lemonade provider for STT
Might wanna do async readFile from 'fs/promises'
771ceb23f94e03229f7a475b6abd3260a552144d
273594d41d9ad3364ef18e5911777072bdc7da98
diff --git a/server/utils/SpeechToText/lemonade/index.js b/server/utils/SpeechToText/lemonade/index.js new file mode 100644 index 00000000000..8b5d38ecd5b --- /dev/null +++ b/server/utils/SpeechToText/lemonade/index.js @@ -0,0 +1,54 @@ +const path = require("path"); +const { parseLemonadeServerEndpoint } = require("../...
[ "server/utils/SpeechToText/lemonade/index.js" ]
[ { "comment": "Might wanna do async readFile from 'fs/promises'", "path": "server/utils/SpeechToText/lemonade/index.js", "hunk": "@@ -23,15 +28,41 @@ class LemonadeSTT {\n console.log(`\\x1b[32m[LemonadeSTT]\\x1b[0m ${text}`, ...args);\n }\n \n+ async #convertToWav(audioBuffer, extension) {\n+ ...
true
Mintplex-Labs/anything-llm
5,610
comment_to_fix
Lemonade provider for STT
same here
771ceb23f94e03229f7a475b6abd3260a552144d
273594d41d9ad3364ef18e5911777072bdc7da98
diff --git a/server/utils/SpeechToText/lemonade/index.js b/server/utils/SpeechToText/lemonade/index.js new file mode 100644 index 00000000000..8b5d38ecd5b --- /dev/null +++ b/server/utils/SpeechToText/lemonade/index.js @@ -0,0 +1,54 @@ +const path = require("path"); +const { parseLemonadeServerEndpoint } = require("../...
[ "server/utils/SpeechToText/lemonade/index.js" ]
[ { "comment": "same here", "path": "server/utils/SpeechToText/lemonade/index.js", "hunk": "@@ -23,15 +28,41 @@ class LemonadeSTT {\n console.log(`\\x1b[32m[LemonadeSTT]\\x1b[0m ${text}`, ...args);\n }\n \n+ async #convertToWav(audioBuffer, extension) {\n+ const sourceFilename = `stt-${v4()}${ex...
true
Mintplex-Labs/anything-llm
5,610
comment_to_fix
Lemonade provider for STT
same here, use async
771ceb23f94e03229f7a475b6abd3260a552144d
273594d41d9ad3364ef18e5911777072bdc7da98
diff --git a/server/utils/SpeechToText/lemonade/index.js b/server/utils/SpeechToText/lemonade/index.js new file mode 100644 index 00000000000..8b5d38ecd5b --- /dev/null +++ b/server/utils/SpeechToText/lemonade/index.js @@ -0,0 +1,54 @@ +const path = require("path"); +const { parseLemonadeServerEndpoint } = require("../...
[ "server/utils/SpeechToText/lemonade/index.js" ]
[ { "comment": "same here, use async", "path": "server/utils/SpeechToText/lemonade/index.js", "hunk": "@@ -23,15 +28,41 @@ class LemonadeSTT {\n console.log(`\\x1b[32m[LemonadeSTT]\\x1b[0m ${text}`, ...args);\n }\n \n+ async #convertToWav(audioBuffer, extension) {\n+ const sourceFilename = `stt-...
true
Mintplex-Labs/anything-llm
5,610
comment_to_fix
Lemonade provider for STT
async `fs` functions are available in `fs/promises`. Keeps the event loop unblocked.
771ceb23f94e03229f7a475b6abd3260a552144d
273594d41d9ad3364ef18e5911777072bdc7da98
diff --git a/server/utils/SpeechToText/lemonade/index.js b/server/utils/SpeechToText/lemonade/index.js new file mode 100644 index 00000000000..8b5d38ecd5b --- /dev/null +++ b/server/utils/SpeechToText/lemonade/index.js @@ -0,0 +1,54 @@ +const path = require("path"); +const { parseLemonadeServerEndpoint } = require("../...
[ "server/utils/SpeechToText/lemonade/index.js" ]
[ { "comment": "async `fs` functions are available in `fs/promises`. Keeps the event loop unblocked.", "path": "server/utils/SpeechToText/lemonade/index.js", "hunk": "@@ -1,4 +1,9 @@\n+const fs = require(\"fs\");", "resolving_sha": "273594d41d9ad3364ef18e5911777072bdc7da98", "resolving_diff": "dif...
true
Mintplex-Labs/anything-llm
5,610
comment_to_fix
Lemonade provider for STT
Rename the callback param to `data` or `json` since its not the raw response anymore, its the decoded json data.
771ceb23f94e03229f7a475b6abd3260a552144d
273594d41d9ad3364ef18e5911777072bdc7da98
diff --git a/server/utils/collectorApi/index.js b/server/utils/collectorApi/index.js index b3c931ff515..a480ae4b40f 100644 --- a/server/utils/collectorApi/index.js +++ b/server/utils/collectorApi/index.js @@ -207,6 +207,44 @@ class CollectorApi { }); } + /** + * Convert an audio file in the shared hotdir...
[ "server/utils/collectorApi/index.js" ]
[ { "comment": "Rename the callback param to `data` or `json` since its not the raw response anymore, its the decoded json data.", "path": "server/utils/collectorApi/index.js", "hunk": "@@ -207,6 +207,39 @@ class CollectorApi {\n });\n }\n \n+ /**\n+ * Convert an audio file in the shared hotdir...
true
Mintplex-Labs/anything-llm
5,610
comment_to_fix
Lemonade provider for STT
async
771ceb23f94e03229f7a475b6abd3260a552144d
273594d41d9ad3364ef18e5911777072bdc7da98
diff --git a/collector/convertAudioToWav/index.js b/collector/convertAudioToWav/index.js new file mode 100644 index 00000000000..8db1759f55e --- /dev/null +++ b/collector/convertAudioToWav/index.js @@ -0,0 +1,54 @@ +const fs = require("fs/promises"); +const path = require("path"); +const { WATCH_DIRECTORY } = require("...
[ "collector/convertAudioToWav/index.js" ]
[ { "comment": "async", "path": "collector/convertAudioToWav/index.js", "hunk": "@@ -0,0 +1,51 @@\n+const fs = require(\"fs\");\n+const path = require(\"path\");\n+const { WATCH_DIRECTORY } = require(\"../utils/constants\");\n+const { isWithin, trashFile, normalizePath } = require(\"../utils/files\");\n+c...
true
Mintplex-Labs/anything-llm
5,610
comment_to_fix
Lemonade provider for STT
Inconsistent return contract, have this return a "result" pattern object like the rest of the pathways.
771ceb23f94e03229f7a475b6abd3260a552144d
273594d41d9ad3364ef18e5911777072bdc7da98
diff --git a/server/utils/collectorApi/index.js b/server/utils/collectorApi/index.js index b3c931ff515..a480ae4b40f 100644 --- a/server/utils/collectorApi/index.js +++ b/server/utils/collectorApi/index.js @@ -207,6 +207,44 @@ class CollectorApi { }); } + /** + * Convert an audio file in the shared hotdir...
[ "server/utils/collectorApi/index.js" ]
[ { "comment": "Inconsistent return contract, have this return a \"result\" pattern object like the rest of the pathways.", "path": "server/utils/collectorApi/index.js", "hunk": "@@ -207,6 +207,39 @@ class CollectorApi {\n });\n }\n \n+ /**\n+ * Convert an audio file in the shared hotdir to WAV...
true
Mintplex-Labs/anything-llm
5,610
comment_to_fix
Lemonade provider for STT
I think this will leave an orphaned temp file since if this throws nothing cleans it up?
771ceb23f94e03229f7a475b6abd3260a552144d
273594d41d9ad3364ef18e5911777072bdc7da98
diff --git a/server/utils/SpeechToText/lemonade/index.js b/server/utils/SpeechToText/lemonade/index.js new file mode 100644 index 00000000000..8b5d38ecd5b --- /dev/null +++ b/server/utils/SpeechToText/lemonade/index.js @@ -0,0 +1,54 @@ +const path = require("path"); +const { parseLemonadeServerEndpoint } = require("../...
[ "server/utils/SpeechToText/lemonade/index.js" ]
[ { "comment": "I think this will leave an orphaned temp file since if this throws nothing cleans it up?", "path": "server/utils/SpeechToText/lemonade/index.js", "hunk": "@@ -23,15 +28,41 @@ class LemonadeSTT {\n console.log(`\\x1b[32m[LemonadeSTT]\\x1b[0m ${text}`, ...args);\n }\n \n+ async #conve...
true
Mintplex-Labs/anything-llm
5,609
issue_to_patch
Generic OpenAI provider for STT
### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant I...
1c259909ce6d96b55c7f5e4a343cac27d5dc5c31
0e5097174bd05b940676cdfa4b336a6c1f0c491c
diff --git a/docker/.env.example b/docker/.env.example index a4ac03fd82d..cf41589b6cc 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -350,6 +350,11 @@ GID='1000' # STT_DEEPGRAM_API_KEY= # STT_DEEPGRAM_MODEL=nova-3 +# STT_PROVIDER="generic-openai" +# STT_OPEN_AI_COMPATIBLE_KEY=sk-example +# STT_OPEN_A...
[ "docker/.env.example", "frontend/src/components/SpeechToText/GenericOpenAiOptions/index.jsx", "frontend/src/pages/GeneralSettings/AudioPreference/stt.jsx", "server/.env.example", "server/models/systemSettings.js", "server/utils/SpeechToText/index.js", "server/utils/SpeechToText/openAiGeneric/index.js", ...
[]
true
Mintplex-Labs/anything-llm
5,723
issue_to_patch
SearXNG search query is double encoded SearXNG searches seem to be double encoding the query. Example query: ```text Colossus and the Crab ending D.F. Jones book 3 plot summary ``` gets sent as: ```text /search?q=Colossus%2520and%2520the%2520Crab%2520ending%2520D.F.%2520Jones%2520book%25203%2520plot%2520summary&fo...
fix: avoid double-encoding SearXNG search queries
### Pull Request Type - fix (Bug fix) ### Relevant Issues resolves #5722 ### Description SearXNG search queries were being passed through `encodeURIComponent` before being appended to `URLSearchParams`. Since `URLSearchParams` encodes values already, this produced double-encoded query strings like `%2520`. This p...
7c1e55c1d0c77524026af22288b2745cbeb7ff3e
ffd0806b3f308ddec38c523fdda50a7e4592c616
diff --git a/server/utils/agents/aibitat/plugins/web-browsing.js b/server/utils/agents/aibitat/plugins/web-browsing.js index 23d5b38c756..25c20bc27e1 100644 --- a/server/utils/agents/aibitat/plugins/web-browsing.js +++ b/server/utils/agents/aibitat/plugins/web-browsing.js @@ -810,7 +810,7 @@ const webBrowsing = { ...
[ "server/utils/agents/aibitat/plugins/web-browsing.js" ]
[]
true
Mintplex-Labs/anything-llm
5,737
issue_to_patch
docs: fix self-hosted terms wording
Summary: - Fixes clear spelling or wording mistakes in documentation. - Keeps the change text-only with no behavior impact. Testing: - `git diff --check` - `uvx codespell` on the changed files
c0e9414889f618db38e8d98969db905cabedabf7
afc79ca6f25b0570742af96ef5eaf8c58e0eef7d
diff --git a/TERMS_SELF_HOSTED.md b/TERMS_SELF_HOSTED.md index 311da5f49cf..0553d0c407a 100644 --- a/TERMS_SELF_HOSTED.md +++ b/TERMS_SELF_HOSTED.md @@ -23,7 +23,7 @@ _by default, AnythingLLM does **everything on-device first** - so you would have ## 4. Security & Network * **No "Phone Home":** Aside from [optional t...
[ "TERMS_SELF_HOSTED.md" ]
[]
true
Mintplex-Labs/anything-llm
5,612
issue_to_patch
Deepgram provider for STT
### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant I...
c88e97fd37fd917bfcbb302cd1c6bb95011e47e9
baa44b5470490f3e535b032a6dc9d32fccaaf45b
diff --git a/docker/.env.example b/docker/.env.example index 7b9c6e68d2c..fb87aaa3038 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -333,6 +333,10 @@ GID='1000' # STT_PROVIDER="openai" # STT_OPEN_AI_MODEL=whisper-1 +# STT_PROVIDER="deepgram" +# STT_DEEPGRAM_API_KEY= +# STT_DEEPGRAM_MODEL=nova-3 + #...
[ "docker/.env.example", "frontend/src/components/SpeechToText/DeepgramOptions/index.jsx", "frontend/src/media/ttsproviders/deepgram.png", "frontend/src/pages/GeneralSettings/AudioPreference/stt.jsx", "server/.env.example", "server/models/systemSettings.js", "server/utils/SpeechToText/deepgram/index.js", ...
[ { "comment": "This ternary seems off to me, seems needlessly complex. Basically use argument api key if exists otherwise `process.env.STT_DEEPGRAM_API_KEY` otherwise null? \n```js\nconst resolvedApiKey = apiKey || process.env.STT_DEEPGRAM_API_KEY || null;\n```", "path": "server/utils/helpers/customModels.js...
true
Mintplex-Labs/anything-llm
5,612
comment_to_fix
Deepgram provider for STT
This ternary seems off to me, seems needlessly complex. Basically use argument api key if exists otherwise `process.env.STT_DEEPGRAM_API_KEY` otherwise null? ```js const resolvedApiKey = apiKey || process.env.STT_DEEPGRAM_API_KEY || null; ```
c88e97fd37fd917bfcbb302cd1c6bb95011e47e9
baa44b5470490f3e535b032a6dc9d32fccaaf45b
diff --git a/server/utils/helpers/customModels.js b/server/utils/helpers/customModels.js index e3092c739cd..c90c2aa7ac3 100644 --- a/server/utils/helpers/customModels.js +++ b/server/utils/helpers/customModels.js @@ -50,6 +50,7 @@ const SUPPORT_CUSTOM_MODELS = [ "privatemode", "sambanova", "lemonade", + "deep...
[ "server/utils/helpers/customModels.js" ]
[ { "comment": "This ternary seems off to me, seems needlessly complex. Basically use argument api key if exists otherwise `process.env.STT_DEEPGRAM_API_KEY` otherwise null? \n```js\nconst resolvedApiKey = apiKey || process.env.STT_DEEPGRAM_API_KEY || null;\n```", "path": "server/utils/helpers/customModels.js...
true
Mintplex-Labs/anything-llm
5,612
comment_to_fix
Deepgram provider for STT
Would this ever be `true` when the JSdoc say `_apiKey` is a string? Don't think it ever comes through as a boolean.
c88e97fd37fd917bfcbb302cd1c6bb95011e47e9
baa44b5470490f3e535b032a6dc9d32fccaaf45b
diff --git a/server/utils/helpers/customModels.js b/server/utils/helpers/customModels.js index e3092c739cd..c90c2aa7ac3 100644 --- a/server/utils/helpers/customModels.js +++ b/server/utils/helpers/customModels.js @@ -50,6 +50,7 @@ const SUPPORT_CUSTOM_MODELS = [ "privatemode", "sambanova", "lemonade", + "deep...
[ "server/utils/helpers/customModels.js" ]
[ { "comment": "Would this ever be `true` when the JSdoc say `_apiKey` is a string? Don't think it ever comes through as a boolean.\n\n", "path": "server/utils/helpers/customModels.js", "hunk": "@@ -956,6 +959,44 @@ async function getLemonadeModels(basePath = null, task = \"chat\") {\n }\n }\n \n+/**\n+...
true
Mintplex-Labs/anything-llm
5,612
comment_to_fix
Deepgram provider for STT
What's this for? Why mess with the env vars?
c88e97fd37fd917bfcbb302cd1c6bb95011e47e9
baa44b5470490f3e535b032a6dc9d32fccaaf45b
diff --git a/server/utils/helpers/customModels.js b/server/utils/helpers/customModels.js index e3092c739cd..c90c2aa7ac3 100644 --- a/server/utils/helpers/customModels.js +++ b/server/utils/helpers/customModels.js @@ -50,6 +50,7 @@ const SUPPORT_CUSTOM_MODELS = [ "privatemode", "sambanova", "lemonade", + "deep...
[ "server/utils/helpers/customModels.js" ]
[ { "comment": "What's this for? Why mess with the env vars?", "path": "server/utils/helpers/customModels.js", "hunk": "@@ -956,6 +959,44 @@ async function getLemonadeModels(basePath = null, task = \"chat\") {\n }\n }\n \n+/**\n+ * Get Deepgram STT models from the Management API.\n+ * https://api.deepgr...
true
Mintplex-Labs/anything-llm
5,612
comment_to_fix
Deepgram provider for STT
is this file 300x300? It is 1.3mb!!
c88e97fd37fd917bfcbb302cd1c6bb95011e47e9
baa44b5470490f3e535b032a6dc9d32fccaaf45b
diff --git a/frontend/src/media/ttsproviders/deepgram.png b/frontend/src/media/ttsproviders/deepgram.png new file mode 100644 index 00000000000..a75da998cfd Binary files /dev/null and b/frontend/src/media/ttsproviders/deepgram.png differ
[ "frontend/src/media/ttsproviders/deepgram.png" ]
[ { "comment": "is this file 300x300? It is 1.3mb!!", "path": "frontend/src/media/ttsproviders/deepgram.png", "hunk": "", "resolving_sha": "baa44b5470490f3e535b032a6dc9d32fccaaf45b", "resolving_diff": "diff --git a/frontend/src/media/ttsproviders/deepgram.png b/frontend/src/media/ttsproviders/deep...
true
Mintplex-Labs/anything-llm
5,716
issue_to_patch
fix provider override in agents
Fix issue where `.contextLimit` called from agent tools: - web-scraping - doc-summarize - filesystem would pass in an object into this caller - which expected a string, and would then failover silently to an 8K context window instead of using the actual user defined or reported context window. This would lead ...
bee224171c1ea2236643b2c6f6622a0a63b6b7b3
71a8c66765aeea0bfc5f5d1be293f367cfe7c4d2
diff --git a/server/utils/agents/aibitat/index.js b/server/utils/agents/aibitat/index.js index 76089666b66..8e9d168b167 100644 --- a/server/utils/agents/aibitat/index.js +++ b/server/utils/agents/aibitat/index.js @@ -28,7 +28,11 @@ class AIbitat { */ skipHandleExecution = false; - provider = null; + _provide...
[ "server/utils/agents/aibitat/index.js", "server/utils/agents/aibitat/plugins/chat-history.js", "server/utils/agents/aibitat/providers/ai-provider.js" ]
[]
true
Mintplex-Labs/anything-llm
5,699
issue_to_patch
[FEAT]: Add cerebras integration for superfast inference ### What would you like to see? cerebras offer fast inference, up too 2k/tokens per sec. https://www.cerebras.ai/inference
feat: add Cerebras as an LLM provider
### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant Issues reso...
668b27340c2c7f76daf458e34c5c18ab0b26f4ca
32588af365761bee99dded3e360be282eee6b594
diff --git a/README.md b/README.md index bee0808a4d8..da474e58254 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,7 @@ AnythingLLM supports multiple users as well where you can control the access and - [SambaNova Cloud (chat models)](https://cloud.sambanova.ai/) - [Lemonade by AMD](https://lemonade-server.ai) ...
[ "README.md", "docker/.env.example", "frontend/src/components/LLMSelection/CerebrasLLMOptions/index.jsx", "frontend/src/components/ProviderPrivacy/constants.js", "frontend/src/media/llmprovider/cerebras.png", "frontend/src/pages/GeneralSettings/LLMPreference/index.jsx", "frontend/src/pages/OnboardingFlow...
[]
true
Mintplex-Labs/anything-llm
5,701
issue_to_patch
docs: list all cloud embedding providers
## Summary - add the missing cloud embedder entries to the top-level README list - align the documented embedder providers with the options exposed in `frontend/src/pages/GeneralSettings/EmbeddingPreference/index.jsx` - explicitly mention Voyage AI so users do not have to inspect the code to confirm support ## Te...
9fe6bbfb09c07628784213e9192a19d2f12bb2a7
e8da58328135f673b32438592e70f796768b4829
diff --git a/README.md b/README.md index 899e0104c88..bee0808a4d8 100644 --- a/README.md +++ b/README.md @@ -121,10 +121,17 @@ AnythingLLM supports multiple users as well where you can control the access and - [AnythingLLM Native Embedder](/server/storage/models/README.md) (default) - [OpenAI](https://openai.com) - ...
[ "README.md" ]
[]
true
Mintplex-Labs/anything-llm
5,693
issue_to_patch
v1.13.0 release
f45d0555ceaac5877cbd3f57e37d3d0f566d159e
a4543fa67d92eb89a3ba5b9dcf8f8056c41dbff3
diff --git a/cloud-deployments/helm/charts/anythingllm/README.md b/cloud-deployments/helm/charts/anythingllm/README.md index 865af2c23ef..1b461b67697 100644 --- a/cloud-deployments/helm/charts/anythingllm/README.md +++ b/cloud-deployments/helm/charts/anythingllm/README.md @@ -58,7 +58,7 @@ Notes: ```yaml image: re...
[ "cloud-deployments/helm/charts/anythingllm/README.md", "cloud-deployments/helm/charts/anythingllm/README.md.gotmpl", "cloud-deployments/helm/charts/anythingllm/values.yaml", "cloud-deployments/openshift/Dockerfile", "collector/package.json", "docker/Dockerfile", "package.json", "server/package.json" ]
[]
true
Mintplex-Labs/anything-llm
5,691
issue_to_patch
[BUG]: Input window covers output from LLM and you can't scroll the output window to show the obscured text. ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? I was having a conversation last night, it had been ongoing for some time as they typically do. The LLM has asked some question...
refactor Prompt to not block main chat content
### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat (New feature) - [x] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [x] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant I...
28e496bed7c4dfe6bcb0f75717433e8e8c31c5dd
b2486ed44f12a1a5a45bff79b8d51355817868c2
diff --git a/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/index.jsx b/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/index.jsx index 6a3fa79f986..da1349d760f 100644 --- a/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/index.jsx +++ b/frontend/src/components/Workspace...
[ "frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/index.jsx", "frontend/src/components/WorkspaceChat/ChatContainer/index.jsx" ]
[]
true
Mintplex-Labs/anything-llm
5,680
issue_to_patch
router-models: accurate token/message counting for model router decisions
### Description Previously the router only counted tokens from the current user message, ignoring system prompt, chat history, pinned docs, and parsed files. Introduce ModelRouterService.gatherRoutingContext() to compute the true conversation token count and reuse the fetched context downstream to avoid redundant...
2f189f97037d3116f6d52ede8ca3f0bd5d8218a4
4654e946e819e3d5b8d519442967342a68468473
diff --git a/frontend/src/pages/GeneralSettings/LLMPreference/index.jsx b/frontend/src/pages/GeneralSettings/LLMPreference/index.jsx index cefd768db31..6d6a94ca739 100644 --- a/frontend/src/pages/GeneralSettings/LLMPreference/index.jsx +++ b/frontend/src/pages/GeneralSettings/LLMPreference/index.jsx @@ -434,6 +434,7 @@...
[ "frontend/src/pages/GeneralSettings/LLMPreference/index.jsx", "frontend/src/pages/GeneralSettings/ModelRouters/LLMProviderModelPicker/index.jsx", "frontend/src/pages/GeneralSettings/ModelRouters/NewRouterModal/index.jsx", "server/__tests__/utils/chats/openaiCompatible.test.js", "server/endpoints/api/openai/...
[]
diff --git a/server/__tests__/utils/chats/openaiCompatible.test.js b/server/__tests__/utils/chats/openaiCompatible.test.js index d17fcb0496b..1977cc9134b 100644 --- a/server/__tests__/utils/chats/openaiCompatible.test.js +++ b/server/__tests__/utils/chats/openaiCompatible.test.js @@ -1,7 +1,7 @@ /* eslint-env jest, no...
true
Mintplex-Labs/anything-llm
5,684
issue_to_patch
Slash commands in muti-user mode not migrated over? ### Description Hi, docker 1.12.1 just flipped over to account logins (username/pwds). when it was only password enabled, slash commands appeared in all the workspaces... now there are none shown for the 3 test workspaces, but via my app using the api's, the slash...
Migrate slash commands to admin user on multi-user-mode
### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat (New feature) - [x] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant I...
ef06f33c6a1a4ca734ee5ed991375e59fcf59902
ec28eb2b0d40193403998c0bf295c517571f7126
diff --git a/server/endpoints/system.js b/server/endpoints/system.js index 02b3b47cc2c..e04d11528a9 100644 --- a/server/endpoints/system.js +++ b/server/endpoints/system.js @@ -625,6 +625,7 @@ function systemEndpoints(app) { await Memory.migrateToMultiUser(user.id); await WorkspaceChats.migrateToMulti...
[ "server/endpoints/system.js", "server/models/slashCommandsPresets.js" ]
[]
true
Mintplex-Labs/anything-llm
5,577
issue_to_patch
[FEAT]: User Survey ### What would you like to see? Tool for the agent to ask a number of clarifying questions to the user when the user prompt is too vague.
Agent Skill: User Survey
### Pull Request Type - [x] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant Issues resolves #5575 translations #5669 D...
4e324105bb9d3b3bd73aded669e0a9e81e26dc9f
4311effd5f34183dcf8ded66bad28e83ae49f94a
diff --git a/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ClarifyingQuestion/ChoiceForm.jsx b/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ClarifyingQuestion/ChoiceForm.jsx new file mode 100644 index 00000000000..60956e779bb --- /dev/null +++ b/frontend/src/components/WorkspaceChat...
[ "frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ClarifyingQuestion/ChoiceForm.jsx", "frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ClarifyingQuestion/Footer.jsx", "frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ClarifyingQuestion/Header.jsx", "frontend/src/c...
[ { "comment": "In the same chat as when the questions appear here, we should not show the \"x of x\" questions with the arrows after the questions have been answered because the user is unable to flip between these unless they are still answering. \n\n<img width=\"835\" height=\"387\" alt=\"Image\" src=\"https:/...
true
Mintplex-Labs/anything-llm
5,577
comment_to_fix
Agent Skill: User Survey
In the same chat as when the questions appear here, we should not show the "x of x" questions with the arrows after the questions have been answered because the user is unable to flip between these unless they are still answering. <img width="835" height="387" alt="Image" src="https://github.com/user-attachments/asse...
4e324105bb9d3b3bd73aded669e0a9e81e26dc9f
4311effd5f34183dcf8ded66bad28e83ae49f94a
diff --git a/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ClarifyingQuestion/index.jsx b/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ClarifyingQuestion/index.jsx new file mode 100644 index 00000000000..2f9da686519 --- /dev/null +++ b/frontend/src/components/WorkspaceChat/ChatConta...
[ "frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ClarifyingQuestion/index.jsx" ]
[ { "comment": "In the same chat as when the questions appear here, we should not show the \"x of x\" questions with the arrows after the questions have been answered because the user is unable to flip between these unless they are still answering. \n\n<img width=\"835\" height=\"387\" alt=\"Image\" src=\"https:/...
true
Mintplex-Labs/anything-llm
5,577
comment_to_fix
Agent Skill: User Survey
It looks like this UI is basically a duplicate of the `SurveyBody` in `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/HistoricalClarifyingQuestions/index.jsx` on line 53. Can we extract this to a shared component? Any change in UI here would need to be made twice.
4e324105bb9d3b3bd73aded669e0a9e81e26dc9f
4311effd5f34183dcf8ded66bad28e83ae49f94a
diff --git a/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ClarifyingQuestion/index.jsx b/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ClarifyingQuestion/index.jsx new file mode 100644 index 00000000000..2f9da686519 --- /dev/null +++ b/frontend/src/components/WorkspaceChat/ChatConta...
[ "frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ClarifyingQuestion/index.jsx" ]
[ { "comment": "It looks like this UI is basically a duplicate of the `SurveyBody` in `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/HistoricalClarifyingQuestions/index.jsx` on line 53.\n\nCan we extract this to a shared component? Any change in UI here would need to be made tw...
true
Mintplex-Labs/anything-llm
5,577
comment_to_fix
Agent Skill: User Survey
Very similar to `Summary` component in `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ClarifyingQuestion/index.jsx`
4e324105bb9d3b3bd73aded669e0a9e81e26dc9f
4311effd5f34183dcf8ded66bad28e83ae49f94a
diff --git a/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/HistoricalClarifyingQuestions/index.jsx b/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/HistoricalClarifyingQuestions/index.jsx new file mode 100644 index 00000000000..bb7c1351e66 --- /dev/...
[ "frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/HistoricalClarifyingQuestions/index.jsx" ]
[ { "comment": "Very similar to `Summary` component in `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ClarifyingQuestion/index.jsx`", "path": "frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/HistoricalClarifyingQuestions/index.jsx", "hunk": "@@ -0,0 +1,1...
true
Mintplex-Labs/anything-llm
5,577
comment_to_fix
Agent Skill: User Survey
The server already validates this in the backend. Can we just render what the backend returns with a fallback to text instead of this duplicated logic in the frontend?
4e324105bb9d3b3bd73aded669e0a9e81e26dc9f
4311effd5f34183dcf8ded66bad28e83ae49f94a
diff --git a/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ClarifyingQuestion/index.jsx b/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ClarifyingQuestion/index.jsx new file mode 100644 index 00000000000..2f9da686519 --- /dev/null +++ b/frontend/src/components/WorkspaceChat/ChatConta...
[ "frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ClarifyingQuestion/index.jsx" ]
[ { "comment": "The server already validates this in the backend. Can we just render what the backend returns with a fallback to text instead of this duplicated logic in the frontend?", "path": "frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ClarifyingQuestion/index.jsx", "hunk": "@@ -0,0...
true
Mintplex-Labs/anything-llm
5,577
comment_to_fix
Agent Skill: User Survey
i18n?
4e324105bb9d3b3bd73aded669e0a9e81e26dc9f
4311effd5f34183dcf8ded66bad28e83ae49f94a
diff --git a/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ClarifyingQuestion/index.jsx b/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ClarifyingQuestion/index.jsx new file mode 100644 index 00000000000..2f9da686519 --- /dev/null +++ b/frontend/src/components/WorkspaceChat/ChatConta...
[ "frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ClarifyingQuestion/index.jsx" ]
[ { "comment": "i18n?", "path": "frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ClarifyingQuestion/index.jsx", "hunk": "@@ -0,0 +1,539 @@\n+import { useEffect, useMemo, useRef, useState } from \"react\";\n+import {\n+ Question,\n+ ArrowLeft,\n+ ArrowRight,\n+ X,\n+ SkipForward,\n+ C...
true