feat(agent): integrate agents into all BOC modules
- Add AgentFAB floating button to CRM, Sales, Finance, HR, Legal, Marketing, Support, Automation - Update AgentChat to use /api/v1/agents/chat with auth token - Add error handling and fallback to mock responses - Update Anthropic model to claude-sonnet-4-6 - Show agent context in chat footer (title + competencies) - Build fresh web-v2 dist
This commit is contained in:
@@ -22,6 +22,7 @@ import {
|
||||
MoreHorizontal,
|
||||
Clock,
|
||||
} from 'lucide-react'
|
||||
import { AgentFAB } from '@/components/agent/AgentFAB'
|
||||
|
||||
interface Employee {
|
||||
id: string
|
||||
@@ -347,6 +348,9 @@ export function HRPage() {
|
||||
</Table>
|
||||
</Card>
|
||||
)}
|
||||
|
||||
{/* HR Agent */}
|
||||
<AgentFAB rum="hr" />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user