bebechien commited on
Commit
524f485
·
verified ·
1 Parent(s): c00c52d

Add limitation

Browse files
Files changed (1) hide show
  1. ui.py +4 -0
ui.py CHANGED
@@ -121,6 +121,10 @@ def _render_header():
121
  def _render_dataset_tab(engine_state):
122
  with gr.TabItem("1. Preparing Dataset"):
123
  gr.Markdown("### 🛠️ Tool Schema & Data Import")
 
 
 
 
124
  with gr.Row():
125
  with gr.Column(scale=1):
126
  gr.Markdown("**Step 1: Define Functions**<br>Edit the JSON schema below to define the tools the model should learn.")
 
121
  def _render_dataset_tab(engine_state):
122
  with gr.TabItem("1. Preparing Dataset"):
123
  gr.Markdown("### 🛠️ Tool Schema & Data Import")
124
+ gr.Markdown("**Important Limitation:** This configuration will fail if the defined tools require **different parameter structures**.")
125
+ gr.Markdown("The framework cannot currently handle a mix of tools with distinct signatures. For example, the following combination will not work:")
126
+ gr.Markdown("* `sum(int a, int b)`\n* `query(string q)")
127
+ gr.Markdown("Ensure that all tools within this specific schema definition share a consistent parameter format.")
128
  with gr.Row():
129
  with gr.Column(scale=1):
130
  gr.Markdown("**Step 1: Define Functions**<br>Edit the JSON schema below to define the tools the model should learn.")