Package ai.mindconnect.adminui.ui.page
Class AgentFormPage
java.lang.Object
ai.mindconnect.adminui.ui.AdminPage
ai.mindconnect.adminui.ui.page.AgentFormPage
Agent create/edit form. Same page for both modes — the wrapped
AgentFormComponent accepts null as the "new agent"
marker and switches its defaults and submit target accordingly.
The URL embedded in the UiPage reflects the mode:
/admin/agents/new, /admin/agents/{id}/edit, or the
copy variant (/admin/agents/{copyId}/edit) when an agent has
just been duplicated.
-
Constructor Summary
ConstructorsConstructorDescriptionAgentFormPage(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 TypeMethodDescriptionai.mindconnect.ui.model.UiPagerender()Render the full page (initial GET, after navigation).
-
Constructor Details
-
AgentFormPage
public AgentFormPage(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-nullfor the new-agent form, a populatedAgentDefinitionfor the edit form (including the copy-then-edit flow)
-
-
Method Details