ZIm/crates/language/src
Antonio Scandurra 35539847a4
Allow StreamingEditFileTool to also create files (#29785)
Refs #29733 

This pull request introduces a new field to the `StreamingEditFileTool`
that lets the model create or overwrite a file in a streaming way. When
one of the `assistant.stream_edits` setting / `agent-stream-edits`
feature flag is enabled, we are going to disable the `CreateFileTool` so
that the agent model can only use `StreamingEditFileTool` for file
creation.

Release Notes:

- N/A

---------

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Co-authored-by: Oleksiy Syvokon <oleksiy.syvokon@gmail.com>
2025-05-02 09:57:04 +00:00
..
syntax_map chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
buffer.rs Allow StreamingEditFileTool to also create files (#29785) 2025-05-02 09:57:04 +00:00
buffer_tests.rs language: Fix language_scope_at for markdown code comments (#29230) 2025-04-23 01:20:25 +05:30
diagnostic_set.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
highlight_map.rs Docs for indent_size_for_line and co 2024-01-09 20:50:34 +01:00
language.rs Allow to fetch cargo diagnostics separately (#29706) 2025-05-01 11:25:52 +03:00
language_registry.rs debugger: Add support for inline value hints (#28656) 2025-04-23 22:27:27 +00:00
language_settings.rs debugger: Add support for inline value hints (#28656) 2025-04-23 22:27:27 +00:00
manifest.rs project: Track manifest locations per unique manifest locator (#27194) 2025-03-21 15:22:36 +01:00
outline.rs Fix panic when outline items have no name (#24574) 2025-02-10 18:50:26 +00:00
proto.rs Tidy up diagnostics more (#29629) 2025-04-29 19:53:05 -06:00
syntax_map.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
task_context.rs debugger/tasks: Remove TaskType enum (#29208) 2025-04-26 01:44:56 +02:00
text_diff.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
toolchain.rs toolchains: Add support for relative paths (#27777) 2025-03-31 19:48:09 +02:00