mattermost-redux
Version:
Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client
11 lines (10 loc) • 546 B
TypeScript
import type { Agent, LLMService } from '@mattermost/types/agents';
import type { GlobalState } from '@mattermost/types/store';
export declare function getAgents(state: GlobalState): Agent[];
export declare function getAgentsStatus(state: GlobalState): {
available: boolean;
reason?: string;
};
export declare function getAgent(state: GlobalState, agentId: string): Agent | undefined;
export declare function getDefaultAgent(state: GlobalState): Agent | undefined;
export declare function getLLMServices(state: GlobalState): LLMService[];