Skip to content

feat: use tool calling for code editing #2288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 27, 2025
Merged

feat: use tool calling for code editing #2288

merged 7 commits into from
Jun 27, 2025

Conversation

Kitenite
Copy link
Contributor

@Kitenite Kitenite commented Jun 27, 2025

Description

Related Issues

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Release
  • Refactor
  • Other (please describe):

Testing

Screenshots (if applicable)

Additional Notes


Important

Introduces tool calling for code editing, refactors code, and updates system prompt and settings.

  • Tool Calling:
    • Introduces tool calling for code editing in tools.ts and files.ts.
    • Adds tools for listing, reading, editing, and creating files, and running terminal commands.
  • Refactoring:
    • Moves handleToolCall to tools.ts and refactors related functions.
    • Removes unused functions and tests related to code block extraction and file listing.
  • Prompt and Settings:
    • Updates SYSTEM_PROMPT in system.ts to focus on code implementation.
    • Changes default expandCodeBlocks setting to false in constants/src/editor.ts.

This description was created by Ellipsis for c976e6c. You can customize this summary. It will automatically update as commits are pushed.

Copy link

vercel bot commented Jun 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2025 6:16pm
web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2025 6:16pm

Copy link

supabase bot commented Jun 27, 2025

This pull request has been ignored for the connected project wowaemfasoptxrdjhilu because there are no changes detected in apps/backend/supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@Kitenite Kitenite merged commit 50d52e3 into main Jun 27, 2025
2 of 4 checks passed
@Kitenite Kitenite deleted the feat/edit-tool branch June 27, 2025 18:14
Rish-it pushed a commit to Rish-it/onlook that referenced this pull request Jun 28, 2025
* add edit create and bash tool

* apply change directly in tool call 

* update bash editor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant