We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c71f8a commit 44972c9Copy full SHA for 44972c9
apps/sim/providers/litellm/index.ts
@@ -271,6 +271,7 @@ export const litellmProvider: ProviderConfig = {
271
272
const forcedTools = preparedTools?.forcedTools || []
273
let usedForcedTools: string[] = []
274
+ let hasUsedForcedTool = false
275
276
const checkForForcedToolUsage = (
277
response: any,
@@ -313,8 +314,6 @@ export const litellmProvider: ProviderConfig = {
313
314
let modelTime = firstResponseTime
315
let toolsTime = 0
316
- let hasUsedForcedTool = false
317
-
318
const timeSegments: TimeSegment[] = [
319
{
320
type: 'model',
0 commit comments