We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83c256b commit a224866Copy full SHA for a224866
sdk/ai/ai-projects/samples-dev/agents/tools/agentMemorySearch.ts
@@ -77,8 +77,12 @@ export async function main(): Promise<void> {
77
description: "Memory store for agent conversations",
78
},
79
);
80
+ const chatModelUsed =
81
+ "chat_model" in memoryStore.definition
82
+ ? memoryStore.definition.chat_model
83
+ : chatModelDeployment;
84
console.log(
- `Created memory store: ${memoryStore.name} (${memoryStore.id}) using chat model '${memoryStore.definition.kind === "default" ? memoryStore.definition.chat_model : chatModelDeployment}'`,
85
+ `Created memory store: ${memoryStore.name} (${memoryStore.id}) using chat model '${chatModelUsed}'`,
86
87
88
// Configure Memory Search tool to attach to the agent
0 commit comments