Skip to content

Commit 08fce4c

Browse files
committed
Update XSD Files to Support new Syntax for MCP and Memory Summarization
1 parent a890474 commit 08fce4c

File tree

1 file changed

+13
-1
lines changed
  • org.eclipse.lemminx/src/main/resources/org/eclipse/lemminx/schemas/440/mediators/ai

1 file changed

+13
-1
lines changed

org.eclipse.lemminx/src/main/resources/org/eclipse/lemminx/schemas/440/mediators/ai/aiAgent.xsd

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@
3535
</xs:all>
3636
</xs:complexType>
3737
</xs:element>
38+
<xs:element name="mcpConnections">
39+
<xs:complexType>
40+
<xs:sequence>
41+
<xs:element name="mcpConfigKey" type="xs:string" maxOccurs="unbounded"/>
42+
</xs:sequence>
43+
</xs:complexType>
44+
</xs:element>
3845
<xs:element name="sessionId" type="xs:string" minOccurs="0"/>
3946
<xs:element name="role" type="xs:string" minOccurs="0"/>
4047
<xs:element name="instructions" type="xs:string" minOccurs="0"/>
@@ -49,16 +56,21 @@
4956
<xs:element name="frequencyPenalty" type="xs:string" minOccurs="0"/>
5057
<xs:element name="seed" type="xs:string" minOccurs="0"/>
5158
<xs:element name="maxHistory" type="xs:string" minOccurs="0"/>
59+
<xs:element name="overflowHandlingMethod" type="xs:string" minOccurs="0"/>
60+
<xs:element name="summarizationLlmConfigKey" type="xs:string" minOccurs="0"/>
61+
<xs:element name="summarizationModelName" type="xs:string" minOccurs="0"/>
5262
<xs:element name="toolExecutionTimeout" type="xs:string" minOccurs="0"/>
5363
<xs:element name="tools">
5464
<xs:complexType>
5565
<xs:sequence>
5666
<xs:element name="tool" minOccurs="0" maxOccurs="unbounded">
5767
<xs:complexType>
5868
<xs:attribute name="name" type="xs:string" use="required"/>
59-
<xs:attribute name="template" type="xs:string" use="required"/>
69+
<xs:attribute name="template" type="xs:string"/>
6070
<xs:attribute name="resultExpression" type="xs:string"/>
6171
<xs:attribute name="description" type="xs:string"/>
72+
<xs:attribute name="type" type="xs:string"/>
73+
<xs:attribute name="mcpConnection" type="xs:string"/>
6274
</xs:complexType>
6375
</xs:element>
6476
</xs:sequence>

0 commit comments

Comments
 (0)