Commit Graph

1158 Commits

Author SHA1 Message Date
Saumya a737299232 parallelize mcp initialization 2025-08-07 15:22:10 +05:30
Saumya 8c6ce0923a dynamic mcp tool registration 2025-08-07 14:32:17 +05:30
Saumya c7adfa6796 enhance system prompt 2025-08-07 14:12:57 +05:30
Saumya d941b573d5 improve system prompt for self configuration 2025-08-07 11:50:41 +05:30
Bobbie e13c1e9cf8
Merge pull request #1217 from escapade-mckv/composio-1a
fix: cleanup ux and stuff
2025-08-06 17:24:02 +05:30
Saumya c269d26b4e fix: cleanup ux and stuff 2025-08-06 17:22:41 +05:30
Saumya d9277ff63e imprive presentation tool 2025-08-06 17:18:37 +05:30
Saumya bbd4b8f4d2 Merge branch 'main' into presentation-tool 2025-08-06 13:47:40 +05:30
Bobbie ebe50feba3
Merge pull request #1211 from mykonos-ibiza/refactor/remove-rabbitmq
Refactor Remove RabbitMQ and replace with Redis
2025-08-06 13:02:37 +05:30
Saumya 752d201ac5 Merge branch 'main' of github.com:escapade-mckv/suna into composio-1a 2025-08-06 11:57:35 +05:30
Saumya 87f6adc8cf composio integrations UX improvement 2025-08-06 11:56:46 +05:30
sharath 2ed2f5c3b2
Merge branch 'PRODUCTION' 2025-08-06 06:15:20 +00:00
mykonos-ibiza 584a4192d7 Fix billing service to get customer data from Stripe if it's missing from DB
- Updated `get_stripe_customer_id` function to accept a Supabase client and handle missing user_id metadata in Stripe customers.
- Added logic to create or update records in the `billing_customers` table based on Stripe customer data.
- Improved logging for customer metadata updates and billing record changes.
2025-08-06 11:40:11 +05:30
Saumya 3b977e961e chore: improve integrations manager ux 2025-08-06 11:31:10 +05:30
Saumya 50b6ad5189 improve composio UC 2025-08-06 11:18:06 +05:30
Saumya 25ea4bd86f presentation tool 2025-08-06 02:42:46 +05:30
Saumya 99a2e9af18 custom agent preview 2025-08-06 00:43:33 +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
Bobbie 09e5dfc012
Merge pull request #1206 from mykonos-ibiza/limit-running-agents
feat(agent-run-limits): implement agent run limit checks and UI dialogs
2025-08-05 18:19:51 +05:30
mykonos-ibiza ddef5fab19 refactor(agent-run-limits): centralize agent run limit configuration
- Removed hardcoded maximum parallel agent runs and replaced with a configurable property in the Configuration class.
- Updated API and agent limit checks to utilize the new configuration property.
- Simplified error handling by removing limit from error details in the frontend components.
- Adjusted UI components to reflect changes in agent limit data structure.
2025-08-05 18:15:52 +05:30
Saumya df951703b7 feat: integrate composio tooling system 2025-08-05 14:07:42 +05:30
mykonos-ibiza 43bc71779e feat(agent-run-limits): implement agent run limit checks and UI dialogs
- Added functionality to check the maximum parallel agent runs allowed within a 24-hour period.
- Introduced `AgentRunLimitError` to handle cases where the limit is exceeded.
- Updated API to return appropriate error responses for agent run limits.
- Created `AgentRunLimitDialog` component to inform users when the limit is reached, displaying currently running agents and options to stop them.
- Integrated limit checks into agent initiation and running processes across relevant components.
2025-08-04 22:23:25 +05:30
Saumya aa37988106 update agent builder to use composio 2025-08-04 10:43:42 +05:30
Saumya d456817809 Merge branch 'main' of github.com:escapade-mckv/suna into composio-1a 2025-08-04 09:14:02 +05:30
Saumya 354286212d feat: integrate composio 2025-08-04 09:13:20 +05:30
sharath 40ff64f51e
Merge branch 'PRODUCTION' 2025-08-03 18:32:52 +00:00
sharath 14093acc75
hotfix(billing): infinite usage glitch fix 2025-08-03 18:32:38 +00:00
Saumya 5ca3cffae3 composio integration 2025-08-03 10:46:07 +05:30
marko-kraemer adf9326f61 feat: implement JSON agent export/import with improved UX
- Add backend API endpoints for agent export/import
  - GET /agents/{agent_id}/export - exports agent configuration as JSON
  - POST /agents/import - imports agent from JSON (new agents only)
  - Add AgentExportData and AgentImportRequest Pydantic models

- Integrate export functionality in agent config header
  - Add always-visible 3-dots menu left of "Prompt to Build" tab
  - Include export option in dropdown menu for all agent types
  - Handle loading states during export process

- Add subtle import functionality to new agent dialog
  - Replace mode selection with "or import from JSON" link
  - Support file upload and validation for agent JSON
  - Streamline UX for creating agents from templates

- Create React Query hooks for export/import operations
  - useExportAgent: handles JSON download with proper error handling
  - useImportAgent: creates new agent and invalidates cache

- Remove update existing agent option (import creates new agents only)
- Fix API integration to use direct fetch calls with backend URL
- Clean up unused components and improve code organization

This enables users to share agent configurations across instances
and create agents from templates with an intuitive interface.
2025-08-03 02:01:31 +02:00
marko-kraemer 8d32a2c62d templates api auth 2025-08-02 23:46:49 +02:00
marko-kraemer 924c1540d2 feat: add template deletion functionality, owner template indicator, owner template filter 2025-08-02 22:25:19 +02:00
Saumya 3e6859e9ca chore: functional composio integration 2025-08-03 01:40:11 +05:30
marko-kraemer 6fdc3860fe fix potential 2025-08-02 20:57:29 +02:00
Marko Kraemer 9d857483eb
Merge branch 'main' into feat/task_list_tool 2025-08-02 20:46:23 +02:00
Marko Kraemer 2aa8f0854c
Merge pull request #1173 from theshyPika/feat/dynamic-datetime-variables
feat: add dynamic datetime variables to agent prompts
2025-08-02 20:43:16 +02:00
Krishav Raj Singh 8477b5efce update description and prompt 2025-08-02 18:56:24 +05:30
Krishav Raj Singh 4f32ed007a refactor: use section_id 2025-08-02 18:54:59 +05:30
Chaitanya045 713863dc0b Added Pandas to sandbox docker image. 2025-08-02 18:28:26 +05:30
Saumya b4e8796a3c the functions required for composio 2025-08-02 13:52:17 +05:30
Krishav 2ca30bec83
Merge branch 'kortix-ai:main' into feat/task_list_tool 2025-08-02 00:26:43 +05:30
Saumya 26e69a24b9 Merge branch 'main' into composio-1a 2025-08-01 21:06:52 +05:30
Bobbie 4a6073a563
Merge pull request #1163 from mykonos-ibiza/kortix-sdk
Feat Kortix SDK
2025-08-01 20:01:07 +05:30
mykonos-ibiza dfab627eba Add message deletion functionality and refactor related methods
- Introduced a new endpoint in the API to delete messages from a thread, enhancing message management capabilities.
- Added a `del_message` method in the `Thread` class to facilitate message deletion.
- Updated the `ThreadsClient` class to include a method for deleting messages from a thread, ensuring consistent API interaction.
- Refactored the `Agent` class to rename the `tool_details` method to `details`, improving clarity in method naming.
2025-08-01 15:35:09 +05:30
ck 120de528bb feat: add dynamic datetime variables to agent prompts
- Add custom_prompt.py module for template variable processing
- Replace hardcoded year with {{current_year}} template variable
- Support {{current_date}}, {{current_time}}, {{current_year}} variables
- Ensure consistent datetime handling across all prompt files
- Fix prompt template inconsistencies
2025-08-01 16:11:35 +08:00
Krishav 90063d7c59
Merge branch 'kortix-ai:main' into feat/task_list_tool 2025-08-01 13:07:27 +05:30
Saumya 6de7bd0f6c fix agent builder update tool 2025-08-01 13:04:24 +05:30
Saumya 5d126bc75b test composio sdk 2025-08-01 12:54:16 +05:30
Krishav Raj Singh 83d7882b2c fix: replace xml_schema with usage_example 2025-08-01 10:51:52 +05:30
Krishav Raj Singh 191279256c refactor prompt 2025-08-01 10:51:52 +05:30
Krishav Raj Singh 457b548a65 feat: add section in tool_list 2025-08-01 10:51:52 +05:30
Krishav Raj Singh 7239ce4668 merge conflict 2025-08-01 10:51:50 +05:30
Krishav Raj Singh 1e5342b6dc refactor: prompt 2025-08-01 10:51:16 +05:30
Krishav Raj Singh 50ea2da1ac fix: prompt 2025-08-01 10:51:16 +05:30
Krishav Raj Singh 4b423865bf chore: refactor prompt 2025-08-01 10:51:16 +05:30
Krishav Raj Singh 61d2ad5df4 feat: ui for task list tool 2025-08-01 10:51:16 +05:30
Krishav Raj Singh d6bc346bbc fix: task list tool 2025-08-01 10:51:16 +05:30
Krishav Raj Singh a9cd2fbca6 feat: added task list tool 2025-08-01 10:51:16 +05:30
marko-kraemer 001cfacb01 fix agent run status not updating 2025-07-31 23:33:42 +02:00
Bobbie 0250e786cd
Merge pull request #1165 from escapade-mckv/fix-agent-builder-2a
fix agent builder functionality
2025-08-01 02:16:58 +05:30
Saumya e8972fb788 fix agent builder functionality 2025-08-01 02:15:49 +05:30
mykonos-ibiza e1c1e19dee Refactor agent version handling and improve logging
- Updated the `update_agent` function to access `version_number` and `version_name` directly from the `new_version` object, enhancing clarity and consistency in version management.
- Improved logging statements to reflect the changes in how version details are accessed, ensuring accurate log messages for created versions.
2025-08-01 02:10:40 +05:30
mykonos-ibiza 51aecd3e67 Merge branch 'main' into kortix-sdk 2025-08-01 01:47:10 +05:30
Vukasin f1024d8e07 fix: pipedream app connection 2025-07-31 19:40:55 +02:00
Vukasin 1ff01ef83c Merge remote-tracking branch 'upstream/main' into feat/wip-workflow 2025-07-31 18:28:06 +02:00
Vukasin e89cd8d3e7 fix: visual improvements 2025-07-31 18:28:02 +02:00
Vukasin 1900bf9b60 fix: workflow saving 2025-07-31 15:37:24 +02:00
mykonos-ibiza 8f6af9d29d Merge branch 'main' into kortix-sdk 2025-07-31 18:47:38 +05:30
mykonos-ibiza a4141365cb
Merge branch 'main' into stripe-add-yearly-commitment-plans 2025-07-31 16:18:21 +05:30
mykonos-ibiza 1b608c006d Update Stripe yearly commitment pricing IDs in configuration
- Modified the configuration file to update the Stripe pricing IDs for yearly commitment plans in the production environment.
- Ensured consistency with the latest pricing structure for subscription tiers.
2025-07-31 16:09:33 +05:30
Saumya 91508d60f1 cleaup code, remove unused endpoints & methods 2025-07-31 09:58:33 +05:30
Saumya bbfbc3cea5 Merge branch 'fix-mcp-connection' into backend-cleanup 2025-07-31 09:18:54 +05:30
Saumya 1701eb421c fix mcp connection error for tools 2025-07-31 09:18:31 +05:30
Saumya bf3904e860 rtefactor backend 2025-07-31 09:07:09 +05:30
mykonos-ibiza a7b142ed74 Implement yearly commitment subscription plans and enhance billing logic
- Added support for yearly commitment plans with associated pricing tiers in the billing service.
- Introduced validation functions to manage plan changes and restrictions based on business rules.
- Updated configuration to include new yearly commitment pricing in both production and staging environments.
- Enhanced frontend components to handle subscription management, including cancellation and reactivation features.
- Refactored billing-related hooks and API calls to accommodate new subscription types and improve error handling.
2025-07-31 02:16:08 +05:30
mykonos-ibiza 6b137e4fc8 Update stripe dependency from version 12.0.1 to 11.6.0 in pyproject.toml and uv.lock 2025-07-31 02:14:02 +05:30
marko-kraemer 1f73aa25ef rm temp readme 2025-07-30 22:18:51 +02:00
marko-kraemer 0f36b6e953 update tool decorator to have usage_example 2025-07-30 22:13:46 +02:00
Bobbie 91e1468f39
Merge pull request #1140 from escapade-mckv/fix-agent-creation
fix agent creation
2025-07-30 23:38:55 +05:30
Saumya b36715d2b6 fix agent creation 2025-07-30 23:37:36 +05:30
Vukasin 762f18f96f Merge remote-tracking branch 'upstream/main' into feat/wip-workflow 2025-07-30 17:09:32 +02:00
Marko Kraemer d5159f5fba
Merge pull request #1111 from kortix-ai/agentpress-sdk-refactor
remove legacy XML schema & agentpress sdk example
2025-07-30 17:09:29 +02:00
marko-kraemer 99e4ba0574 merge 2025-07-30 16:54:54 +02:00
marko-kraemer ba455ef5f7 Merge branch 'main' into agentpress-sdk-refactor 2025-07-30 16:33:11 +02:00
Bobbie c005d6f166
Merge pull request #1137 from escapade-mckv/pipedream-refactor-2a
Pipedream refactor 2a
2025-07-30 19:53:20 +05:30
Saumya a6058b94ad refactor pipedream codebase 2025-07-30 19:52:31 +05:30
marko-kraemer f140634859 wip 2025-07-30 16:10:42 +02:00
Saumya 773987bebc refactor pipedream 2025-07-30 19:33:43 +05:30
Saumya f095affcf1 refactor pipedream codebase 2025-07-30 17:57:26 +05:30
Saumya bf92b5b831 mcp module refactor 2025-07-30 14:36:26 +05:30
Saumya 080a0b1cef suna agent installation cleanup 2025-07-30 12:29:25 +05:30
Saumya 26fd18b6b8 cleanup agent builder tools 2025-07-30 11:37:34 +05:30
Saumya 8e1cce5cbd refactor versioning & run.py 2025-07-30 11:20:05 +05:30
Vukasin 612e5c6d74 fix: util parsing and ajust structure 2025-07-29 23:34:02 +02:00
Saumya f848d5c10f refactor versioning 2025-07-29 23:41:22 +05:30
Saumya 8a859038c3 Merge branch 'main' into refactor-backend-2 2025-07-29 22:18:10 +05:30
mykonos-ibiza 01c0178531 fix(api): update allowed methods in CORS middleware to include PATCH
- Modified the CORS middleware configuration to support the PATCH method, enhancing API flexibility for client requests.
2025-07-29 19:43:32 +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 0063d72f2a wip 2025-07-29 14:45:21 +02:00
marko-kraemer b876a4007f wip 2025-07-29 14:33:32 +02:00
Marko Kraemer e7ad67caef
Merge pull request #1116 from dat-lequoc/ai-iteration-20250728-231518
Morph AI Edit_file, better prompting ; Update UI as well, but need more check on frontend
2025-07-29 13:00:44 +02:00
mykonos-ibiza 7050490d03 feat(api): enhance thread creation and agent functionality
- Updated the `create_thread` endpoint to set a default name if none is provided.
- Modified the `Agent` class to use a dictionary for `agentpress_tools` instead of a custom type.
- Improved the `LocalKVStore` initialization to use a hidden filename.
- Added a new weather retrieval tool to the MCP.
- Updated agent and thread setup in the main function for better clarity and functionality.
- Refactored message handling in the `ThreadsClient` to use query parameters for message posting.
2025-07-29 14:23:12 +05:30
Saumya 46a028ed61 cleanup 2025-07-29 12:45:20 +05:30
mykonos-ibiza 307a9a80ae Merge branch 'main' into kortix-sdk 2025-07-29 12:20:11 +05:30
Saumya 488d184939 refactor & cleanup templates 2025-07-29 11:25:18 +05:30
LE Quoc Dat 1211eefbdd more guide, and edit_tool grind preference 2025-07-28 23:47:08 +02:00
LE Quoc Dat c8c71b5936 AI: the AI can't still use the AI edit tool correctly. we should update the prompt a bit, and also make the better example :
the authenticate_user; pls add something in the top like import, so we can do like this :
"""
// ... existing imports ...
import something
// ... existing code ...
<auth func() ... >
// ... existing code
"""

add another example on top of it : todo list ; where we show it's convinient for checking some scattered todo box .
2025-07-28 23:17:37 +02:00
LE Quoc Dat ef980353ba AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 22:22:38 +02:00
LE Quoc Dat fe1e1c6fb4 AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 22:16:20 +02:00
LE Quoc Dat 0215b81b09 AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 22:06:04 +02:00
LE Quoc Dat 1fbac3bc15 AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 21:59:07 +02:00
LE Quoc Dat cb424d8fe7 AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 21:55:45 +02:00
LE Quoc Dat deb442cbf7 AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit

Could not extract the file changes from the tool result."""

Check the state of code base and make to sure implement fully
2025-07-28 21:40:07 +02:00
mykonos-ibiza 57aa08fdaa feat(sdk): restructure SDK into new directory with updated API and models
- Moved existing components to a new `sdk` directory for better organization.
- Introduced new API structure for agent and thread management.
- Added models for tools and messages to enhance functionality.
- Implemented a local key-value store for persistent data management.
- Updated README and project files to reflect new structure and usage.
2025-07-29 00:41:33 +05:30
LE Quoc Dat 9a0dc4e200 AI: can we streamline the edit-file just like the create_file tool, in the front end ?
like stream the code-edit output of the agent; Then we should be able to show the diff as well, when the tool complete. We get the original file content, and the full updated code (output of morph) and some how send it to the front end.

the front end should show this properly , concisely so user can see the changes in green / red.

This shouldn't change the content feed to the model btw. Like it will pollute the context.

make a plan what to do first, not make changes yet
2025-07-28 20:46:21 +02:00
LE Quoc Dat 2608ad2ef1 prompting 2025-07-28 19:40:18 +02:00
marko-kraemer 696dd3722f wip 2025-07-28 19:25:52 +02:00
LE Quoc Dat 1d9bcbd202 AI: we need instruct the agent to Always use edit_tool. it doesn't do this for now. Like it prefer str_replace 2025-07-28 18:46:41 +02:00
Saumya e4d24d9038 refactor credentials codebase 2025-07-28 22:06:07 +05:30
LE Quoc Dat 1eff96929a AI: the edit tool is very good now, we need to make the model uses more this tool.
We still keep the tool itself, but in the prompt, we remove the need of writing str_replace and full rewrite, in the example, or prompt. because they will have the tools context as well. you understand ?
2025-07-28 18:24:29 +02:00
LE Quoc Dat 6b93e911d5 fix morph tool 2025-07-28 18:09:22 +02:00
marko-kraemer bb60569193 wip 2025-07-28 16:38:53 +02:00
Saumya 46010875d8 fix trigger import error 2025-07-28 18:05:59 +05:30
marko-kraemer 4bce5d799f wip 2025-07-28 14:08:56 +02:00
marko-kraemer b9a4beb136 wip 2025-07-28 13:13:42 +02:00
marko-kraemer 2b31379b89 wip 2025-07-28 12:53:36 +02:00
Saumya 3fb032185c refactor triggers 2025-07-28 15:46:29 +05:30
marko-kraemer a660919dec wip 2025-07-28 11:53:10 +02:00
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
marko-kraemer 2819840fb6 rem wip 2025-07-27 22:09:01 +02:00
marko-kraemer 1545af26f6 updated kb routes 2025-07-27 17:09:30 +02:00
marko-kraemer c22227a8b7 add back kb routes 2025-07-27 17:02:20 +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
marko-kraemer aed291e7c3 wip 2025-07-27 05:53:25 +02:00
marko-kraemer e38d8f327e wip 2025-07-27 05:15:33 +02:00
marko-kraemer 3405c27ef6 wip 2025-07-27 01:22:56 +02:00
marko-kraemer ef087747ab rem legacy workflows, db unused schema cleanup wip 2025-07-26 22:31:31 +02:00
Saumya ec5e0b7560 improve system promot for self-config 2025-07-26 21:45:06 +05:30
mykonos-ibiza 8062aa18d1 fix(auth_utils): enhance string comparison safety by handling None values 2025-07-26 20:07:00 +05:30
mykonos-ibiza 562c05e411
Merge branch 'kortix-ai:main' into feat/headless-apis 2025-07-26 18:48:50 +05:30
mykonos-ibiza 37f8e63cf1 feat(deepai): add deepai specific endpoints 2025-07-26 18:47:22 +05:30
Saumya 845c17d968 fix agent builder tool calls 2025-07-26 11:04:07 +05:30
marko-kraemer 39cf6c13a5 Fix billing error for Grok models by adding x-ai model aliases and pricing
- Added 'x-ai/grok-4' alias to xai/grok-4 model configuration
- Added OpenRouter x-ai model pricing support in constants generation
- Resolves LiteLLM 'LLM Provider NOT provided' errors in billing system
- Ensures proper token cost calculation for all Grok model variations
2025-07-25 20:17:02 +02:00
Marko Kraemer 159b128ecd
Merge pull request #1057 from dat-lequoc/ai-iteration-20250724-131301
Add FAST APPLY -- Morph LLM -- edit_file tool
2025-07-25 18:24:06 +02:00
Marko Kraemer 426017931e
Merge pull request #1055 from yangsijie666/fix/shell-tool-command-completion
fix: improve command completion detection in shell tool
2025-07-25 16:41:00 +02:00
Saumya 3f54a318ff improve error handling in update agent 2025-07-25 15:20:25 +05:30
Saumya 40a145552f Merge branch 'main' of github.com:escapade-mckv/suna into extend-agent-builder 2025-07-25 13:25:11 +05:30
Saumya 8150ce94a1 feat: extend agent builder for Suna 2025-07-25 13:24:34 +05:30
Bobbie f4dc33ab13
Merge pull request #1056 from mykonos-ibiza/fix/2fa
fix: migrate MFA functionality to frontend and remove backend MFA endpoints
2025-07-25 13:02:01 +05:30
mykonos-ibiza f4df0087b1 fix model name for anthropic model before fallback to OpenRouter 2025-07-25 12:59:08 +05:30
Marko Kraemer d72f84240a
Merge pull request #938 from KrishavRajSingh/krishav/feat/manage_key_ui
Krishav/feat/manage key UI
2025-07-25 00:22:35 +02:00
Marko Kraemer 4b20eb983b
Merge pull request #1060 from KrishavRajSingh/krishav/fix/half_finished_response 2025-07-24 18:02:50 +02:00
Krishav Raj Singh f99027b848 remove multiple var should_auto_continue 2025-07-24 20:51:21 +05:30
Bobbie 4759b89871
fix Dockerfile too many workers 2025-07-24 20:49:51 +05:30
Krishav Raj Singh e4a6f5a1ef fix: auto continue response if finish_reason is length 2025-07-24 20:22:44 +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
LE Quoc Dat 09751be00b AI: when it comes to morph api key:
this is the correct endpoint : """Python

Copy

Ask AI
from openai import OpenAI

client = OpenAI(
    api_key="your-morph-api-key",
    base_url="https://api.morphllm.com/v1"
)"""
2025-07-24 13:04:46 +02:00
LE Quoc Dat 430c11ae8b AI: when it comes to morph api key:
- default we use morph api, with morph endpoint.
- If morph api key is not set, fall back to open router
2025-07-24 12:58:55 +02:00
LE Quoc Dat fadbf63a2f AI: in the prompt , can you fix the example of making changes to a file? We should make in value the edit_file, not replace string or full rewrite.
so like we should show the full_write when start, then edit for normal cases, then S/R for single block, or easy stuff
2025-07-24 12:52:57 +02:00
LE Quoc Dat b1ac5793ba edit_file 2025-07-24 12:46:57 +02:00
Saumya 1e6488ca45 agent builder works with config 2025-07-24 15:15:38 +05:30
mykonos-ibiza fc47e89da8 migrate MFA functionality to frontend and remove backend MFA endpoints 2025-07-24 14:16:04 +05:30
杨斯杰 a08f400db2 fix: improve command completion detection in shell tool
- Replace simple marker check with precise character-by-character comparison
- Skip newlines during marker matching from end to start
- Add echo detection to prevent false positives when command just started
- Optimize English comments for better code readability
2025-07-24 11:17:44 +08:00
Saumya 7d3479d171 make config the single source of truth 2025-07-24 00:15:53 +05:30
Saumya bdd7a005a8 fix: tool calls of custom agents 2025-07-23 20:13:00 +05:30
Saumya 58ab4ace21 fix migrations 2025-07-23 15:07:17 +05:30
Saumya 030ffe23a3 fix suna install on oauth 2025-07-23 14:52:44 +05:30
Saumya 6b99777265 treat suna as a custom agent 2025-07-23 13:20:20 +05:30
Saumya c57a9fb58b pick suna details from code 2025-07-23 11:44:36 +05:30
Saumya 049c6c4d1b Merge branch 'main' into custom-suna-agent 2025-07-23 11:08:26 +05:30
Saumya 622f954119 use suna config from the code 2025-07-22 22:46:34 +05:30
Saumya 34ae50a68b custom suna agent 2025-07-22 21:41:10 +05:30
sharath 7b66d6d58c
fix(auth): disable phone verification requirement for new users 2025-07-22 10:58:32 +00:00
sharath 52bfed51f6
fix(llm): reorder model provider list for consistency 2025-07-22 05:00:58 +00:00
sharath 6a80a2e87d
chore(models): change model availability 2025-07-22 04:58:16 +00:00
Krishav Raj Singh e64af87611 undo providers location 2025-07-21 22:57:25 +05:30
Krishav Raj Singh c3f431d0ee Merge remote-tracking branch 'upstream/main' into krishav/feat/manage_key_ui 2025-07-21 21:04:01 +05:30
Saumya 6a8d0b9351 add tools info in the app card 2025-07-21 16:03:00 +05:30
Saumya 8188a83a6d Merge branch 'main' into fix-ux-issues 2025-07-21 10:53:56 +05:30
sharath f5395e3e3b
feat(auth): enhance MFA logging with structured context 2025-07-20 17:38:19 +00:00
sharath dede5564bb
fix(auth): refine phone verification requirement logic 2025-07-20 17:32:56 +00:00
Sharath 94ce6bd8ad
Merge branch 'main' into sharath/suna-495-add-phone-number-verification-for-signups 2025-07-20 22:52:00 +05:30
sharath 1eb148821b
chore(auth): remove unused phone input styles 2025-07-20 17:19:48 +00:00
sharath 79a056be60
feat(auth): add environment-based phone verification requirement
- Introduced a new function to determine if phone verification is mandatory based on an environment variable.
- Updated the logic in the authentication assurance level check to reflect the new phone verification requirement for new users.
- Enhanced logging to provide clearer insights into phone verification status during authentication checks.

This update improves the flexibility of phone verification requirements based on deployment configurations.
2025-07-20 17:01:13 +00:00
sharath 29ca4c00b5
Revert hotfix(vuln): send-welcome-email 2025-07-20 16:47:33 +00:00
sharath b38637d043
hotfix(vuln): send-welcome-email 2025-07-20 16:40:11 +00:00
Saumya 025da780ac fix: agent builder fix 2025-07-20 20:16:59 +05:30
Saumya 4dafadc576 fix ui issues 2025-07-20 10:19:42 +05:30
Cursor Agent f6e9d7342a Replace sandbox image with snapshot in Daytona configuration
Co-authored-by: sharath <sharath@kortix.ai>
2025-07-19 22:25:21 +00:00
sharath 0765c728ae
feat(auth): add phone verification
- Updated phone verification API to support SMS-based 2FA, allowing users to enroll and verify their phone numbers.
- Introduced new components for background AAL checking and status display, improving user experience during authentication.
- Removed the deprecated PhoneVerificationGuard component and integrated its functionality into the new AALChecker and BackgroundAALChecker components.
- Updated React Query hooks for managing phone verification and AAL states, ensuring efficient data handling and cache management.
- Enhanced frontend layout to accommodate new verification flows and improve overall responsiveness.

This update strengthens account security by enforcing phone verification for new users and streamlining the MFA process.
2025-07-19 21:49:52 +00:00
Cursor Agent bafa1becef Enhance complete tool with text, attachments, and improved frontend rendering
Co-authored-by: tnfssc <tnfssc@gmail.com>
2025-07-19 15:45:43 +00:00
sharath a332cf9a31
feat(2fa): implement phone verification feature with MFA support
- Added phone verification endpoints for TOTP-based multi-factor authentication in the backend.
- Created frontend components for phone input and OTP verification.
- Integrated phone verification guard to ensure users complete verification before accessing the app.
- Updated API routes and React Query hooks for managing phone verification status and actions.

This feature enhances account security by requiring users to verify their phone numbers.
2025-07-19 15:14:55 +00:00
Sharath 878659aadf
fix(llm): switch kimi k2 provider 2025-07-19 19:50:38 +05:30
sharath fdc5fd0f0a
fix(prompt): clarify usage of 'ask' tool and update completion instructions in prompt and message_tool descriptions 2025-07-19 02:12:40 +00:00
sharath dc14691c32
chore(models): update model tiers to premium and adjust availability in constants 2025-07-19 02:12:07 +00:00
Krishav 74fc265187
Merge branch 'kortix-ai:main' into krishav/feat/manage_key_ui 2025-07-18 23:24:28 +05:30
sharath 37a3751bbf
enhance(message_tool): update ask function description to include task completion instruction and expand usage scenarios 2025-07-18 16:01:58 +00:00
sharath 4f142ca083
fix(sandbox): reduce auto archive interval from 24 hours to 2 hours 2025-07-18 13:58:16 +00:00
Marko Kraemer 783073e14f
Revert "Like/dislike response" 2025-07-18 14:33:34 +02:00
sharath 72b8922320
fix(kimi-k2): model stops before previewing the results to the user 2025-07-18 10:12:52 +00:00
Krishav Raj Singh c1d662b10e migration for on_delete cascade 2025-07-18 05:13:45 +05:30
Krishav Raj Singh 18678999e2 auth feedback policy 2025-07-18 05:13:45 +05:30
Krishav Raj Singh 0fefd5857a view feedback on refresh 2025-07-18 05:13:45 +05:30
Krishav Raj Singh 01605a99bf authorised access 2025-07-18 05:13:45 +05:30
Krishav Raj Singh d506b0b63b feedback api 2025-07-18 05:13:45 +05:30
Krishav Raj Singh a8fd7afcac feedback api and integration 2025-07-18 05:13:41 +05:30
Krishav 43471577b3
Merge branch 'kortix-ai:main' into krishav/feat/manage_key_ui 2025-07-18 04:51:20 +05:30
sharath 618a68985b
fix(sample_responses): update sample response files to include closing tags for function_calls in multiple sections, ensuring proper structure and formatting 2025-07-17 13:19:04 +00:00
Saumya 94661a2b59 Merge branch 'main' into react-flow 2025-07-17 11:52:04 +05:30
Saumya d2245673ca chore(dev): workflowx and ux improvement 2025-07-16 23:16:10 +05:30
Krishav Raj Singh e31dc7f8e8 Local .Env Manager 2025-07-16 21:35:11 +05:30
sharath d4b031d00e
refactor(models): comment out old model configurations 2025-07-16 13:27:56 +00:00
sharath 24acc948b5
fix(models): add grok and kimik2 to free 2025-07-16 13:15:32 +00:00
Cursor Agent 037956f22b Update model tiers and availability for free and paid users
Co-authored-by: markokraemer.mail <markokraemer.mail@gmail.com>
2025-07-16 12:36:51 +00:00
Krishav d098ebd435
Merge branch 'kortix-ai:main' into krishav/feat/manage_key_ui 2025-07-16 14:05:36 +05:30
Saumya 200620f617 Merge branch 'main' into react-flow 2025-07-16 10:39:11 +05:30
Saumya a8fdc7805f merge main into refactor 2025-07-16 10:17:28 +05:30
sharath 13c31d42f6
feat(kimi-k2): add support for Kimi-K2 model with updated token limits and parameters 2025-07-15 13:12:30 +00:00
Saumya 414eb23949 show upcoming run in agent page 2025-07-15 11:18:01 +05:30
Saumya 76eef5081c chore: refactor backend - 1 2025-07-14 19:47:54 +05:30
Saumya 1b347eb713 chore: refactor backend - 1 2025-07-14 19:47:10 +05:30
Saumya 85e2d5736b refactor workflows 2025-07-14 18:40:24 +05:30
Saumya 54db0d24fb Merge branch 'versioning-refactor' into refactor-run-1a 2025-07-14 17:20:07 +05:30
Saumya 01209fc3e8 trigger refactor 2025-07-14 17:19:18 +05:30
Saumya bdd9ffc1d8 refactor backend code 2025-07-14 16:06:27 +05:30
Saumya 2fabfab882 versioning code refactor 2025-07-13 23:26:24 +05:30
Saumya 9b0571a7dc versioning setup 2025-07-13 19:59:38 +05:30
Krishav Raj Singh 44906ee3d0 frontend for local api key management 2025-07-13 11:52:15 +05:30
Krishav Raj Singh ecb077e12f get/save llm keys 2025-07-12 13:52:33 +05:30
Saumya 3fa9fac9f6 fix: agent builder & agents ui 2025-07-12 02:12:23 +05:30
sharath df871a6eb9
chore(backend): add grok fallbacks
- Moved fallback model assignment to a dedicated function in `prepare_params`.
- Removed redundant fallback handling from `make_llm_api_call`.
- Updated model constants to include aliases for `xai/grok-4`.
2025-07-11 15:11:02 +00:00
sharath d3480100f6
Merge branch 'PRODUCTION' 2025-07-11 13:13:34 +00:00
Sharath 8cbaf3d44a
fix(backend): anthropic overloaded fallback failure (#929) 2025-07-11 18:36:15 +05:30
Saumya 547bf72d24 feat: improve integrations ux 2025-07-11 13:47:44 +05:30
Saumya f80dc13cab feat: app profile integrations UI 2025-07-11 10:14:59 +05:30
Saumya 3c920ba0aa Merge branch 'main' into flow-improvement 2025-07-11 09:21:05 +05:30
Saumya 15edfaa959 Merge branch 'main' into PRODUCTION 2025-07-11 09:20:17 +05:30
Saumya daa0f81275 Merge branch 'main' into flow-improvement 2025-07-11 09:17:03 +05:30
Saumya 84541d9f1d ui revamp 2025-07-10 20:14:09 +05:30
marko-kraemer 957a2c9cbf model fallback, add xai grok 4 2025-07-10 12:58:10 +02:00
Saumya 164a647f9e Merge branch 'main' into fix-versioning 2025-07-10 12:33:08 +05:30
Saumya 4350dc8dfa feat: agent builder revamp 2025-07-10 12:32:15 +05:30
marko-kraemer 87da181fc5 wip 2025-07-10 07:21:23 +02:00
Saumya ca0c627766 chore: update agent builder for credential profiles, workflows 2025-07-10 10:22:44 +05:30
Sharath fcf9a97bd9
chore(backend): increase redis connection pool 2025-07-10 09:58:22 +05:30
marko-kraemer ef3101fbb7 wip 2025-07-10 04:15:45 +02:00
sharath 42432d7dbe
chore(api): load environment variables using dotenv and remove duplicate load call 2025-07-09 21:12:47 +00:00
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
Bobbie 012d08e1cd
Merge branch 'kortix-ai:main' into cleanup-main 2025-07-09 23:31:25 +05:30
Saumya aa06019f7e fix pipedream app search 2025-07-09 23:27:25 +05:30