MCPcopy Create free account
hub / github.com/xerrors/Yuxi / getAgentConfigOptions

Function getAgentConfigOptions

web/src/utils/agentConfigUtils.js:21–21  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

19export const isMentionAgentResourceKind = (kind) => MENTION_AGENT_RESOURCE_KINDS.includes(kind)
20
21export const getAgentConfigOptions = (item) => (Array.isArray(item?.options) ? item.options : [])
22
23export const getAgentConfigOptionValue = (option) => {
24 if (typeof option !== 'object' || option === null) return option

Callers 1

useAgentMentionConfigFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected