Commit Graph

38 Commits

Author SHA1 Message Date
marko-kraemer ddf2d32f59 feat(admin): add user thread viewer with admin access bypass
 Features:
- Add admin portal thread viewer with pagination
- Display thread list with project names and public status
- Add clickable links to view threads via /share/{thread_id}
- Add admin bypass for accessing all threads (public and private)

🔧 Backend Refactoring:
- Consolidate admin APIs into admin_api.py and billing_admin_api.py
- Remove unused files: users_admin.py, admin/api.py
- Remove unused endpoints: user search, grant-bulk-credits, migrate-user
- Update admin thread endpoint to use share URLs

 Performance:
- Remove message_count from UserThreadSummary (optimization)
- Remove N+1 query issue in thread listing

🔒 Authorization:
- Add admin role bypass in verify_and_authorize_thread_access
- Create RLS migration (20251005160000_admin_roles_access.sql)
- Update thread_select_policy for admin access
- Update message_select_policy for admin access
- Update project_select_policy for admin access
- Update agent_runs_select_policy for admin access

💻 Frontend:
- Add Threads tab to admin user details dialog
- Add useAdminUserThreads hook with pagination
- Remove unused admin hooks (useAdminUserSearch, useAdminAdvancedSearch)
- Display thread metadata with Open button and ExternalLink icon

🗃️ Database:
- Apply RLS policies allowing admin/super_admin roles to bypass restrictions
- Admins can now view any thread, message, project, or agent_run

This enables admins to view and debug any user's threads through the
share page interface, regardless of public/private status.
2025-10-05 18:09:26 +02:00
Saumya 8141428fb6 doc parser tool 2025-09-29 10:59:50 +05:30
Saumya 886d9f99b4 feat: remove agent descriptions 2025-09-28 00:01:17 +05:30
Saumya 081650b89f feat: configurable custom oauth config via composio 2025-09-04 01:19:20 +05:30
Krishav Raj Singh 020bfcda9d google oauth 2025-08-29 10:06:21 +05:30
nettanvirdev 01c1e631e4 fix: updated self hosting docs, removed slack configuration, updated setup.py 2025-08-26 00:10:46 +06:00
nettanvirdev d902f28695 fix: updated self hosting docs, removed slack configuration, updated setup.py 2025-08-26 00:04:46 +06:00
theshyPika be2b91a98e feat: add OpenAI-compatible providers support
- Add OpenAI-compatible API support with custom endpoints
- Implement LiteLLM Router for multi-provider routing
- Add new config options: OPENAI_COMPATIBLE_API_KEY/BASE
- Update environment examples and self-hosting documentation

Enables support for local LLM services like Ollama, LM Studio, vLLM,
and third-party OpenAI-compatible providers.
2025-08-19 19:46:01 +08:00
mykonos-ibiza 2cba5392ca refactor: replace QStash with Supabase Cron for background job processing
- Removed references to QStash in documentation and codebase.
- Updated setup and configuration files to reflect the transition to Supabase Cron.
- Implemented new functions for scheduling and unscheduling jobs using Supabase Cron.
- Added webhook authentication using a shared secret for enhanced security.
- Cleaned up related dependencies and example configurations.
2025-08-09 15:40:11 +05:30
mykonos-ibiza 10d32c0487 refactor: remove RabbitMQ from the project
- Deleted RabbitMQ service from docker-compose configurations and related files.
- Updated environment variables and documentation to reflect the removal of RabbitMQ.
- Adjusted setup instructions and code to focus solely on Redis for backend operations.
2025-08-05 21:29:36 +05:30
mykonos-ibiza 8869138a7e feat(api-keys): implement API key management system
- Added a new API keys service with endpoints for creating, listing, revoking, and deleting API keys.
- Integrated API key validation and caching for performance.
- Updated backend configuration to include API key secret and throttling settings.
- Created frontend components for managing API keys, including a user interface for creating and displaying keys.
- Introduced a new database migration for the API keys table with necessary constraints and security policies.
- Enhanced authentication methods to support API key usage alongside JWT.
2025-07-29 19:38:37 +05:30
Marko Kraemer 010f0ab426
Revert "Revert random PR merged" 2025-07-28 08:14:58 +02:00
Marko Kraemer 454f0d3878
Revert "add support for Google Gemini API integration" 2025-07-28 08:07:42 +02:00
mykonos-ibiza ad9c1dabc8 add support for Google Gemini API integration
- Introduced GEMINI_API_KEY in setup and environment files.
- Updated SetupWizard to include Google Gemini as a supported LLM provider.
- Adjusted model selection logic to accommodate Gemini models.
- Modified billing and configuration files to handle Gemini model pricing and aliases.
- Updated documentation to reflect the addition of GEMINI_API_KEY.
2025-07-27 12:49:56 +05:30
LE Quoc Dat 93724249e7 AI: Add to all the related doc : morphllm as a provider; make it optional step when setting up by getting key at this :
https://morphllm.com/api-keys

when setting up, user should be able to choose to go to morphllm to get a key; or provide open router apikey (if not already in the previous step)
2025-07-24 13:14:52 +02:00
Saumya 15edfaa959 Merge branch 'main' into PRODUCTION 2025-07-11 09:20:17 +05:30
sharath 441e729b95
Revert "Merge pull request #901 from tnfssc/perf/remove-dramatiq-worker-rabbitmq"
This reverts commit 39898f8ab5, reversing
changes made to 07f4e088ab.
2025-07-09 18:15:37 +00:00
Saumya 1c17932b87 Merge branch 'main' into pipedram-credentials-profile 2025-07-09 00:59:19 +05:30
Saumya d4840c5946 pipedream integration for MCPs 2025-07-08 18:48:49 +05:30
sharath a343264160
refactor(docker): remove RabbitMQ service and related configurations from Docker setup 2025-07-07 20:00:26 +00:00
Soumyadas15 8ac2b9ba11 chore(dev): add new agent scheduling setup to setup.py 2025-07-03 10:17:57 +05:30
Soumyadas15 317888e33b feat: introduce credentials manager 2025-06-07 11:54:59 +05:30
Soumyadas15 4ec16da99d chore(dev): configure mcp with agent 2025-05-24 16:09:58 +05:30
sharath ff1670be90
feat(backend): langfuse traces 2025-05-21 00:39:28 +00:00
sharath 3a4debd407
feat(dramatiq): add workers to docker compose and update docs 2025-05-15 06:29:27 +00:00
Sylvain Cau 903a9cc928 Add support for self hosted Firecrawl 2025-05-05 21:05:02 -07:00
fanyinghao 59cb78e713 update .env, rename FIRECRAWL to FIRECRAWL_API_KEY 2025-04-29 14:26:25 +08:00
Adam Cohen Hillel 4b46c44893
Merge pull request #93 from kortix-ai/add-all-included-docker-for-self-hosting
[WIP] Making local dev easier
2025-04-25 18:40:32 +01:00
marko-kraemer 1b1878fceb add firecrawl for scraping, frontend fix 2025-04-25 18:13:16 +01:00
marko-kraemer 5c750d6387 redis & docker compose for prod 2025-04-24 22:15:47 +01:00
Adam Cohen Hillel 88593793f2 fix paths 2025-04-24 20:28:24 +01:00
marko-kraemer d904e03816 .env.example 2025-04-24 01:47:53 +01:00
marko-kraemer 7a57ee210a add conf, with local/dev/prod mode 2025-04-24 01:45:58 +01:00
marko-kraemer 82c1f93fc9 wip 2025-04-23 05:42:38 +01:00
marko-kraemer 6ac4213fdc frontend we are nearly there sergeant 2025-04-20 01:27:46 +01:00
Adam Cohen Hillel 7393d620bd first edition 2025-04-15 22:42:56 +01:00
Adam Cohen Hillel 55b4d26348 sb tempo 2025-04-08 21:09:45 +01:00
Adam Cohen Hillel 00667a0a20 gitignore and readme and example 2025-04-08 18:26:16 +01:00