File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ def run(container):
173
173
item = data .get ("item" , {})
174
174
if item .get ("type" ) == "function_call" :
175
175
with container .chat_message ("function_call" , avatar = "🔨" ):
176
- st .markdown (f"Called `{ item .get (" name" )} `" )
176
+ st .markdown (f"Called `{ item .get (' name' )} `" )
177
177
st .caption ("Arguments" )
178
178
st .code (item .get ("arguments" , "" ), language = "json" )
179
179
if item .get ("type" ) == "web_search_call" :
@@ -223,7 +223,7 @@ def run(container):
223
223
st .markdown (item ["text" ])
224
224
elif msg .get ("type" ) == "function_call" :
225
225
with st .chat_message ("function_call" , avatar = "🔨" ):
226
- st .markdown (f"Called `{ msg .get (" name" )} `" )
226
+ st .markdown (f"Called `{ msg .get (' name' )} `" )
227
227
st .caption ("Arguments" )
228
228
st .code (msg .get ("arguments" , "" ), language = "json" )
229
229
elif msg .get ("type" ) == "function_call_output" :
You can’t perform that action at this time.
0 commit comments