@mondaydotcomorg/atp-runtime
Version:
Runtime SDK injected into sandbox for Agent Tool Protocol
19 lines • 499 B
JavaScript
/**
* Client callback handler for LLM operations
* When set, LLM calls will be routed to client instead of server LLM
*/
let clientLLMCallback;
/**
* Sets a client callback handler for LLM operations
* @param callback - Client callback handler
*/
export function setClientLLMCallback(callback) {
clientLLMCallback = callback;
}
/**
* Gets the current client callback handler
*/
export function getClientLLMCallback() {
return clientLLMCallback;
}
//# sourceMappingURL=callback.js.map