Alex
67e0d222d1
fix: model in agents via api ( #2174 )
2025-11-25 13:54:34 +02:00
Alex
17698ce774
feat: context compression ( #2173 )
...
* feat: context compression
* fix: ruff
2025-11-24 12:44:19 +02:00
Siddhant Rai
3f7de867cc
feat: model registry and capabilities for multi-provider support ( #2158 )
...
* feat: Implement model registry and capabilities for multi-provider support
- Added ModelRegistry to manage available models and their capabilities.
- Introduced ModelProvider enum for different LLM providers.
- Created ModelCapabilities dataclass to define model features.
- Implemented methods to load models based on API keys and settings.
- Added utility functions for model management in model_utils.py.
- Updated settings.py to include provider-specific API keys.
- Refactored LLM classes (Anthropic, OpenAI, Google, etc.) to utilize new model registry.
- Enhanced utility functions to handle token limits and model validation.
- Improved code structure and logging for better maintainability.
* feat: Add model selection feature with API integration and UI component
* feat: Add model selection and default model functionality in agent management
* test: Update assertions and formatting in stream processing tests
* refactor(llm): Standardize model identifier to model_id
* fix tests
---------
Co-authored-by: Alex <a@tushynski.me >
2025-11-14 13:13:19 +02:00
Manish Madan
cb8302add8
Fixes shared conversation on cloud version ( #2135 )
...
* (fix:shared) conv as id, not dbref
* (chore) script to migrate dbref to id
* (chore): ruff fix
---------
Co-authored-by: GH Action - Upstream Sync <action@github.com >
2025-11-05 16:08:10 +02:00
Heisenberg Vader
3789d2eb03
Updated the technique for handling multiple file uploads from the user ( #2126 )
...
* Fixed multiple file uploads to be sent through a single request to backend for further processing and storing
* Fixed multiple file uploads to be sent through a single request to backend for further processing and storing
* Fixed multiple file uploads to be sent through a single request to backend for further processing and storing
* Made duplicate multiple keyword fixes
* Added back drag and drop functionality and it keeps the multiple file uploads
2025-11-04 01:12:35 +02:00
Alex
6626723180
feat: enhance prompt variable handling and add system variable options in prompts modal ( #2128 )
2025-11-03 15:54:13 +02:00
Siddhant Rai
21e5c261ef
feat: template-based prompt rendering with dynamic namespace injection ( #2091 )
...
* feat: template-based prompt rendering with dynamic namespace injection
* refactor: improve template engine initialization with clearer formatting
* refactor: streamline ReActAgent methods and improve content extraction logic
feat: enhance error handling in NamespaceManager and TemplateEngine
fix: update NewAgent component to ensure consistent form data submission
test: modify tests for ReActAgent and prompt renderer to reflect method changes and improve coverage
* feat: tools namespace + three-tier token budget
* refactor: remove unused variable assignment in message building tests
* Enhance prompt customization and tool pre-fetching functionality
* ruff lint fix
* refactor: cleaner error handling and reduce code clutter
---------
Co-authored-by: Alex <a@tushynski.me >
2025-10-31 12:47:44 +00:00
Manish Madan
6a4cb617f9
Frontend audit: Bug fixes and refinements ( #2112 )
...
* (fix:attachements) sep id for redux ops
* (fix:ui) popups, toast, share modal
* (feat:agentsPreview) stable preview, ui fixes
* (fix:ui) light theme icon, sleek scroll
* (chore:i18n) missin keys
* (chore:i18n) missing keys
* (feat:preferrenceSlice) autoclear invalid source from storage
* (fix:general) delete all conv close btn
* (fix:tts) play one at a time
* (fix:tts) gracefully unmount
* (feat:tts) audio LRU cache
* (feat:tts) pointer on hovered area
* (feat:tts) clean text for speach
---------
Co-authored-by: GH Action - Upstream Sync <action@github.com >
2025-10-29 01:47:26 +02:00
Nihar
f448e4a615
add configurable provider in settings.py and update ElevenLabs Api ( #2065 ) ( #2074 )
2025-10-22 19:07:21 +03:00
Ali Arda Fincan
ce32dd2907
Feat: Agent Token or Request Limiting ( #2041 )
...
* Update routes.py, added token and request limits to create/update agent operations
* added usage limit check to api endpoints
cannot create agents with usage limit right now that will be implemented
* implemented api limiting as either token limiting or request limiting modes
* minor typo & bug fix
2025-10-13 21:32:46 +03:00
Manish Madan
72bc24a490
Chore: deleted unused files, dead code; minor fixes ( #2059 )
...
* (feat:pause-stream) generator exit
* (feat:pause-stream) close request
* (feat:pause-stream) finally close; google anthropic
* (feat:task_status)communicate failure
* (clean:connector) unused routes
* (feat:file-table) missing skeletons
* (chore:fe) purge unused
* (fix:apiKeys) build err
* (chore:settings) clean unused
* merge from main
* (chore:purge) unused fe assets
* (clean:check_docs) unused logic
* (feat:selectedDocs) replace null type
---------
Co-authored-by: GH Action - Upstream Sync <action@github.com >
2025-10-13 19:11:24 +03:00
Manish Madan
f0b954dbfb
Upload: communicate failure, minor frontend updates ( #2048 )
...
* (feat:pause-stream) generator exit
* (feat:pause-stream) close request
* (feat:pause-stream) finally close; google anthropic
* (feat:task_status)communicate failure
* (clean:connector) unused routes
* (feat:file-table) missing skeletons
* (fix:apiKeys) build err
---------
Co-authored-by: GH Action - Upstream Sync <action@github.com >
2025-10-10 17:34:02 +03:00
Manish Madan
a4507008c1
complete_stream: Stop response streaming ( #2031 )
...
* (feat:pause-stream) generator exit
* (feat:pause-stream) close request
* (feat:pause-stream) finally close; google anthropic
---------
Co-authored-by: GH Action - Upstream Sync <action@github.com >
2025-10-08 20:37:30 +03:00
Siddhant Rai
da6317a242
feat: agent templates and seeding premade agents ( #1910 )
...
* feat: agent templates and seeding premade agents
* fix: ensure ObjectId is used for source reference in agent configuration
* fix: improve source handling in DatabaseSeeder and update tool config processing
* feat: add prompt handling in DatabaseSeeder for agent configuration
* Docs premade agents
* link to prescraped docs
* feat: add template agent retrieval and adopt agent functionality
* feat: simplify agent descriptions in premade_agents.yaml added docs
---------
Co-authored-by: Pavel <pabin@yandex.ru >
Co-authored-by: Alex <a@tushynski.me >
2025-10-07 13:00:14 +03:00
Siddhant Rai
6c43245295
refactor: organize import statements for clarity and consistency
2025-10-03 12:41:03 +05:30
Siddhant Rai
70183e234a
refactor: break up monolithic routes.py into modular domain structure
2025-10-03 12:30:04 +05:30
Alex
4d34dc4234
Merge pull request #1996 from arc53/pr/1988
...
Pr/1988
2025-10-01 10:29:20 +01:00
Alex
a2d04beaa1
(refactor) remove redundant source validation in CreateAgent
2025-10-01 10:17:26 +01:00
Siddhant Rai
ba49eea23d
Refactor agent creation and update logic to improve error handling and default values; enhance logging for better traceability
2025-10-01 13:56:31 +05:30
Alex
b910f308f2
fix: api answer tool call event
2025-09-30 14:42:54 +01:00
Alex
068ce4970a
Merge branch 'refine/mcp-tool' of https://github.com/siiddhantt/DocsGPT into pr/1964
2025-09-26 13:42:34 +01:00
Alex
cf19165ad8
fix(lint): ruff
2025-09-26 13:42:08 +01:00
Alex
68c479f3a5
Merge branch 'main' into refine/mcp-tool
2025-09-26 13:40:12 +01:00
Siddhant Rai
3b27db36f2
feat: Implement OAuth flow for MCP server integration
...
- Added MCPOAuthManager to handle OAuth authorization.
- Updated MCPServerSave resource to manage OAuth status and callback.
- Introduced new endpoints for OAuth status and callback handling.
- Enhanced user interface to support OAuth authentication type.
- Implemented polling mechanism for OAuth status in MCPServerModal.
- Updated frontend services and endpoints to accommodate new OAuth features.
- Improved error handling and user feedback for OAuth processes.
2025-09-26 02:44:08 +05:30
ManishMadan2882
52065e69a4
ruff
2025-09-25 05:05:59 +05:30
ManishMadan2882
2d0e97b66d
(feat:oauth) provider as state, not args
2025-09-25 04:55:25 +05:30
ManishMadan2882
ac66d77512
(fix:oauth) handle access denied
2025-09-25 03:45:12 +05:30
ManishMadan2882
c0361ff03d
(fix:oauth) user field null
2025-09-25 03:27:16 +05:30
ManishMadan2882
6ca3d9585c
(fix:connector) db entry
2025-09-20 19:52:12 +05:30
ManishMadan2882
896612a5a3
(fix:auth) refresh drive token
2025-09-19 22:57:09 +05:30
Siddhant Rai
8ce345cd94
feat: refactor MCPTool to use FastMCP client and improve async handling, update transport and authentication configurations
2025-09-17 20:51:32 +05:30
ManishMadan2882
da2f8477e6
(feat:drive) oauth for drive.file scope, picker
2025-09-17 19:37:01 +05:30
ManishMadan2882
ec0c4c3b84
Merge branch 'main' of https://github.com/arc53/DocsGPT
2025-09-16 14:59:18 +05:30
Siddhant Rai
0ff6c6a154
Merge branch 'main' into feat/remote-mcp
2025-09-15 09:53:58 +05:30
Siddhant Rai
188d118fc0
refactor: remove unused logging import from routes.py
2025-09-10 22:14:31 +05:30
Siddhant Rai
adcdce8d76
fix: handle invalid chunks value in StreamProcessor and ClassicRAG
2025-09-10 22:10:11 +05:30
Siddhant Rai
b865a7aec1
Merge branch 'main' of https://github.com/siiddhantt/DocsGPT into pr/1930
2025-09-10 20:15:20 +05:30
Siddhant Rai
b052e32805
feat: enhance MCP tool configuration handling and authentication logic
2025-09-10 14:15:51 +05:30
ManishMadan2882
b2b9670a23
(feat:connectors) type as connector:file
2025-09-09 00:00:58 +05:30
Siddhant Rai
2f88890c94
feat: add support for multiple sources in agent configuration and update related components
2025-09-08 22:10:08 +05:30
ManishMadan2882
7896526f19
(feat:load_files) search feature
2025-09-05 10:35:23 +05:30
Siddhant Rai
1bf6af6eeb
feat: finalize remote mcp
2025-09-04 15:10:12 +05:30
ManishMadan2882
f7f6042579
(feat:connector) paginate files
2025-09-04 07:58:12 +05:30
Siddhant Rai
7c23f43c63
feat: Add MCP Server management functionality
...
- Implemented encryption utility for securely storing sensitive credentials.
- Added MCPServerModal component for managing MCP server configurations.
- Updated AddToolModal to include MCP server management.
- Enhanced localization with new strings for MCP server features.
- Introduced SVG icons for MCP tools in the frontend.
- Created a new settings section for MCP server configurations in the application.
2025-09-03 15:41:59 +05:30
ManishMadan2882
7e2cbdd88c
(feat:connector) redirect url as backend overhead
2025-09-03 09:57:13 +05:30
ManishMadan2882
3b3a04a249
(feat:connector) sync fixes UI, minor refactor
2025-09-02 20:28:23 +05:30
ManishMadan2882
384ad3e0ac
(feat:connector) raw sync flow
2025-09-02 13:34:31 +05:30
ManishMadan2882
2868e47cf8
(feat:connector) provider metadata, separate fe nested display
2025-08-29 18:05:58 +05:30
ManishMadan2882
e55d1a5865
(feat:connector,auth) consider user_id
2025-08-29 02:13:51 +05:30
ManishMadan2882
018273c6b2
(feat:connector) refactor, updated routes FE
2025-08-29 01:06:40 +05:30