feat(agents): Use LLM name from env

This commit is contained in:
ItzCrazyKns
2024-04-16 21:05:57 +05:30
parent 3859e3db03
commit 4ab8d6c834
8 changed files with 14 additions and 13 deletions

View File

@@ -10,7 +10,7 @@ import type { StreamEvent } from '@langchain/core/tracers/log_stream';
import eventEmitter from 'events';
const chatLLM = new ChatOpenAI({
modelName: 'gpt-3.5-turbo',
modelName: process.env.MODEL_NAME,
temperature: 0.7,
});