mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
feat(tool-policies): reuse ToolItem component for call log drawer
This commit is contained in:
parent
499462448f
commit
1a6ea1fd03
1 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ import {
|
|||
ToolRow,
|
||||
ToolCallLog,
|
||||
} from "./networking";
|
||||
import { FormattedToolView } from "./view_logs/ToolsSection/FormattedToolView";
|
||||
import { ToolItem } from "./view_logs/ToolsSection/ToolItem";
|
||||
import type { ParsedTool } from "./view_logs/ToolsSection/types";
|
||||
|
||||
const POLICY_OPTIONS = [
|
||||
|
|
@ -591,7 +591,7 @@ export const ToolPolicies: React.FC<ToolPoliciesProps> = ({ accessToken }) => {
|
|||
</div>
|
||||
</div>
|
||||
{parsedTool ? (
|
||||
<FormattedToolView tool={parsedTool} />
|
||||
<ToolItem tool={parsedTool} />
|
||||
) : (
|
||||
<p className="text-gray-400 italic">No arguments captured for this call</p>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue