Commit Graph

889 Commits

Author SHA1 Message Date
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
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