system_prompt added to the anthropic worker. See #549
This commit is contained in:
parent
ea67c56d22
commit
f5abf08a9a
1 changed files with 1 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ self.onmessage = async function(event) {
|
||||||
apiKey: anthropic_api_key,
|
apiKey: anthropic_api_key,
|
||||||
version: event.data.anthropic_version,
|
version: event.data.anthropic_version,
|
||||||
model: anthropic_model,
|
model: anthropic_model,
|
||||||
|
system_prompt: event.data.anthropic_system_prompt,
|
||||||
max_tokens: event.data.anthropic_max_tokens,
|
max_tokens: event.data.anthropic_max_tokens,
|
||||||
stream: true
|
stream: true
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue