Skip to content

The open-source agent harness - the runtime layer that turns an LLM into a working agent.

389 B
Raw Blame
'use client';

import { createContext, useContext, type ReactNode } from 'react';

const CompactLayoutContext = createContext(false);

export function CompactLayoutProvider({ children }: { children: ReactNode }) {
  return <CompactLayoutContext.Provider value>{children}</CompactLayoutContext.Provider>;
}

export function useCompactLayout() {
  return useContext(CompactLayoutContext);
}