chore: remove console

This commit is contained in:
AkaraChen 2024-12-26 10:55:30 +08:00
parent 5f13402c6e
commit e07d7ee4fc
2 changed files with 0 additions and 3 deletions

View File

@ -76,7 +76,6 @@ export const AgentStrategySelector = (props: AgentStrategySelectorProps) => {
const [query, setQuery] = useState('')
const stra = useStrategyProviders()
const list = stra.data ? formatStrategy(stra.data) : undefined
console.log('list', list, 'stra', stra)
const filteredTools = useMemo(() => {
if (!list) return []
return list.filter(tool => tool.name.toLowerCase().includes(query.toLowerCase()))
@ -125,7 +124,6 @@ export const AgentStrategySelector = (props: AgentStrategySelectorProps) => {
agent_parameters: tool!.params,
agent_strategy_label: tool!.tool_label,
})
console.log(tool, 'tool')
setOpen(false)
}}
hasSearchText={false}

View File

@ -20,7 +20,6 @@ const useConfig = (id: string, payload: AgentNodeType) => {
const currentStrategy = strategies.data?.declaration.strategies.find(
str => str.identity.name === inputs.agent_strategy_name,
)
console.log('currentStrategy', currentStrategy, 'strategies', strategies, 'inputs', inputs)
return {
readOnly,
inputs,