package com.syaroful.agrilinkvocpro.plant_disease_detection_feature.data.network

import com.syaroful.agrilinkvocpro.plant_disease_detection_feature.data.model.GeminiRequest
import com.syaroful.agrilinkvocpro.plant_disease_detection_feature.data.model.GeminiResponse
import retrofit2.http.Body
import retrofit2.http.POST
import retrofit2.http.Query

interface GeminiApiService {
    @POST("v1beta/models/gemini-2.0-flash:generateContent")
    suspend fun detectDisease(
        @Query("key") apiKey: String,
        @Body request: GeminiRequest
    ): GeminiResponse
}