Skip to content

Commit f35e241

Browse files
fix(patch): cherry-pick 8aace3a to release/v0.10.0-preview.2-pr-11549 [CONFLICTS] (#11595)
Co-authored-by: Abhi <43648792+abhipatel12@users.noreply.github.com>
1 parent 076123e commit f35e241

5 files changed

Lines changed: 43 additions & 97 deletions

File tree

packages/cli/src/config/config.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2070,7 +2070,7 @@ describe('loadCliConfig model selection', () => {
20702070
argv,
20712071
);
20722072

2073-
expect(config.getModel()).toBe('auto');
2073+
expect(config.getModel()).toBe(DEFAULT_GEMINI_MODEL);
20742074
});
20752075

20762076
it('always prefers model from argvs', async () => {
@@ -2506,7 +2506,7 @@ describe('loadCliConfig useRipgrep', () => {
25062506
'test-session',
25072507
argv,
25082508
);
2509-
expect(config.getUseModelRouter()).toBe(true);
2509+
expect(config.getUseModelRouter()).toBe(false);
25102510
});
25112511

25122512
it('should be true when useModelRouter is set to true in settings', async () => {

packages/cli/src/config/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ export async function loadCliConfig(
670670
);
671671
}
672672

673-
const useModelRouter = settings.experimental?.useModelRouter ?? true;
673+
const useModelRouter = settings.experimental?.useModelRouter ?? false;
674674
const defaultModel = useModelRouter
675675
? DEFAULT_GEMINI_MODEL_AUTO
676676
: DEFAULT_GEMINI_MODEL;

packages/cli/src/config/settingsSchema.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ describe('SettingsSchema', () => {
328328
).toBe('Experimental');
329329
expect(
330330
getSettingsSchema().experimental.properties.useModelRouter.default,
331-
).toBe(true);
331+
).toBe(false);
332332
});
333333
});
334334
});

packages/cli/src/config/settingsSchema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@ const SETTINGS_SCHEMA = {
10711071
label: 'Use Model Router',
10721072
category: 'Experimental',
10731073
requiresRestart: true,
1074-
default: true,
1074+
default: false,
10751075
description:
10761076
'Enable model routing to route requests to the best model based on complexity.',
10771077
showInDialog: true,

packages/vscode-ide-companion/NOTICES.txt

Lines changed: 38 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ SOFTWARE.
2929

3030
============================================================
3131
ajv@6.12.6
32-
(https://github.com/ajv-validator/ajv.git)
32+
(No repository found)
3333

3434
The MIT License (MIT)
3535

36-
Copyright (c) 2015-2017 Evgeny Poberezkin
36+
Copyright (c) 2015-2021 Evgeny Poberezkin
3737

3838
Permission is hereby granted, free of charge, to any person obtaining a copy
3939
of this software and associated documentation files (the "Software"), to deal
@@ -608,30 +608,9 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
608608

609609
============================================================
610610
array-flatten@1.1.1
611-
(git://github.com/blakeembrey/array-flatten.git)
612-
613-
The MIT License (MIT)
614-
615-
Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
616-
617-
Permission is hereby granted, free of charge, to any person obtaining a copy
618-
of this software and associated documentation files (the "Software"), to deal
619-
in the Software without restriction, including without limitation the rights
620-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
621-
copies of the Software, and to permit persons to whom the Software is
622-
furnished to do so, subject to the following conditions:
623-
624-
The above copyright notice and this permission notice shall be included in
625-
all copies or substantial portions of the Software.
626-
627-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
628-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
629-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
630-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
631-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
632-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
633-
THE SOFTWARE.
611+
(No repository found)
634612

613+
License text not found.
635614

636615
============================================================
637616
body-parser@1.20.3
@@ -776,30 +755,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
776755
destroy@1.2.0
777756
(No repository found)
778757

779-
780-
The MIT License (MIT)
781-
782-
Copyright (c) 2014 Jonathan Ong me@jongleberry.com
783-
Copyright (c) 2015-2022 Douglas Christopher Wilson doug@somethingdoug.com
784-
785-
Permission is hereby granted, free of charge, to any person obtaining a copy
786-
of this software and associated documentation files (the "Software"), to deal
787-
in the Software without restriction, including without limitation the rights
788-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
789-
copies of the Software, and to permit persons to whom the Software is
790-
furnished to do so, subject to the following conditions:
791-
792-
The above copyright notice and this permission notice shall be included in
793-
all copies or substantial portions of the Software.
794-
795-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
796-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
797-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
798-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
799-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
800-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
801-
THE SOFTWARE.
802-
758+
License text not found.
803759

804760
============================================================
805761
http-errors@2.0.0
@@ -1649,7 +1605,7 @@ media-typer@0.3.0
16491605

16501606
(The MIT License)
16511607

1652-
Copyright (c) 2014 Douglas Christopher Wilson
1608+
Copyright (c) 2014-2017 Douglas Christopher Wilson
16531609

16541610
Permission is hereby granted, free of charge, to any person obtaining
16551611
a copy of this software and associated documentation files (the
@@ -1760,7 +1716,29 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
17601716
cookie-signature@1.0.6
17611717
(https://github.com/visionmedia/node-cookie-signature.git)
17621718

1763-
License text not found.
1719+
(The MIT License)
1720+
1721+
Copyright (c) 2012–2024 LearnBoost <tj@learnboost.com> and other contributors;
1722+
1723+
Permission is hereby granted, free of charge, to any person obtaining
1724+
a copy of this software and associated documentation files (the
1725+
'Software'), to deal in the Software without restriction, including
1726+
without limitation the rights to use, copy, modify, merge, publish,
1727+
distribute, sublicense, and/or sell copies of the Software, and to
1728+
permit persons to whom the Software is furnished to do so, subject to
1729+
the following conditions:
1730+
1731+
The above copyright notice and this permission notice shall be
1732+
included in all copies or substantial portions of the Software.
1733+
1734+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
1735+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1736+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
1737+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
1738+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
1739+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
1740+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1741+
17641742

17651743
============================================================
17661744
encodeurl@2.0.0
@@ -1939,29 +1917,17 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19391917
merge-descriptors@1.0.3
19401918
(No repository found)
19411919

1942-
(The MIT License)
1920+
MIT License
19431921

1944-
Copyright (c) 2013 Jonathan Ong <me@jongleberry.com>
1945-
Copyright (c) 2015 Douglas Christopher Wilson <doug@somethingdoug.com>
1922+
Copyright (c) Jonathan Ong <me@jongleberry.com>
1923+
Copyright (c) Douglas Christopher Wilson <doug@somethingdoug.com>
1924+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
19461925

1947-
Permission is hereby granted, free of charge, to any person obtaining
1948-
a copy of this software and associated documentation files (the
1949-
'Software'), to deal in the Software without restriction, including
1950-
without limitation the rights to use, copy, modify, merge, publish,
1951-
distribute, sublicense, and/or sell copies of the Software, and to
1952-
permit persons to whom the Software is furnished to do so, subject to
1953-
the following conditions:
1926+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
19541927

1955-
The above copyright notice and this permission notice shall be
1956-
included in all copies or substantial portions of the Software.
1928+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
19571929

1958-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
1959-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1960-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
1961-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
1962-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
1963-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
1964-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1930+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19651931

19661932

19671933
============================================================
@@ -2220,29 +2186,9 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22202186

22212187
============================================================
22222188
utils-merge@1.0.1
2223-
(git://github.com/jaredhanson/utils-merge.git)
2224-
2225-
The MIT License (MIT)
2226-
2227-
Copyright (c) 2013-2017 Jared Hanson
2228-
2229-
Permission is hereby granted, free of charge, to any person obtaining a copy of
2230-
this software and associated documentation files (the "Software"), to deal in
2231-
the Software without restriction, including without limitation the rights to
2232-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
2233-
the Software, and to permit persons to whom the Software is furnished to do so,
2234-
subject to the following conditions:
2235-
2236-
The above copyright notice and this permission notice shall be included in all
2237-
copies or substantial portions of the Software.
2238-
2239-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2240-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
2241-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
2242-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
2243-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
2244-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2189+
(No repository found)
22452190

2191+
License text not found.
22462192

22472193
============================================================
22482194
express-rate-limit@7.5.1

0 commit comments

Comments
 (0)