Show arguments and result_text in ToolCallInline (readonly)
This commit is contained in:
@@ -25,8 +25,8 @@ class MessageInline(admin.TabularInline):
|
|||||||
class ToolCallInline(admin.TabularInline):
|
class ToolCallInline(admin.TabularInline):
|
||||||
model = ToolCall
|
model = ToolCall
|
||||||
extra = 0
|
extra = 0
|
||||||
fields = ("seq", "tool_name", "tool_call_id", "is_error", "duration_ms")
|
fields = ("seq", "tool_name", "tool_call_id", "arguments", "result_text", "is_error", "duration_ms")
|
||||||
readonly_fields = ("seq", "tool_name", "tool_call_id", "is_error", "duration_ms")
|
readonly_fields = ("seq", "tool_name", "tool_call_id", "arguments", "result_text", "is_error", "duration_ms")
|
||||||
|
|
||||||
def has_add_permission(self, request, obj=None):
|
def has_add_permission(self, request, obj=None):
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user