* Added hindsight_liteLLM implementation * Add instructions for entity vs bank id * Add another line about entity * Address PR review comments and enhance litellm integration - Remove deprecated limit parameter from recall() and arecall() functions since Hindsight uses budget/max_tokens for result control - Remove dead MODEL_MAX_OUTPUT_TOKENS dict and max_output_tokens property from LLMProvider (superseded by hardcoded max_completion_tokens) - Add test-litellm-integration job to CI workflow - Add reflect API support with use_reflect config option - Add verbose mode debug info via get_last_injection_debug() - Add entity_id support for multi-user memory isolation - Add retain() and reflect() wrapper functions - Update docstrings and examples 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Make max_memories optional to allow unlimited memory injection - Change max_memories default from 10 to None (no limit) - When max_memories is None, all results from the API are used - Fix recall result handling to properly detect list vs object return - Update wrappers (OpenAI, Anthropic) with same optional behavior This allows users to control memory limits via max_memory_tokens and recall_budget without an artificial count limit. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Remove entity_id from hindsight_litellm; add gpt-4o token cap Multi-user support now uses separate bank_ids per user instead of entity_id scoping (e.g., bank_id=f"user-{user_id}"). This simplifies the API and aligns with the Hindsight architecture. Also fixes max_completion_tokens error for gpt-4o models by capping the value at 16384 (gpt-4o's limit) instead of sending the default 65000 which exceeds the model's supported maximum. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Fix dark mode styling across Control Plane UI components Improvements to ensure proper text visibility and contrast in both light and dark modes: - Add global CSS rules for datetime-local calendar picker icon visibility using filter: invert() for both light (0.5) and dark (1) modes - Fix text colors in dialog components to use theme-aware foreground colors - Update memory detail panel, document/chunk modals, and data views to use proper dark mode text classes (text-foreground, text-card-foreground) - Fix form labels, headings, and content text in bank selector dialogs - Update entities view and documents view table styling for dark mode - Bump package versions to 0.1.4 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Remove session_id feature and add How It Works section to README - Remove session_id and session management (new_session, set_session, get_session) from config.py, callbacks.py, and __init__.py - Session management was a client-only abstraction not backed by core API - Add "How It Works" section to README with visual flow diagram - Update README to remove session management documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Fix readme example * Add dark mode again --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
192 lines
No EOL
7 KiB
CSS
192 lines
No EOL
7 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Space+Grotesk:wght@500;600;700&display=swap');
|
|
@import "tailwindcss";
|
|
:root {
|
|
--background: oklch(0.9911 0 0);
|
|
--foreground: oklch(0.2046 0 0);
|
|
--card: oklch(0.9911 0 0);
|
|
--card-foreground: oklch(0.2046 0 0);
|
|
--popover: oklch(0.9911 0 0);
|
|
--popover-foreground: oklch(0.4386 0 0);
|
|
--primary: oklch(0.55 0.19 250);
|
|
--primary-foreground: oklch(0.98 0.01 250);
|
|
--primary-gradient: linear-gradient(135deg, #0074d9 0%, #009296 100%);
|
|
--secondary: oklch(0.9940 0 0);
|
|
--secondary-foreground: oklch(0.2046 0 0);
|
|
--muted: oklch(0.9461 0 0);
|
|
--muted-foreground: oklch(0.2435 0 0);
|
|
--accent: oklch(0.9461 0 0);
|
|
--accent-foreground: oklch(0.2435 0 0);
|
|
--destructive: oklch(0.5523 0.1927 32.7272);
|
|
--destructive-foreground: oklch(0.9934 0.0032 17.2118);
|
|
--border: oklch(0.9037 0 0);
|
|
--input: oklch(0.9731 0 0);
|
|
--ring: oklch(0.55 0.19 250);
|
|
--chart-1: oklch(0.55 0.19 250);
|
|
--chart-2: oklch(0.6231 0.1880 259.8145);
|
|
--chart-3: oklch(0.6056 0.2189 292.7172);
|
|
--chart-4: oklch(0.7686 0.1647 70.0804);
|
|
--chart-5: oklch(0.6959 0.1491 162.4796);
|
|
--sidebar: oklch(0.9911 0 0);
|
|
--sidebar-foreground: oklch(0.5452 0 0);
|
|
--sidebar-primary: oklch(0.55 0.19 250);
|
|
--sidebar-primary-foreground: oklch(0.98 0.01 250);
|
|
--sidebar-accent: oklch(0.9461 0 0);
|
|
--sidebar-accent-foreground: oklch(0.2435 0 0);
|
|
--sidebar-border: oklch(0.9037 0 0);
|
|
--sidebar-ring: oklch(0.55 0.19 250);
|
|
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
--font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
--font-mono: 'JetBrains Mono', monospace;
|
|
--radius: 0.5rem;
|
|
--shadow-x: 0px;
|
|
--shadow-y: 1px;
|
|
--shadow-blur: 3px;
|
|
--shadow-spread: 0px;
|
|
--shadow-opacity: 0.17;
|
|
--shadow-color: #000000;
|
|
--shadow-2xs: 0px 1px 3px 0px hsl(0 0% 0% / 0.09);
|
|
--shadow-xs: 0px 1px 3px 0px hsl(0 0% 0% / 0.09);
|
|
--shadow-sm: 0px 1px 3px 0px hsl(0 0% 0% / 0.17), 0px 1px 2px -1px hsl(0 0% 0% / 0.17);
|
|
--shadow: 0px 1px 3px 0px hsl(0 0% 0% / 0.17), 0px 1px 2px -1px hsl(0 0% 0% / 0.17);
|
|
--shadow-md: 0px 1px 3px 0px hsl(0 0% 0% / 0.17), 0px 2px 4px -1px hsl(0 0% 0% / 0.17);
|
|
--shadow-lg: 0px 1px 3px 0px hsl(0 0% 0% / 0.17), 0px 4px 6px -1px hsl(0 0% 0% / 0.17);
|
|
--shadow-xl: 0px 1px 3px 0px hsl(0 0% 0% / 0.17), 0px 8px 10px -1px hsl(0 0% 0% / 0.17);
|
|
--shadow-2xl: 0px 1px 3px 0px hsl(0 0% 0% / 0.43);
|
|
--tracking-normal: 0.025em;
|
|
--spacing: 0.25rem;
|
|
}
|
|
|
|
.dark {
|
|
--background: oklch(0.1822 0 0);
|
|
--foreground: oklch(0.9288 0.0126 255.5078);
|
|
--card: oklch(0.2046 0 0);
|
|
--card-foreground: oklch(0.9288 0.0126 255.5078);
|
|
--popover: oklch(0.2603 0 0);
|
|
--popover-foreground: oklch(0.7348 0 0);
|
|
--primary: oklch(0.60 0.17 250);
|
|
--primary-foreground: oklch(0.98 0.01 250);
|
|
--primary-gradient: linear-gradient(135deg, #0074d9 0%, #009296 100%);
|
|
--secondary: oklch(0.2603 0 0);
|
|
--secondary-foreground: oklch(0.9851 0 0);
|
|
--muted: oklch(0.2393 0 0);
|
|
--muted-foreground: oklch(0.7122 0 0);
|
|
--accent: oklch(0.3132 0 0);
|
|
--accent-foreground: oklch(0.9851 0 0);
|
|
--destructive: oklch(0.3123 0.0852 29.7877);
|
|
--destructive-foreground: oklch(0.9368 0.0045 34.3092);
|
|
--border: oklch(0.2809 0 0);
|
|
--input: oklch(0.2603 0 0);
|
|
--ring: oklch(0.60 0.17 250);
|
|
--chart-1: oklch(0.60 0.17 250);
|
|
--chart-2: oklch(0.7137 0.1434 254.6240);
|
|
--chart-3: oklch(0.7090 0.1592 293.5412);
|
|
--chart-4: oklch(0.8369 0.1644 84.4286);
|
|
--chart-5: oklch(0.7845 0.1325 181.9120);
|
|
--sidebar: oklch(0.1822 0 0);
|
|
--sidebar-foreground: oklch(0.6301 0 0);
|
|
--sidebar-primary: oklch(0.60 0.17 250);
|
|
--sidebar-primary-foreground: oklch(0.98 0.01 250);
|
|
--sidebar-accent: oklch(0.3132 0 0);
|
|
--sidebar-accent-foreground: oklch(0.9851 0 0);
|
|
--sidebar-border: oklch(0.2809 0 0);
|
|
--sidebar-ring: oklch(0.60 0.17 250);
|
|
}
|
|
|
|
@theme inline {
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--color-card: var(--card);
|
|
--color-card-foreground: var(--card-foreground);
|
|
--color-popover: var(--popover);
|
|
--color-popover-foreground: var(--popover-foreground);
|
|
--color-primary: var(--primary);
|
|
--color-primary-foreground: var(--primary-foreground);
|
|
--color-secondary: var(--secondary);
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
--color-muted: var(--muted);
|
|
--color-muted-foreground: var(--muted-foreground);
|
|
--color-accent: var(--accent);
|
|
--color-accent-foreground: var(--accent-foreground);
|
|
--color-destructive: var(--destructive);
|
|
--color-destructive-foreground: var(--destructive-foreground);
|
|
--color-border: var(--border);
|
|
--color-input: var(--input);
|
|
--color-ring: var(--ring);
|
|
--color-chart-1: var(--chart-1);
|
|
--color-chart-2: var(--chart-2);
|
|
--color-chart-3: var(--chart-3);
|
|
--color-chart-4: var(--chart-4);
|
|
--color-chart-5: var(--chart-5);
|
|
--color-sidebar: var(--sidebar);
|
|
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
--color-sidebar-primary: var(--sidebar-primary);
|
|
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
--color-sidebar-accent: var(--sidebar-accent);
|
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
--color-sidebar-border: var(--sidebar-border);
|
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
|
|
--font-sans: var(--font-sans);
|
|
--font-mono: var(--font-mono);
|
|
--font-heading: var(--font-heading);
|
|
|
|
--radius-sm: calc(var(--radius) - 4px);
|
|
--radius-md: calc(var(--radius) - 2px);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) + 4px);
|
|
|
|
--shadow-2xs: var(--shadow-2xs);
|
|
--shadow-xs: var(--shadow-xs);
|
|
--shadow-sm: var(--shadow-sm);
|
|
--shadow: var(--shadow);
|
|
--shadow-md: var(--shadow-md);
|
|
--shadow-lg: var(--shadow-lg);
|
|
--shadow-xl: var(--shadow-xl);
|
|
--shadow-2xl: var(--shadow-2xl);
|
|
|
|
--tracking-tighter: calc(var(--tracking-normal) - 0.05em);
|
|
--tracking-tight: calc(var(--tracking-normal) - 0.025em);
|
|
--tracking-normal: var(--tracking-normal);
|
|
--tracking-wide: calc(var(--tracking-normal) + 0.025em);
|
|
--tracking-wider: calc(var(--tracking-normal) + 0.05em);
|
|
--tracking-widest: calc(var(--tracking-normal) + 0.1em);
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-sans);
|
|
letter-spacing: var(--tracking-normal);
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: var(--font-heading);
|
|
font-weight: 600;
|
|
}
|
|
|
|
code, pre {
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
/* Gradient utilities */
|
|
.bg-primary-gradient {
|
|
background: var(--primary-gradient);
|
|
}
|
|
|
|
.border-primary-gradient {
|
|
border-image: var(--primary-gradient) 1;
|
|
}
|
|
|
|
.text-primary-gradient {
|
|
background: var(--primary-gradient);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
/* Fix datetime-local calendar icon visibility in both light and dark modes */
|
|
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
|
|
filter: invert(0.5);
|
|
}
|
|
|
|
.dark input[type="datetime-local"]::-webkit-calendar-picker-indicator {
|
|
filter: invert(1);
|
|
} |