fix: filter hidden internal agents from UI and updated sdk version
This commit is contained in:
@@ -209,7 +209,6 @@ interface ModelControlsProps {
|
||||
export const ModelControls: React.FC<ModelControlsProps> = ({ className }) => {
|
||||
const {
|
||||
providers,
|
||||
agents,
|
||||
currentProviderId,
|
||||
currentModelId,
|
||||
currentAgentName,
|
||||
@@ -219,8 +218,12 @@ export const ModelControls: React.FC<ModelControlsProps> = ({ className }) => {
|
||||
getCurrentProvider,
|
||||
getModelMetadata,
|
||||
getCurrentAgent,
|
||||
getVisibleAgents,
|
||||
} = useConfigStore();
|
||||
|
||||
// Use visible agents (excludes hidden internal agents)
|
||||
const agents = getVisibleAgents();
|
||||
|
||||
const {
|
||||
currentSessionId,
|
||||
messages,
|
||||
|
||||
Reference in New Issue
Block a user