* Generate a hash for a system prompt.
(systemPrompt: string)
| 127 | * Generate a hash for a system prompt. |
| 128 | */ |
| 129 | function hashSystemPrompt(systemPrompt: string): string { |
| 130 | return `sp_${shortHash(systemPrompt)}` |
| 131 | } |
| 132 | |
| 133 | /** |
| 134 | * Generate a hash for a message based on its content. |
no test coverage detected