Remove dead code and fix typo

- Remove unused AUTH_SCOPE constant from client.rs
- Remove unused ErrorType, ErrorInfoMetadata, FieldViolation,
  and Link types from types/error.rs
- Fix "EventSourrce" typo in error.rs Display impl
This commit is contained in:
2026-01-30 20:29:55 +00:00
parent 4c156fbb33
commit eb38c65ac5
3 changed files with 6 additions and 38 deletions

View File

@@ -34,7 +34,7 @@ impl Display for Error {
write!(f, "No candidates returned for the prompt")
}
Error::EventSourceError(e) => {
write!(f, "EventSourrce Error: {e}")
write!(f, "EventSource Error: {e}")
}
Error::EventSourceClosedError => {
write!(f, "EventSource closed error")