From 6ace676a80a61016256a9f83cbcf2c2cc10c0e8b Mon Sep 17 00:00:00 2001 From: nikko <58105659+nikko-pfffff@users.noreply.github.com> Date: Mon, 8 Dec 2025 21:45:16 +0100 Subject: [PATCH] Update gradio-client.mdx got unexpected argument "type", it works without this param --- units/en/unit2/gradio-client.mdx | 2 -- 1 file changed, 2 deletions(-) diff --git a/units/en/unit2/gradio-client.mdx b/units/en/unit2/gradio-client.mdx index 1391a90..dee4aae 100644 --- a/units/en/unit2/gradio-client.mdx +++ b/units/en/unit2/gradio-client.mdx @@ -80,7 +80,6 @@ Now, we can create a simple Gradio interface that uses the agent to answer quest ```python demo = gr.ChatInterface( fn=lambda message, history: str(agent.run(message)), - type="messages", examples=["Prime factorization of 68"], title="Agent with MCP Tools", description="This is a simple agent that uses MCP tools to answer questions." @@ -121,7 +120,6 @@ try: demo = gr.ChatInterface( fn=lambda message, history: str(agent.run(message)), - type="messages", examples=["Analyze the sentiment of the following text 'This is awesome'"], title="Agent with MCP Tools", description="This is a simple agent that uses MCP tools to answer questions.",