File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -224,10 +224,10 @@ export class AgentRegistry {
224224 // the proxy doesn't have to re-resolve. Otherwise stay "pending" until
225225 // /info lands.
226226 runtimeMode : this . _runtimeUrl
227- ? ( this . _runtimeConnectionStatus ===
227+ ? this . _runtimeConnectionStatus ===
228228 CopilotKitCoreRuntimeConnectionStatus . Connected
229- ? this . _runtimeMode
230- : "pending" )
229+ ? this . _runtimeMode
230+ : "pending"
231231 : RUNTIME_MODE_SSE ,
232232 intelligence : this . _intelligence ,
233233 debug : debug ? resolveDebugConfig ( debug ) : undefined ,
Original file line number Diff line number Diff line change @@ -319,7 +319,6 @@ export interface CopilotKitCoreFriendsAccess {
319319 * See CopilotKitCore.waitForPendingFrameworkUpdates for details.
320320 */
321321 waitForPendingFrameworkUpdates ( ) : Promise < void > ;
322-
323322}
324323
325324export class CopilotKitCore {
Original file line number Diff line number Diff line change @@ -48,11 +48,7 @@ export interface UseAgentProps {
4848 throttleMs ?: number ;
4949}
5050
51- export function useAgent ( {
52- agentId,
53- updates,
54- throttleMs,
55- } : UseAgentProps = { } ) {
51+ export function useAgent ( { agentId, updates, throttleMs } : UseAgentProps = { } ) {
5652 agentId ??= DEFAULT_AGENT_ID ;
5753
5854 const { copilotkit } = useCopilotKit ( ) ;
You can’t perform that action at this time.
0 commit comments