picocode-core 0.9.219 → 0.9.220
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/derive.js +1 -1
package/package.json
CHANGED
package/src/derive.js
CHANGED
|
@@ -79,7 +79,7 @@ function pushHistory(state, message, eventId) {
|
|
|
79
79
|
|
|
80
80
|
// what the model reads after a message the person will hear answered
|
|
81
81
|
// aloud, rather than read
|
|
82
|
-
export const SPOKEN_NOTE = '[system notification] The user will hear your reply read aloud by text to speech, not read it on a screen
|
|
82
|
+
export const SPOKEN_NOTE = '[system notification] The user will hear your reply read aloud by text to speech, not read it on a screen, so be brief: say only what they need, in as few short spoken sentences as possible, usually two or three. Leave out background, detail, examples, caveats and summaries unless leaving them out would mislead; when there is more, offer it in one short sentence instead of saying it. Plain speech only: no lists or bullet points, no headings, no bold or italics, no tables, no "label: description" lines, no code, file paths, URLs or commit hashes; describe them in words. Say numbers and names the way you would out loud.'
|
|
83
83
|
|
|
84
84
|
function spokenTo(message) {
|
|
85
85
|
if (Array.isArray(message.content)) return { ...message, content: [...message.content, { type: 'text', text: `\n\n${SPOKEN_NOTE}` }] }
|