Minor UI changes; update copy

This commit is contained in:
Saoud Rizwan
2024-08-16 23:36:39 -04:00
parent 5b944b80e2
commit 38f98951d0
8 changed files with 38 additions and 33 deletions

View File

@@ -33,7 +33,7 @@ export class AnthropicHandler implements ApiHandler {
{
model: modelId,
max_tokens: this.getModel().info.maxTokens,
system: [{ text: systemPrompt, type: "text", cache_control: { type: "ephemeral" } }],
system: [{ text: systemPrompt, type: "text", cache_control: { type: "ephemeral" } }], // setting cache breakpoint for system prompt so new tasks can reuse it
messages: messages.map((message, index) => {
if (index === lastUserMsgIndex || index === secondLastMsgUserIndex) {
return {