@@ -79,13 +79,17 @@ opencode/claude-opus-4-5`;
7979
8080describe ( 'shouldUseCachedOpencodeModels' , ( ) => {
8181 test ( 'uses cached models for workspace-specific requests' , ( ) => {
82- const cached = [ { id : 'github-copilot/claude-opus-4.5' , name : 'Claude Opus 4.5' , provider : 'github-copilot' } ] ;
82+ const cached = [
83+ { id : 'github-copilot/claude-opus-4.5' , name : 'Claude Opus 4.5' , provider : 'github-copilot' } ,
84+ ] ;
8385
8486 expect ( shouldUseCachedOpencodeModels ( cached , true , 'workspace-name' ) ) . toBe ( true ) ;
8587 } ) ;
8688
8789 test ( 'skips cache when preferring workspace models without opencode provider' , ( ) => {
88- const cached = [ { id : 'github-copilot/claude-opus-4.5' , name : 'Claude Opus 4.5' , provider : 'github-copilot' } ] ;
90+ const cached = [
91+ { id : 'github-copilot/claude-opus-4.5' , name : 'Claude Opus 4.5' , provider : 'github-copilot' } ,
92+ ] ;
8993
9094 expect ( shouldUseCachedOpencodeModels ( cached , true ) ) . toBe ( false ) ;
9195 } ) ;
@@ -100,7 +104,9 @@ describe('shouldUseCachedOpencodeModels', () => {
100104 } ) ;
101105
102106 test ( 'uses cache when workspace models not preferred' , ( ) => {
103- const cached = [ { id : 'github-copilot/claude-opus-4.5' , name : 'Claude Opus 4.5' , provider : 'github-copilot' } ] ;
107+ const cached = [
108+ { id : 'github-copilot/claude-opus-4.5' , name : 'Claude Opus 4.5' , provider : 'github-copilot' } ,
109+ ] ;
104110
105111 expect ( shouldUseCachedOpencodeModels ( cached , false ) ) . toBe ( true ) ;
106112 } ) ;
0 commit comments