system_prompt added to the anthropic worker. See #549

This commit is contained in:
mic 2025-12-07 18:09:25 +01:00
parent ea67c56d22
commit f5abf08a9a

View file

@ -43,6 +43,7 @@ self.onmessage = async function(event) {
apiKey: anthropic_api_key,
version: event.data.anthropic_version,
model: anthropic_model,
system_prompt: event.data.anthropic_system_prompt,
max_tokens: event.data.anthropic_max_tokens,
stream: true
});