fix: FriendEmotionTool.call()
Browse files
src/tools/FriendEmotionTool.ts
CHANGED
|
@@ -99,14 +99,12 @@ export const FriendEmotionTool = buildTool({
|
|
| 99 |
}
|
| 100 |
|
| 101 |
return {
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
}`,
|
| 109 |
-
}],
|
| 110 |
};
|
| 111 |
},
|
| 112 |
mapToolResultToToolResultBlockParam(output: Output, toolUseID: string) {
|
|
|
|
| 99 |
}
|
| 100 |
|
| 101 |
return {
|
| 102 |
+
data: {
|
| 103 |
+
ok: true,
|
| 104 |
+
emotion,
|
| 105 |
+
moodDelta,
|
| 106 |
+
moodIndex,
|
| 107 |
+
},
|
|
|
|
|
|
|
| 108 |
};
|
| 109 |
},
|
| 110 |
mapToolResultToToolResultBlockParam(output: Output, toolUseID: string) {
|