Allow customization of the model used for tool calling (#15479)
We also eliminate the `completion` crate and moved its logic into `LanguageModelRegistry`. Release Notes: - N/A --------- Co-authored-by: Nathan <nathan@zed.dev>
This commit is contained in:
parent
1bfea9d443
commit
99bc90a372
32 changed files with 478 additions and 691 deletions
28
Cargo.lock
generated
28
Cargo.lock
generated
|
@ -406,7 +406,6 @@ dependencies = [
|
|||
"clock",
|
||||
"collections",
|
||||
"command_palette_hooks",
|
||||
"completion",
|
||||
"ctor",
|
||||
"editor",
|
||||
"env_logger",
|
||||
|
@ -2470,7 +2469,6 @@ dependencies = [
|
|||
"clock",
|
||||
"collab_ui",
|
||||
"collections",
|
||||
"completion",
|
||||
"ctor",
|
||||
"dashmap 6.0.1",
|
||||
"dev_server_projects",
|
||||
|
@ -2655,30 +2653,6 @@ dependencies = [
|
|||
"gpui",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "completion"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"ctor",
|
||||
"editor",
|
||||
"env_logger",
|
||||
"futures 0.3.28",
|
||||
"gpui",
|
||||
"language",
|
||||
"language_model",
|
||||
"project",
|
||||
"rand 0.8.5",
|
||||
"schemars",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"settings",
|
||||
"smol",
|
||||
"text",
|
||||
"ui",
|
||||
"unindent",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "concurrent-queue"
|
||||
version = "2.2.0"
|
||||
|
@ -6048,6 +6022,7 @@ dependencies = [
|
|||
"serde",
|
||||
"serde_json",
|
||||
"settings",
|
||||
"smol",
|
||||
"strum",
|
||||
"text",
|
||||
"theme",
|
||||
|
@ -9506,7 +9481,6 @@ dependencies = [
|
|||
"client",
|
||||
"clock",
|
||||
"collections",
|
||||
"completion",
|
||||
"env_logger",
|
||||
"fs",
|
||||
"futures 0.3.28",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue