mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 23:21:44 -05:00
[PR #24327] [CLOSED] feat: Add CAJAL paper generation function (/paper command) #98640
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/24327
Author: @Agnuxo1
Created: 5/3/2026
Status: ❌ Closed
Base:
dev← Head:add-cajal-paper-function📝 Commits (10+)
fe6783cMerge pull request #19030 from open-webui/devfc05e0aMerge pull request #19405 from open-webui/deve3faec6Merge pull request #19416 from open-webui/dev9899293Merge pull request #19448 from open-webui/dev140605eMerge pull request #19462 from open-webui/dev6f1486fMerge pull request #19466 from open-webui/devd95f533Merge pull request #19729 from open-webui/deva7271530.6.43 (#20093)6adde20Merge pull request #20394 from open-webui/devf9b0534Merge pull request #20522 from open-webui/dev📊 Changes
1 file changed (+93 additions, -0 deletions)
View changed files
➕
backend/open_webui/apps/webui/functions/cajal_paper_generator.py(+93 -0)📄 Description
CLA Confirmation
I confirm that I have read and agree to the Open WebUI Contributor License Agreement.
Testing Evidence
✅ I have personally tested ALL changes in this PR
✅ Tested by: Running the function in a local Open WebUI instance with Ollama backend
✅ Steps: 1) Copied cajal_paper_generator.py to backend/open_webui/functions/ 2) Enabled function in UI 3) Typed /paper "quantum computing" 4) Verified 7-section paper generation with real citations
Description
Adds a new CAJAL paper generation function that integrates with the existing Open WebUI function system.
/paper {topic}commands in chatcajal-p2pclawor configurable)CAJAL_MODEL,CAJAL_BASE_URLFiles Added
cajal_paper_generator.py— Main function fileREADME.md— Setup and usage instructionsChecklist
devReferences
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.