fix(core): gate v2 edit tools by model (#34558)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
This commit is contained in:
parent
0f9719a7b5
commit
524ee8fc03
7 changed files with 83 additions and 36 deletions
|
|
@ -120,7 +120,6 @@ describe("LocationServiceMap", () => {
|
|||
expect(blockedState.providers.some((provider) => provider.id === ProviderV2.ID.make("test"))).toBe(false)
|
||||
expect(blockedState.tools.map((tool) => tool.name).sort()).toEqual([
|
||||
"application_context",
|
||||
"apply_patch",
|
||||
"edit",
|
||||
"glob",
|
||||
"grep",
|
||||
|
|
@ -136,7 +135,6 @@ describe("LocationServiceMap", () => {
|
|||
expect(allowedState.providers.some((provider) => provider.id === ProviderV2.ID.make("test"))).toBe(true)
|
||||
expect(allowedState.tools.map((tool) => tool.name).sort()).toEqual([
|
||||
"application_context",
|
||||
"apply_patch",
|
||||
"edit",
|
||||
"glob",
|
||||
"grep",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue