Add AgentEnumData.xml and update component.xml
Create separate enum data file for agent runtime - AiServiceType enum type and values - SmtyAgentTask enum for SystemMessageType Update component.xml to load AgentEnumData.xml
Showing
2 changed files
with
19 additions
and
2 deletions
| ... | @@ -18,10 +18,12 @@ | ... | @@ -18,10 +18,12 @@ |
| 18 | <service-factory load-path="service/" /> | 18 | <service-factory load-path="service/" /> |
| 19 | <screen-factory load-path="screen/" /> | 19 | <screen-factory load-path="screen/" /> |
| 20 | 20 | ||
| 21 | <!-- Load seed data --> | 21 | <!-- Load seed data --> |
| 22 | <entity-factory load-data="data/McpSecuritySeedData.xml" /> | 22 | <entity-factory load-data="data/McpSecuritySeedData.xml" /> |
| 23 | <entity-factory load-data="data/McpPromptsData.xml" /> | 23 | <entity-factory load-data="data/McpPromptsData.xml" /> |
| 24 | <entity-factory load-data="data/McpScreenDocsData.xml" /> | 24 | <entity-factory load-data="data/McpScreenDocsData.xml" /> |
| 25 | <entity-factory load-data="data/AgentData.xml" /> | ||
| 26 | <entity-factory load-data="data/AgentEnumData.xml" /> | ||
| 25 | 27 | ||
| 26 | <!-- Webapp Configuration --> | 28 | <!-- Webapp Configuration --> |
| 27 | <webapp-list> | 29 | <webapp-list> | ... | ... |
data/AgentEnumData.xml
0 → 100644
| 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | <entity-facade-xml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| 3 | xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/entity-facade-3.xsd" type="seed"> | ||
| 4 | |||
| 5 | <!-- AI Service Type Enumeration --> | ||
| 6 | <moqui.basic.EnumerationType enumTypeId="AiServiceType" description="AI Service Type"/> | ||
| 7 | <moqui.basic.Enumeration enumId="AistOpenAi" description="OpenAI" enumTypeId="AiServiceType"/> | ||
| 8 | <moqui.basic.Enumeration enumId="AistVllm" description="VLLM (OpenAI Compatible)" enumTypeId="AiServiceType"/> | ||
| 9 | <moqui.basic.Enumeration enumId="AistAnthropic" description="Anthropic" enumTypeId="AiServiceType"/> | ||
| 10 | <moqui.basic.Enumeration enumId="AistOllama" description="Ollama" enumTypeId="AiServiceType"/> | ||
| 11 | |||
| 12 | <!-- Agent Task Message Type --> | ||
| 13 | <moqui.basic.Enumeration enumId="SmtyAgentTask" description="Agent Task" enumTypeId="SystemMessageType"/> | ||
| 14 | |||
| 15 | </entity-facade-xml> |
-
Please register or sign in to post a comment