mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-09-25 14:06:18 +00:00
`_extract_claude_code_credential` copied `expiresAt` straight into `ClaudeCodeCredential.expires_at`, so a credentials file whose `expiresAt` is a string, null, list or object reached `is_expired` and raised `TypeError: '<=' not supported between instances of 'str' and 'int'`. That aborted the whole lookup instead of skipping the malformed source and moving on down the documented order, the way the rest of the loader already behaves for a malformed `claudeAiOauth` container. Validate the field the way the sibling branches validate their input: log a debug line and skip the source so the next candidate is tried.