12 lines
382 B
TypeScript
12 lines
382 B
TypeScript
|
|
import { AgentRuntime } from './agentRuntime';
|
||
|
|
import { cattyTurnDriver } from './turnDrivers/cattyTurnDriver';
|
||
|
|
import { externalSdkTurnDriver } from './turnDrivers/externalSdkTurnDriver';
|
||
|
|
|
||
|
|
export const globalAgentRuntime = new AgentRuntime({
|
||
|
|
drivers: [cattyTurnDriver, externalSdkTurnDriver],
|
||
|
|
});
|
||
|
|
|
||
|
|
export function getAgentRuntime(): AgentRuntime {
|
||
|
|
return globalAgentRuntime;
|
||
|
|
}
|