diff options
| author | Mathias Beugnon <[email protected]> | 2025-11-09 16:39:50 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-11-09 09:39:50 -0600 |
| commit | d9ffe07391d91459c1d400cf4da1d451b7d526de (patch) | |
| tree | 85380e6819c0279836aacfd2b7a60347e593b134 /packages/plugin/src | |
| parent | c0702ed8bd737ed7b54c43c66eb128d98bddf8e9 (diff) | |
| download | opencode-d9ffe07391d91459c1d400cf4da1d451b7d526de.tar.gz opencode-d9ffe07391d91459c1d400cf4da1d451b7d526de.zip | |
fix: messageID type in chat.message (#4128)
Co-authored-by: GitHub Action <[email protected]>
Diffstat (limited to 'packages/plugin/src')
| -rw-r--r-- | packages/plugin/src/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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> /** |
