Commit Graph

216 Commits

Author SHA1 Message Date
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
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
LE Quoc Dat 6b93e911d5 fix morph tool 2025-07-28 18:09:22 +02:00
Saumya 46010875d8 fix trigger import error 2025-07-28 18:05:59 +05:30
Saumya 845c17d968 fix agent builder tool calls 2025-07-26 11:04:07 +05:30
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 8150ce94a1 feat: extend agent builder for Suna 2025-07-25 13:24:34 +05:30
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 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
杨斯杰 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 34ae50a68b custom suna agent 2025-07-22 21:41:10 +05:30
Saumya 8188a83a6d Merge branch 'main' into fix-ux-issues 2025-07-21 10:53:56 +05:30
Saumya 025da780ac fix: agent builder fix 2025-07-20 20:16:59 +05:30
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 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 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 72b8922320
fix(kimi-k2): model stops before previewing the results to the user 2025-07-18 10:12:52 +00:00
Saumya bdd9ffc1d8 refactor backend code 2025-07-14 16:06:27 +05:30
Saumya 3fa9fac9f6 fix: agent builder & agents ui 2025-07-12 02:12:23 +05:30
Saumya ca0c627766 chore: update agent builder for credential profiles, workflows 2025-07-10 10:22:44 +05:30
Saumya 26a9de5a5d chore: code cleanup and credential profiles 2025-07-09 15:00:30 +05:30
Saumya 1c17932b87 Merge branch 'main' into pipedram-credentials-profile 2025-07-09 00:59:19 +05:30
Saumya d61e10047b credential profiles for pipedream 2025-07-09 00:10:58 +05:30
Krishav Raj Singh 30e22f04ad edge case: handle json file 2025-07-08 22:30:47 +05:30
Saumya c119b1dc5d Merge branch 'main' into pipedream-mcp 2025-07-08 18:50:06 +05:30
Saumya d4840c5946 pipedream integration for MCPs 2025-07-08 18:48:49 +05:30
marko-kraemer bcc62bb647 fix port expose not working 2025-07-07 20:45:16 +02:00
marko-kraemer b0ab413866 fix: optimize blocking command execution with marker-based completion detection
- Use unique completion markers instead of unreliable prompt detection
- Reduce polling from 2s to 0.5s intervals for faster response
- Fix SessionExecuteRequest import path
- Commands now return immediately upon completion vs waiting full timeout
2025-07-06 20:07:26 +02:00
Marko Kraemer dba4e6e739
Merge pull request #899 from kortix-ai/cleanup-improvements
improvements
2025-07-05 20:14:58 +02:00
marko-kraemer 6a6b9d8e85 refactor wip 2025-07-05 18:07:35 +02:00
sharath 3d28721350
fix(sb_image_edit_tool): update image processing to use base64 data instead of URL 2025-07-05 12:39:55 +00:00
sharath 9cfaac080c
refactor(sb_image_edit_tool): convert file operations to async for improved performance 2025-07-05 11:00:00 +00:00
sharath d6f7e5981a
Merge branch 'main' into sharath/suna-283-generate-image-tool 2025-07-05 10:57:36 +00:00
Sharath 16ab850923
perf(sandbox): switch to async daytona sdk (#891) 2025-07-04 21:12:53 +05:30
Krishav Raj Singh 577872974c Handle URL in see_image tool 2025-06-29 22:44:07 +05:30
sharath c7d892fc9b
Update server configuration and dependencies
- Increased the number of workers from 1 to 4 in the server startup configuration for improved performance.
- Upgraded the OpenAI dependency from version 1.72.0 to 1.90.0 in `pyproject.toml` and `uv.lock`.
- Refactored image editing tool to utilize the new OpenAI GPT Image 1 model, updating method calls and documentation accordingly.
2025-06-23 17:36:31 +00:00
sharath a5a9194fcb
Merge branch 'main' into sharath/suna-283-generate-image-tool 2025-06-23 16:31:02 +00:00
Soumyadas15 33395f744e chore(dev): workflows feature-flagged 2025-06-23 17:26:06 +05:30
Soumyadas15 4c3aebf4e5 chore(dev): fix issues in custom agent calling 2025-06-23 12:29:21 +05:30
Soumyadas15 2a14bbac6d chore(dev): support for MCP in workflow 2025-06-18 18:44:12 +05:30
sharath 65092c8588
feat(image-validation): implement comprehensive base64 image validation and add tests for various scenarios 2025-06-17 02:22:22 +00:00
sharath fc71a35675
fix(upload_file): swap parameters in upload_file calls for consistency across the codebase 2025-06-11 14:44:10 +00:00
sharath 30f88aed99
feat(image-editing): introduce image generation and editing tool with updated documentation 2025-06-09 01:38:50 +00:00
Vukasin b82a0459f8 fix: tool view fixes 2025-06-04 16:23:22 +02:00
Soumyadas15 c8d39d1fdd feat: add http mcp support 2025-06-02 16:34:14 +05:30
Soumyadas15 8297bf6f34 chore(dev): connect custom mcps 2025-06-02 11:14:22 +05:30
Soumyadas15 2168ceb864 Merge branch 'main' into mcp-5a-agentbuilder 2025-06-01 02:53:40 +05:30
Soumyadas15 d53f2f7a18 chore(dev): cleanup frontend 2025-06-01 02:23:53 +05:30
Soumyadas15 b42e78b598 chore(dev): agent builder 2025-05-31 21:01:20 +05:30
Vukasin 9914ca0d6d Merge remote-tracking branch 'upstream/main' into feat/port-fix-and-panel-ajustments 2025-05-30 23:26:59 +02:00
Vukasin 0ffc045b5e fix: index port fix and panel ajustments 2025-05-30 23:26:09 +02:00
Soumyadas15 b1d9ee9bb6 chore(dev): convert expand message to new tool call format 2025-05-30 19:08:23 +05:30
Soumyadas15 e6de1e0f7f Merge branch 'main' into mcp-5a 2025-05-30 19:02:53 +05:30
Soumyadas15 59f16d7e01 chore(dev): MCP & Custom agents integration 2025-05-30 18:58:58 +05:30
Soumyadas15 dedd6432bb chore(dev): auto generate xml schema or mcp 2025-05-30 13:01:11 +05:30
Soumyadas15 546d5078ea chore(dev): properly process MCP results 2025-05-30 01:04:41 +05:30
Soumyadas15 fa463fb09c chore(dev): mcp tools 2025-05-29 23:27:03 +05:30
sharath 960dd671f2
feat(context-compression): add ExpandMessageTool for message expansion and integrate into agent run process 2025-05-29 13:47:31 +00:00
Soumyadas15 8132fc59dd chore(ui): enhance agent playground UI 2025-05-29 12:49:08 +05:30
Soumyadas15 2f835cdd2f Merge branch 'mcp-5' into mcp-5a 2025-05-29 02:12:10 +05:30
Soumyadas15 57407277ed chore(dev): refactor xml tools 2025-05-28 17:37:54 +05:30
Soumyadas15 f369f69bcd Merge branch 'mcp-5' into mcp-5a 2025-05-27 13:52:55 +05:30
sharath 11da6ad829
fix(tools): invalid xml issues and unnecessary validation 2025-05-26 20:32:49 +00:00
Soumyadas15 be600cc3db Merge branch 'mcp-5' into mcp-5a 2025-05-26 22:41:03 +05:30
Soumyadas15 eae94e0ede chore(dev): fix issues 2025-05-25 15:21:20 +05:30
Soumyadas15 e3ef00a165 chore(dev): mcp setup 2025-05-24 23:47:55 +05:30
marko-kraemer e83e22ef5e fix: ensure tmux capture-pane gets full output with -S - -E - flags 2025-05-20 15:31:50 +02:00
marko-kraemer 75372a94c0 browser api fixes 2025-05-19 02:43:05 +02:00
marko-kraemer f22412b963 s3 url save instead of base64 2025-05-19 01:28:14 +02:00
marko-kraemer 70755d3074 save all browser states 2025-05-19 01:06:44 +02:00
marko-kraemer 0148c03ec5 v1 2025-05-18 21:25:15 +02:00
marko-kraemer 2af572ab03 wip 2025-05-18 20:44:44 +02:00
marko-kraemer 52fceeb39a add ensure active, fix utils logger impot in sb tool base 2025-05-11 18:36:33 +02:00
marko-kraemer fe5ae19a89 web search first, over scrape 2025-05-10 08:22:11 +02:00
marko-kraemer 3a0f6db03e scrape & read based approach v1, non-optimal but better for ctxt 2025-05-10 06:37:07 +02:00
marko-kraemer 8847515d1c session shell tool, save web search as file, change prompt to process scrapes via cli 2025-05-10 05:46:48 +02:00
marko-kraemer 4d75e5dbd0 sandbox tool base 2025-05-10 04:26:42 +02:00
Marco Vinciguerra e1974c8125 feat: removed unused imports 2025-05-07 15:24:00 +02:00
Sylvain Cau 903a9cc928 Add support for self hosted Firecrawl 2025-05-05 21:05:02 -07:00
Korzhavin Ivan 68fafdd385 Refactor agent and tool configurations to support new model names and parameters
- Adjusted max_tokens logic based on model type, including new conditions for "gpt-4".
- Enhanced MessageTool to include detailed documentation and examples for user interactions.
- Improved ThreadManager to handle new tool choices and reasoning efforts.
- Updated LLM service to incorporate enable_thinking and reasoning_effort parameters.
- Modified chat input component to dynamically manage model selection and thinking options.
2025-05-03 14:17:46 +02:00
marko-kraemer 9757beb4b0 comment out 2025-05-03 03:37:11 +02:00
LE Quoc Dat f3746d9dbf support images 2025-04-28 01:28:21 +01:00
marko-kraemer f48439eade rem summary from web search
wip
2025-04-25 23:14:35 +01:00
marko-kraemer 958df5496f tmux prompt eng for non-blocking sess 2025-04-25 19:18:25 +01:00
marko-kraemer 1b1878fceb add firecrawl for scraping, frontend fix 2025-04-25 18:13:16 +01:00
marko-kraemer 427161d892 fix files tool, intro web crawl tool again, web user takeover tool, url formatting in frontend 2025-04-25 14:35:45 +01:00
marko-kraemer 4339f6b56b wip 2025-04-25 13:23:05 +01:00
marko-kraemer 5c750d6387 redis & docker compose for prod 2025-04-24 22:15:47 +01:00
marko-kraemer 0d6ae9e43b increase timeout 2025-04-24 06:58:27 +01:00
marko-kraemer 60e16cb8e0 increase timeout 2025-04-24 06:44:38 +01:00
marko-kraemer 7a57ee210a add conf, with local/dev/prod mode 2025-04-24 01:45:58 +01:00
marko-kraemer e985cbdc2b wip 2025-04-23 19:46:22 +01:00
marko-kraemer 602b65791f wip 2025-04-23 15:56:24 +01:00
marko-kraemer 4d5d93e943 change to exec in deploy 2025-04-23 14:43:57 +01:00
marko-kraemer 74b043eec3 project_id to get sandbox id 2025-04-23 10:53:38 +01:00