feat: initial commit for omp-hooks plugin
This commit is contained in:
commit
a0d4230537
6 files changed
+624
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import crypto from 'node:crypto'
|
||||
|
||||
export function createUserMessage(input) {
|
||||
return {
|
||||
id: crypto.randomUUID(),
|
||||
role: 'user',
|
||||
content: input.content,
|
||||
source: input.source,
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user