Skip to content

Commit 7fe0ffd

Browse files
style: auto-fix formatting
1 parent b56773d commit 7fe0ffd

3 files changed

Lines changed: 4 additions & 9 deletions

File tree

packages/core/src/core/agent-registry.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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,

packages/core/src/core/core.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,6 @@ export interface CopilotKitCoreFriendsAccess {
319319
* See CopilotKitCore.waitForPendingFrameworkUpdates for details.
320320
*/
321321
waitForPendingFrameworkUpdates(): Promise<void>;
322-
323322
}
324323

325324
export class CopilotKitCore {

packages/react-core/src/v2/hooks/use-agent.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)