diff --git a/frontend/src/components/custom-tools/prompt-card/PromptCardItems.jsx b/frontend/src/components/custom-tools/prompt-card/PromptCardItems.jsx index 7a68c5452..0e50ff9d0 100644 --- a/frontend/src/components/custom-tools/prompt-card/PromptCardItems.jsx +++ b/frontend/src/components/custom-tools/prompt-card/PromptCardItems.jsx @@ -79,7 +79,7 @@ function PromptCardItems({ const [enforceType, setEnforceType] = useState(""); const coverageKey = generateCoverageKey( promptDetails?.prompt_id, - promptDetails.profile_manager || defaultLlmProfile + selectedLlmProfileId || defaultLlmProfile ); useEffect(() => {