This commit is contained in:
Ivan Office
2023-08-27 01:38:16 +08:00
parent c649d08360
commit 92917f909a
4 changed files with 444 additions and 9 deletions

View File

@@ -23,8 +23,8 @@
<field name="arch" type="xml">
<form>
<header>
<button string="Get List Model" type="object" name="get_ai_list_model"/>
<button string="Get Model Info" type="object" name="get_ai_model_info"/>
<button string="Get List Model" type="object" name="get_ai_list_model" attrs="{'invisible': [('provider', '!=', 'openai')]}"/>
<button string="Get Model Info" type="object" name="get_ai_model_info" attrs="{'invisible': [('provider', '!=', 'openai')]}"/>
</header>
<sheet>
<div class="oe_title">