MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / useFrameworkServer

Function useFrameworkServer

server/src/training-agent/framework-server.ts:689–698  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

687 * deleted.
688 */
689export function useFrameworkServer(): boolean {
690 const v = process.env.TRAINING_AGENT_USE_FRAMEWORK;
691 // Default ON (framework dispatch). Framework storyboards have been at
692 // 52/52 clean since the envelope + session-fallback work landed;
693 // legacy stays alive as an explicit opt-out escape hatch
694 // (`TRAINING_AGENT_USE_FRAMEWORK=0`) for one release so a regression
695 // shows up on the flipped-default config before legacy deletion.
696 if (v === '0' || v === 'false') return false;
697 return true;
698}

Callers 2

mcpHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected