diff --git a/sdk/ai/ai-inference-rest/samples/v1-beta/typescript/src/toolCall.ts b/sdk/ai/ai-inference-rest/samples/v1-beta/typescript/src/toolCall.ts index 5bcb68db543..4f03b6b94c3 100644 --- a/sdk/ai/ai-inference-rest/samples/v1-beta/typescript/src/toolCall.ts +++ b/sdk/ai/ai-inference-rest/samples/v1-beta/typescript/src/toolCall.ts @@ -39,7 +39,7 @@ const getCurrentWeather = { export async function main() { console.log("== Chat Completions Sample With Functions =="); - const client = ModelClient(endpoint, new DefaultAzureCredential())); + const client = ModelClient(endpoint, new DefaultAzureCredential()); const response = await client.path("/chat/completions").post({ body: { messages: [{ role: "user", content: "What's the weather like in Boston?" }],