Skip to content

Commit 5191c74

Browse files
brunobergherellipsis-dev[bot]daniel-lxs
authored andcommitted
ux: improve API error handling and visibility (RooCodeInc#10204)
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com> Co-authored-by: Daniel <57051444+daniel-lxs@users.noreply.github.com>
1 parent 751a18c commit 5191c74

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/api/providers/gemini.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import { convertAnthropicMessageToGemini } from "../transform/gemini-format"
2525
import { t } from "i18next"
2626
import type { ApiStream, GroundingSource } from "../transform/stream"
2727
import { getModelParams } from "../transform/model-params"
28+
import { handleProviderError } from "./utils/error-handler"
2829

2930
import type { SingleCompletionHandler, ApiHandlerCreateMessageMetadata } from "../index"
3031
import { BaseProvider } from "./base-provider"

0 commit comments

Comments
 (0)