Commit Graph

39 Commits

Author SHA1 Message Date
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 6b93e911d5 fix morph tool 2025-07-28 18:09:22 +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 b1ac5793ba edit_file 2025-07-24 12:46:57 +02:00
Krishav Raj Singh 30e22f04ad edge case: handle json file 2025-07-08 22:30:47 +05:30
Sharath 16ab850923
perf(sandbox): switch to async daytona sdk (#891) 2025-07-04 21:12:53 +05:30
sharath fc71a35675
fix(upload_file): swap parameters in upload_file calls for consistency across the codebase 2025-06-11 14:44:10 +00:00
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 57407277ed chore(dev): refactor xml tools 2025-05-28 17:37:54 +05:30
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
marko-kraemer 9757beb4b0 comment out 2025-05-03 03:37:11 +02:00
marko-kraemer f48439eade rem summary from web search
wip
2025-04-25 23:14:35 +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 5c750d6387 redis & docker compose for prod 2025-04-24 22:15:47 +01:00
marko-kraemer 74b043eec3 project_id to get sandbox id 2025-04-23 10:53:38 +01:00
marko-kraemer 1b9553b865 revert back to old fe 2025-04-16 06:01:57 +01:00
Adam Cohen Hillel 247dabc8d0 forgotten src/lib 2025-04-13 13:38:21 +01:00
marko-kraemer 752821e8a0 wip 2025-04-12 22:40:01 +01:00
marko-kraemer 42e294b8ff web search tool 2025-04-12 15:37:35 +01:00
marko-kraemer 804ccbff41 wip 2025-04-11 19:00:16 +01:00
marko-kraemer 1707cb50d9 wip 2025-04-11 16:56:26 +01:00
marko-kraemer 9ee944bdd2 wip 2025-04-11 03:45:32 +01:00
marko-kraemer cb5f68ae7b wip 2025-04-11 02:35:29 +01:00
marko-kraemer 31205b0320 agent wip 2025-04-11 00:53:01 +01:00
marko-kraemer 700ccddbad fix error where it wont add messages to thread if max_xml_tool_calls x > 0 2025-04-10 18:13:12 +01:00
marko-kraemer 329d635dfa wip 2025-04-10 17:05:49 +01:00
marko-kraemer 57d08c76af wip 2025-04-10 17:02:21 +01:00
marko-kraemer 9efeeef94a fix dependencies 2025-04-09 17:44:17 +01:00
Adam Cohen Hillel 01c1501198 clean and shell 2025-04-09 13:46:13 +01:00
Adam Cohen Hillel 87129a1e61 files tools 2025-04-09 13:41:37 +01:00