AgentcoreHarnessModelGeminiModelConfig constructor

const AgentcoreHarnessModelGeminiModelConfig({
  1. required Input<String> apiKeyArn,
  2. Input<int?>? maxTokens,
  3. required Input<String> modelId,
  4. Input<double?>? temperature,
  5. Input<int?>? topK,
  6. Input<double?>? topP,
})

Creates a new AgentcoreHarnessModelGeminiModelConfig. apiKeyArn ARN of the secret containing the API key. maxTokens Maximum number of tokens to generate. modelId Gemini model ID. temperature Temperature for sampling. topK Top-k sampling parameter. topP Top-p sampling parameter.

Implementation

const AgentcoreHarnessModelGeminiModelConfig({
  required this.apiKeyArn,
  this.maxTokens,
  required this.modelId,
  this.temperature,
  this.topK,
  this.topP,
});