chore: upgrade Node.js runtime to v24 across codebase #419

Merged
jason.woltje merged 438 commits from fix/auth-frontend-remediation into main 2026-02-17 01:04:47 +00:00
2 changed files with 5 additions and 2 deletions
Showing only changes of commit 306c2e5bd8 - Show all commits

View File

@@ -80,7 +80,10 @@ export function getModelCost(modelName: string): ModelCost {
for (const prefix of SORTED_PREFIXES) { for (const prefix of SORTED_PREFIXES) {
if (normalized.startsWith(prefix)) { if (normalized.startsWith(prefix)) {
return MODEL_COSTS[prefix]; const cost = MODEL_COSTS[prefix];
if (cost !== undefined) {
return cost;
}
} }
} }

View File

@@ -25,7 +25,7 @@ export interface LlmCompletionParams {
* Optional calling context hint for task type inference. * Optional calling context hint for task type inference.
* Examples: "brain", "chat", "embed", "planning", "code-review" * Examples: "brain", "chat", "embed", "planning", "code-review"
*/ */
callingContext?: string; callingContext?: string | undefined;
/** Whether the call succeeded or failed */ /** Whether the call succeeded or failed */
success: boolean; success: boolean;
} }