mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-18 08:02:48 +00:00
Add debug logging to RuntimeMessageRouter and increase API key validation tokens
- Add console.log for user script messages in RuntimeMessageRouter - Increase ProviderKeyInput maxTokens from 10 to 200 for better validation
This commit is contained in:
parent
c2793d8017
commit
b288cd9448
2 changed files with 4 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ export class ProviderKeyInput extends LitElement {
|
|||
|
||||
const result = await complete(model, context, {
|
||||
apiKey,
|
||||
maxTokens: 10,
|
||||
maxTokens: 200,
|
||||
} as any);
|
||||
|
||||
return result.stopReason === "stop";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue