Skip to content

Commit

Permalink
docs: preamble syntax (#1235)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinthecheung authored Nov 11, 2024
1 parent 6836a7e commit f1486da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/doc-snippets/src/multi-agent/multi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ const triageAgent = ai.definePrompt(

// [START chat]
// Start a chat session, initially with the triage agent
const chat = ai.chat({ preamble: triageAgent });
const chat = ai.chat(triageAgent);
// [END chat]

0 comments on commit f1486da

Please sign in to comment.