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
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
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
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
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
Saumya
46010875d8
fix trigger import error
2025-07-28 18:05:59 +05:30
marko-kraemer
e38d8f327e
wip
2025-07-27 05:15:33 +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
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
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
杨斯杰
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
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
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
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
Saumya
4dafadc576
fix ui issues
2025-07-20 10:19:42 +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
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
d2245673ca
chore(dev): workflowx and ux improvement
2025-07-16 23:16:10 +05:30
Saumya
200620f617
Merge branch 'main' into react-flow
2025-07-16 10:39:11 +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
1b347eb713
chore: refactor backend - 1
2025-07-14 19:47:10 +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