summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packages/plugin/package.json2
-rw-r--r--packages/plugin/src/index.ts2
-rw-r--r--packages/sdk/js/package.json2
3 files changed, 3 insertions, 3 deletions
diff --git a/packages/plugin/package.json b/packages/plugin/package.json
index 77ecaa70d..2bec58c3c 100644
--- a/packages/plugin/package.json
+++ b/packages/plugin/package.json
@@ -24,4 +24,4 @@
"typescript": "catalog:",
"@typescript/native-preview": "catalog:"
}
-} \ No newline at end of file
+}
diff --git a/packages/plugin/src/index.ts b/packages/plugin/src/index.ts
index 4b187efe7..0601e5877 100644
--- a/packages/plugin/src/index.ts
+++ b/packages/plugin/src/index.ts
@@ -144,7 +144,7 @@ export interface Hooks {
* Called when a new message is received
*/
"chat.message"?: (
- input: { sessionID: string; agent?: string; model?: { providerID: string; modelID: string; messageID?: string } },
+ input: { sessionID: string; agent?: string; model?: { providerID: string; modelID: string }; messageID?: string },
output: { message: UserMessage; parts: Part[] },
) => Promise<void>
/**
diff --git a/packages/sdk/js/package.json b/packages/sdk/js/package.json
index 89d0abe34..b32463519 100644
--- a/packages/sdk/js/package.json
+++ b/packages/sdk/js/package.json
@@ -26,4 +26,4 @@
"publishConfig": {
"directory": "dist"
}
-} \ No newline at end of file
+}