fix(frontend): remove debug_rate_limit_headers from ai-providers page
This commit is contained in:
parent
ebba838025
commit
fc4094d49f
|
|
@ -32,5 +32,8 @@
|
||||||
**/.env
|
**/.env
|
||||||
**/.env.*
|
**/.env.*
|
||||||
|
|
||||||
|
# Data directory (postgres persistence)
|
||||||
|
data/
|
||||||
|
|
||||||
# Logs
|
# Logs
|
||||||
**/*.log
|
**/*.log
|
||||||
|
|
|
||||||
|
|
@ -238,11 +238,7 @@ function CredentialForm({
|
||||||
<p className="mt-1 text-muted">
|
<p className="mt-1 text-muted">
|
||||||
{testResult.error ?? `${testResult.models?.length ?? 0} model${(testResult.models?.length ?? 0) === 1 ? "" : "s"} returned`}
|
{testResult.error ?? `${testResult.models?.length ?? 0} model${(testResult.models?.length ?? 0) === 1 ? "" : "s"} returned`}
|
||||||
</p>
|
</p>
|
||||||
{testResult.debug_rate_limit_headers && testResult.debug_rate_limit_headers.length > 0 && (
|
|
||||||
<p className="mt-1 text-muted">
|
|
||||||
Rate-limit headers: {testResult.debug_rate_limit_headers.join(", ")}
|
|
||||||
</p>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue