feat(core): add skill registry and file agent loading (#30617)
This commit is contained in:
@@ -103,7 +103,7 @@ function agents(info: typeof ConfigV1.Info.Type) {
|
||||
return Object.fromEntries(entries.flatMap(([name, agent]) => (agent ? [[name, migrateAgent(agent)]] : [])))
|
||||
}
|
||||
|
||||
function migrateAgent(info: ConfigAgentV1.Info) {
|
||||
export function migrateAgent(info: ConfigAgentV1.Info) {
|
||||
const body = {
|
||||
...info.options,
|
||||
...(info.temperature === undefined ? {} : { temperature: info.temperature }),
|
||||
|
||||
Reference in New Issue
Block a user