fix: declare endpoint in initialization step

This commit is contained in:
Danny Avila 2024-09-01 09:29:14 -04:00
parent 60ee12d3e8
commit 6d30726113
No known key found for this signature in database
GPG key ID: 2DD9CC89B9B50364
3 changed files with 2 additions and 16 deletions

View file

@ -108,6 +108,7 @@ const initializeClient = async ({ req, res, endpointOption }) => {
toolMap,
modelOptions,
eventHandlers,
endpoint: EModelEndpoint.agents,
configOptions: options.configOptions,
maxContextTokens:
agent.max_context_tokens ??