fix tool config in example in sdk.ts

This commit is contained in:
Maximilian
2026-05-10 23:32:15 +02:00
parent f6b6b1f052
commit c3ce1d33d4

View File

@@ -184,7 +184,7 @@ function getAttributionHeaders(
* await loader.reload(); * await loader.reload();
* const { session } = await createAgentSession({ * const { session } = await createAgentSession({
* model: myModel, * model: myModel,
* tools: [readTool, bashTool], * tools: ["read", "bash"],
* resourceLoader: loader, * resourceLoader: loader,
* sessionManager: SessionManager.inMemory(), * sessionManager: SessionManager.inMemory(),
* }); * });