mirror of
https://github.com/zed-industries/zed.git
synced 2026-12-03 22:43:21 +01:00
zeta2: Include edits in prompt and add max_prompt_bytes param (#38737)
Release Notes: - N/A Co-authored-by: Michael Sloan <mgsloan@gmail.com>
This commit is contained in:
1 parent
bc528411df
commit
831de8e48f
8 files changed
+118
-33
No files matched your search
@@ -29,8 +29,10 @@ pub struct PredictEditsRequest {
|
||||
/// Info about the git repository state, only present when can_collect_data is true.
|
||||
#[serde(skip_serializing_if = "Option::is_none", default)]
|
||||
pub git_info: Option<PredictEditsGitInfo>,
|
||||
// Only available to staff
|
||||
#[serde(default)]
|
||||
pub debug_info: bool,
|
||||
pub prompt_max_bytes: Option<usize>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
|
||||
Reference in new issue
Block a user