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:
Mario Zechner 2025-10-09 18:57:43 +02:00
parent c2793d8017
commit b288cd9448
2 changed files with 4 additions and 1 deletions

View file

@ -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";