Skip to content

Commit 9c4c8c4

Browse files
author
M. Emin Cihangeri
committed
chore: Change function names
1 parent 4b6c021 commit 9c4c8c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sample-code/src/server.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ import {
5050
invokeToolChain,
5151
streamChain,
5252
invokeWithStructuredOutputJsonSchema,
53-
invokeReasoning
53+
invokeReasoningWithMaxTokens
5454
} from './langchain-azure-openai.js';
5555
import {
5656
invokeChain as invokeChainOrchestration,
@@ -437,9 +437,9 @@ app.get('/langchain/invoke', async (req, res) => {
437437
}
438438
});
439439

440-
app.get('/langchain/invoke-reasoning', async (req, res) => {
440+
app.get('/langchain/invoke-reasoning-with-max-tokens', async (req, res) => {
441441
try {
442-
res.header('Content-Type', 'text/plain').send(await invokeReasoning());
442+
res.header('Content-Type', 'text/plain').send(await invokeReasoningWithMaxTokens());
443443
} catch (error: any) {
444444
sendError(res, error);
445445
}

0 commit comments

Comments
 (0)