File tree Expand file tree Collapse file tree
apps/sim/providers/fireworks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,15 +121,15 @@ describe('fireworksProvider', () => {
121121
122122 it ( 'sends the resolved wire model name while reporting the catalog id' , async ( ) => {
123123 mockCreate . mockResolvedValueOnce ( textResponse ( 'ok' ) )
124- mockResolveFireworksWireModel . mockReturnValueOnce ( 'accounts/fireworks/models/glm-5p2 ' )
124+ mockResolveFireworksWireModel . mockReturnValueOnce ( 'accounts/fireworks/models/glm-5p3 ' )
125125
126126 const result = await fireworksProvider . executeRequest ( {
127127 ...baseRequest ,
128128 model : 'fireworks/glm-5.2' ,
129129 } )
130130
131131 expect ( mockResolveFireworksWireModel ) . toHaveBeenCalledWith ( 'glm-5.2' )
132- expect ( callBody ( 0 ) . model ) . toBe ( 'accounts/fireworks/models/glm-5p2 ' )
132+ expect ( callBody ( 0 ) . model ) . toBe ( 'accounts/fireworks/models/glm-5p3 ' )
133133 // The catalog id is the billing/logging identity: the central cost policy,
134134 // the usage ledger row, and the trace span all key on it.
135135 expect ( result ) . toMatchObject ( { model : 'fireworks/glm-5.2' } )
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { resolveFireworksWireModel } from '@/providers/fireworks/utils'
33
44describe ( 'resolveFireworksWireModel' , ( ) => {
55 it ( 'maps the static hosted catalog ids to their serverless resource paths' , ( ) => {
6- expect ( resolveFireworksWireModel ( 'glm-5.2' ) ) . toBe ( 'accounts/fireworks/models/glm-5p2 ' )
6+ expect ( resolveFireworksWireModel ( 'glm-5.2' ) ) . toBe ( 'accounts/fireworks/models/glm-5p3 ' )
77 expect ( resolveFireworksWireModel ( 'kimi-k3' ) ) . toBe ( 'accounts/fireworks/models/kimi-k3' )
88 } )
99
Original file line number Diff line number Diff line change 77 */
88const FIREWORKS_WIRE_NAMES : Record < string , string > = {
99 'glm-5.3' : 'accounts/fireworks/models/glm-5p3' ,
10- 'glm-5.2' : 'accounts/fireworks/models/glm-5p2 ' ,
10+ 'glm-5.2' : 'accounts/fireworks/models/glm-5p3 ' ,
1111 'kimi-k3' : 'accounts/fireworks/models/kimi-k3' ,
1212}
1313
You can’t perform that action at this time.
0 commit comments