Commit Graph

23 Commits

Author SHA1 Message Date
Siddhant Rai
125ce0aad3 test: implement full API test suite with mongomock and centralized fixtures (#2068) 2025-10-17 12:01:14 +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
76973a4b4c feat: answer routes re-structure for better maintainability and reuse 2025-07-23 20:07:42 +05:30
Siddhant Rai
a472ee7602 feat: add validation for required fields and improve agent creation logic 2025-07-12 12:30:00 +05:30
Siddhant Rai
e35f1d70e4 - Added image upload functionality for agents in the backend and frontend.
- Implemented image URL generation based on storage strategy (S3 or local).
- Updated agent creation and update endpoints to handle image files.
- Enhanced frontend components to display agent images with fallbacks.
- New API endpoint to serve images from storage.
- Refactored API client to support FormData for file uploads.
- Improved error handling and logging for image processing.
2025-06-18 18:17:20 +05:30
GH Action - Upstream Sync
0a3e8ca535 Merge branch 'main' of https://github.com/arc53/DocsGPT 2025-06-12 01:43:21 +00:00
ManishMadan2882
142477ab9b (feat:safe_filename) handles case of non-ascii char 2025-06-11 21:03:38 +05:30
Siddhant Rai
e9530d5ec5 refactor: update env variable names 2025-06-06 15:29:53 +05:30
Alex
05319e36a7 Merge pull request #1630 from siiddhantt/feat/show-tool-execution
feat: tool calls tracking
2025-02-14 10:27:15 +00:00
Alex
2d8aa229c6 fix: used for security comment 2025-02-13 11:10:44 +00:00
Siddhant Rai
8a3612e56c fix: improve tool call handling and UI adjustments 2025-02-13 05:02:10 +05:30
Alex
60772889d5 fix: handle bad tool name input 2025-02-10 16:20:37 +00:00
Alex
0a246d3de7 Merge branch 'main' into tool-use 2024-12-20 17:29:41 +00:00
ManishMadan2882
b19c14787e (fix) avoid stringifying list 2024-12-19 17:58:55 +05:30
ManishMadan2882
89a2f249c1 (feat:conv history) token limit from settings 2024-12-19 05:15:33 +05:30
ManishMadan2882
f8e4e42a36 (feat:limit conv history) add util method 2024-12-17 16:14:17 +05:30
Alex
1f649274d1 feat: tooling init 2024-12-05 22:44:40 +00:00
fadingNA
3e55be910b hashlib helper to gen cachekey 2024-10-12 10:47:33 -04:00
Siddhant Rai
e8988e82d0 refactor: answer routes to comply with OpenAPI spec using flask-restx 2024-09-30 00:41:34 +05:30
Alex
d9309ebc6e feat: better token counter 2024-08-31 17:07:40 +01:00
Alex
5c8133a810 chore: Update Docker build platforms for application and frontend and optimised embedding import 2024-05-18 12:10:24 +01:00
Alex
431755144e fix: Update count_tokens function in utils.py 2024-05-04 10:39:23 +01:00
Alex
391f686173 Update application files and fix LLM models, create new retriever class 2024-04-09 14:02:33 +01:00