| Security Measure | Description | |
|---|---|---|
| โ | Use HTTPS everywhere | Prevents basic eavesdropping and man-in-the-middle attacks |
| โ | Input validation and sanitization | Prevents XSS attacks by validating all user inputs |
| โ | Don't store sensitive data in the browser | No secrets in localStorage or client-side code |
| โ | CSRF protection | Implement anti-CSRF tokens for forms and state-changing requests |
| โ | Never expose API keys in frontend | API credentials should always remain server-side |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ | |
| โ โ OpenAI Codex (research preview) v0.1.2505172129 โ | |
| โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ | |
| โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ | |
| โ localhost session: b966636e1ecf42a59c8fef1192074e17 โ | |
| โ โณ workdir: ~/vic/dev/bend โ | |
| โ โณ model: o3 โ | |
| โ โณ provider: openai โ | |
| โ โณ approval: suggest โ | |
| โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import outlines | |
| from transformers import AutoTokenizer | |
| model_string = 'deepseek-ai/DeepSeek-R1-Distill-Qwen-7B' | |
| # model_string = 'deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B' # For small machines | |
| model = outlines.models.transformers( | |
| model_string, | |
| device='cuda', # also 'cpu', 'mps','auto' | |
| ) |