Skip to content

Commit cc9e40a

Browse files
committed
fixes, more handoff
1 parent 77bf24c commit cc9e40a

5 files changed

Lines changed: 19 additions & 272 deletions

File tree

fern/docs.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,11 @@ navigation:
321321
path: squads/examples/property-management.mdx
322322
- page: Multilingual support
323323
path: squads/examples/multilingual-support.mdx
324-
- page: Silent transfers
325-
path: squads/silent-transfers.mdx
324+
- page: Handoff tools
325+
path: tools/handoff.mdx
326+
icon: fa-light fa-hand-holding-hand
327+
- page: Silent handoffs
328+
path: squads/silent-handoffs.mdx
326329
icon: fa-light fa-arrow-right-arrow-left
327330

328331
- section: Best practices

fern/squads.mdx

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ To override the configuration of a saved assistant without modifying the underly
9494
}
9595
```
9696

97-
You may also define inline tools via assistant overrides through the `model` object (using `tools:append`), so that the assistant will only handoff if it is a part of this squad.
97+
You may also define inline tools via assistantOverrides through the `tools:append` array, so that the assistant will only handoff if it is a part of this squad.
9898
```json
9999
{
100100
"squad": {
@@ -111,22 +111,18 @@ You may also define inline tools via assistant overrides through the `model` obj
111111
{
112112
"assistantId": "saved-assistant-id",
113113
"assistantOverrides": {
114-
"model": {
115-
"provider": "openai",
116-
"model": "gpt-4o",
117-
"tools:append": [
118-
{
119-
"type": "handoff",
120-
"destinations": [
121-
{
122-
"type": "assistant",
123-
"assistantId": "assistant-123",
124-
"description": "Call this tool when the customer wants to talk about pricing"
125-
}
126-
]
127-
}
128-
]
129-
},
114+
"tools:append": [
115+
{
116+
"type": "handoff",
117+
"destinations": [
118+
{
119+
"type": "assistant",
120+
"assistantId": "assistant-123",
121+
"description": "Call this tool when the customer wants to talk about pricing"
122+
}
123+
]
124+
}
125+
]
130126
}
131127
},
132128
]

fern/squads/examples/clinic-triage-scheduling.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ Compose multiple assistants into a Squad for safe, specialized healthcare flows:
3535
- From Triage → Scheduler for routine care
3636
- Warm-transfer with a short summary for human escalation
3737

38-
See: [Silent transfers](/squads/silent-transfers).
39-
4038
## 3. Implement
4139

4240
<Tabs>

fern/squads/examples/multilingual-support.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Provide structured multilingual support using a Squad: present a short language
1212
**Squad Capabilities:**
1313
* Explicit language choice for clarity
1414
* Language‑specific prompts and voices
15-
* Seamless transfers while preserving context
15+
* Seamless handoffs while preserving context
1616

1717
## 1. Define members
1818

fern/squads/silent-transfers.mdx

Lines changed: 0 additions & 250 deletions
This file was deleted.

0 commit comments

Comments
 (0)