File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/baseai/src/dev/llms Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export async function callFireworks({
30
30
dlog ( 'Fireworks request params' , transformedRequestParams ) ;
31
31
32
32
// Fireworks llama-3.1 405b behaves weirdly with stop value. Bug on their side. Omitting it.
33
- if ( pipe . config . model . name === 'llama-v3p1-405b-instruct' )
33
+ if ( pipe . model . name === 'llama-v3p1-405b-instruct' )
34
34
delete transformedRequestParams [ 'stop' ] ;
35
35
36
36
const providerOptions = { provider : FIREWORKS_AI , llmApiKey } ;
@@ -53,9 +53,9 @@ function buildModelParams(
53
53
) : ModelParams {
54
54
// Create model strings for Fireworks AI
55
55
const modelString =
56
- pipe . config . model . name === 'yi-large'
56
+ pipe . model . name === 'yi-large'
57
57
? 'accounts/yi-01-ai/models/yi-large'
58
- : `accounts/fireworks/models/${ pipe . config . model . name } ` ;
58
+ : `accounts/fireworks/models/${ pipe . model . name } ` ;
59
59
return {
60
60
messages,
61
61
stream,
You canβt perform that action at this time.
0 commit comments