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