Class AgentFormComponent

java.lang.Object
ai.mindconnect.adminui.ui.component.AgentFormComponent
All Implemented Interfaces:
UiComponent

public final class AgentFormComponent extends Object implements UiComponent
Edit form for an agent definition. Used both for "new" (null agent) and "edit" (existing agent) modes — defaults switch on the null check, the submit target becomes POST vs PUT.

The form pulls LLM configs and reviewer-candidate agents from repositories at render time so the dropdown options stay current without the component caching anything.

  • Constructor Summary

    Constructors
    Constructor
    Description
    AgentFormComponent(ai.mindconnect.agent.domain.AgentDefinition agent, ai.mindconnect.llm.port.out.LlmConfigRepository llmConfigRepository, ai.mindconnect.agent.port.out.AgentDefinitionRepository agentRepository, ai.mindconnect.common.Namespace defaultNamespace, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    id()
     
    ai.mindconnect.ui.model.UiForm
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AgentFormComponent

      public AgentFormComponent(ai.mindconnect.agent.domain.AgentDefinition agent, ai.mindconnect.llm.port.out.LlmConfigRepository llmConfigRepository, ai.mindconnect.agent.port.out.AgentDefinitionRepository agentRepository, ai.mindconnect.common.Namespace defaultNamespace, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      Parameters:
      agent - null for the new-agent form, an existing AgentDefinition for the edit form
  • Method Details