fix: add tests and fix typing for formatter trigger (#2768)
This commit is contained in:
@@ -7,6 +7,7 @@ import { applyMcpConfig } from "./mcp-config-handler";
|
||||
import { applyProviderConfig } from "./provider-config-handler";
|
||||
import { loadPluginComponents } from "./plugin-components-loader";
|
||||
import { applyToolConfig } from "./tool-config-handler";
|
||||
import { clearFormatterCache } from "../tools/hashline-edit/formatter-trigger"
|
||||
|
||||
export { resolveCategoryConfig } from "./category-config-resolver";
|
||||
|
||||
@@ -23,6 +24,7 @@ export function createConfigHandler(deps: ConfigHandlerDeps) {
|
||||
const formatterConfig = config.formatter;
|
||||
|
||||
applyProviderConfig({ config, modelCacheState });
|
||||
clearFormatterCache()
|
||||
|
||||
const pluginComponents = await loadPluginComponents({ pluginConfig });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user