Skip to content

Commit 171e4a6

Browse files
committed
Format fixes for providers.ts
1 parent 8caabec commit 171e4a6

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/classifier/providers.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ interface GoogleAIResponse {
5050
/**
5151
* Call Google AI (Gemini) API for classification.
5252
*/
53-
async function callGoogleAI(prompt: string, config: ProviderConfig): Promise<Result<ProviderResult>> {
53+
async function callGoogleAI(
54+
prompt: string,
55+
config: ProviderConfig
56+
): Promise<Result<ProviderResult>> {
5457
const model = config.model ?? DEFAULT_MODELS.google
5558
const url = `https://generativelanguage.googleapis.com/v1beta/models/${model}:generateContent?key=${config.apiKey}`
5659

@@ -87,7 +90,10 @@ async function callGoogleAI(prompt: string, config: ProviderConfig): Promise<Res
8790
/**
8891
* Call Anthropic Claude API for classification.
8992
*/
90-
async function callAnthropic(prompt: string, config: ProviderConfig): Promise<Result<ProviderResult>> {
93+
async function callAnthropic(
94+
prompt: string,
95+
config: ProviderConfig
96+
): Promise<Result<ProviderResult>> {
9197
const model = config.model ?? DEFAULT_MODELS.anthropic
9298

9399
try {

0 commit comments

Comments
 (0)