fix: use endpointOption.model_parameters not endpointOption.modelOptions

This commit is contained in:
Danny Avila 2024-09-03 06:59:59 -04:00
parent edcc66685a
commit fbead7de40
No known key found for this signature in database
GPG key ID: 2DD9CC89B9B50364

View file

@ -96,7 +96,7 @@ const initializeClient = async ({ req, res, endpointOption }) => {
}
// TODO: pass-in override settings that are specific to current run
endpointOption.modelOptions.model = agent.model;
endpointOption.model_parameters.model = agent.model;
const options = await getOptions({
req,
res,