Skip to content

Commit 12815aa

Browse files
jsonbaileyclaude
andcommitted
fix: silently ignore model.parameters.tools when not an object
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 76068a6 commit 12815aa

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

packages/sdk/server-ai/src/api/config/LDAIConfigUtils.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,6 @@ export class LDAIConfigUtils {
195195
}
196196

197197
if (typeof rawTools !== 'object' || Array.isArray(rawTools)) {
198-
logger?.warn(
199-
`LaunchDarkly AI: Skipping model.parameters.tools: expected an object, got ${Array.isArray(rawTools) ? 'array' : typeof rawTools}`,
200-
);
201198
return undefined;
202199
}
203200

0 commit comments

Comments
 (0)