fix(grok): improve skills, plans, usage, and turn reliability (#8358)
Co-authored-by: Dara Adedeji <[email protected]> Co-authored-by: Ahmed Besic <[email protected]> Co-authored-by: Michael Brown <[email protected]> Co-authored-by: Lars Nieuwenhuis <[email protected]> Co-authored-by: Guilherme Barros <[email protected]> Co-authored-by: PC <pc@localhost> Co-authored-by: 1xpixi <[email protected]>
This commit is contained in:
33 files changed
+3860
-146
No files matched your search
@@ -134,7 +134,7 @@ export function decodeScanCache(document: unknown): ScanCache {
|
||||
if (typeof raw !== "object" || raw === null) continue;
|
||||
const entry = raw as Partial<SerializedFile>;
|
||||
if (typeof entry.s !== "number" || typeof entry.m !== "number") continue;
|
||||
if (entry.p !== "claude" && entry.p !== "codex") continue;
|
||||
if (entry.p !== "claude" && entry.p !== "codex" && entry.p !== "grok") continue;
|
||||
if (!isRecordArray(entry.r)) continue;
|
||||
|
||||
const provider: UsageProviderKind = entry.p;
|
||||
|
||||
Reference in new issue
Block a user