Merge pull request #4383 from maximilianzuern/docs/fixToolConfig

fix(coding-agent) docs: update tool configuration API in SDK docs
This commit is contained in:
Mario Zechner
2026-05-13 00:16:50 +02:00
committed by GitHub
3 changed files with 31 additions and 54 deletions

View File

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