mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-03 13:00:54 +08:00
reset to v0.1.0
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
|
||||
import httpx
|
||||
from typing import Optional
|
||||
from dataclasses import dataclass
|
||||
|
||||
from openrouter.errors import OpenRouterError
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class ResponseValidationError(OpenRouterError):
|
||||
"""Error raised when there is a type mismatch between the response data and the expected Pydantic model."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user