diff --git a/libs/langchain-community/src/chat_models/fireworks.ts b/libs/langchain-community/src/chat_models/fireworks.ts index 2fb7a62bd118..1d62cdc030cb 100644 --- a/libs/langchain-community/src/chat_models/fireworks.ts +++ b/libs/langchain-community/src/chat_models/fireworks.ts @@ -93,7 +93,10 @@ export class ChatFireworks extends ChatOpenAI { super({ ...fields, - model: fields?.model || "accounts/fireworks/models/llama-v2-13b-chat", + model: + fields?.model || + fields?.modelName || + "accounts/fireworks/models/llama-v3p1-8b-instruct", apiKey: fireworksApiKey, configuration: { baseURL: "https://api.fireworks.ai/inference/v1",