Skip to content

Commit 116408c

Browse files
committed
fix(chutes): remove unused readResponseTextLimited and CHUTES_OAUTH_ERROR_BODY_LIMIT_BYTES
1 parent 48da7d2 commit 116408c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/agents/chutes-oauth.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@ import { buildOAuthRequestSignal } from "../llm/utils/oauth/abort.js";
1111
import {
1212
extractProviderErrorDetail,
1313
readProviderJsonResponse,
14-
readResponseTextLimited,
1514
} from "./provider-http-errors.js";
1615

17-
const CHUTES_OAUTH_ERROR_BODY_LIMIT_BYTES = 8 * 1024;
1816
const CHUTES_OAUTH_REQUEST_TIMEOUT_MS = 30_000;
1917

2018
const CHUTES_OAUTH_ISSUER = "https://api.chutes.ai";

0 commit comments

Comments
 (0)