aiproxy/dbus/fr.mrdev023.aiproxy.xml
2025-04-23 20:57:42 +02:00

37 lines
No EOL
1.3 KiB
XML

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<interface name="fr.mrdev023.AIProxy">
<method name="AddProvider">
<arg name="Name" direction="in" type="s"/>
<arg name="BaseURL" direction="in" type="s"/>
<arg name="APIKey" direction="in" type="s"/>
<arg name="Provider" direction="out" type="o"/>
</method>
<method name="RemoveProvider">
<arg name="Provider" direction="in" type="o"/>
</method>
<method name="GetProviders">
<arg name="Providers" direction="out" type="ao"/>
</method>
<method name="GetModels">
<arg name="Models" direction="out" type="ao"/>
</method>
</interface>
<interface name="fr.mrdev023.AIProxy.Provider">
<property name="Name" type="s" access="readwrite"/>
<property name="BaseURL" type="s" access="readwrite"/>
<property name="APIKey" type="s" access="readwrite"/>
</interface>
<interface name="fr.mrdev023.AIProxy.Model">
<property name="Name" type="s" access="read"/>
<property name="Provider" type="o" access="read"/>
<property name="Loaded" type="b" access="read"/>
<property name="HasToolSupport" type="b" access="read"/>
</interface>
</node>