refactor(core): select system prompts through plugins (#37181)
This commit is contained in:
parent
b5177adb5b
commit
720f062cd0
29 changed files with 447 additions and 263 deletions
|
|
@ -50,6 +50,7 @@ import { ModelsDevPlugin } from "./models-dev"
|
|||
import { ProviderPlugins } from "./provider"
|
||||
import { PluginRuntime } from "./runtime"
|
||||
import { SkillPlugin } from "./skill"
|
||||
import { SystemPromptPlugin } from "./system-prompt"
|
||||
import { VariantPlugin } from "./variant"
|
||||
|
||||
const services = Effect.fn("PluginInternal.services")(function* () {
|
||||
|
|
@ -121,6 +122,7 @@ const pre = [
|
|||
AgentPlugin.Plugin,
|
||||
CommandPlugin.Plugin,
|
||||
SkillPlugin.Plugin,
|
||||
...SystemPromptPlugin.Plugins,
|
||||
ModelsDevPlugin,
|
||||
...ProviderPlugins,
|
||||
PatchTool.Plugin,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue