Study/.env.example
Elijah f0aabe4d5d
All checks were successful
Verify and publish V2 container / build-and-push (push) Successful in 1m2s
First revision: DeepSeek, numeric questions, background assistant, UI fixes
Providers and pricing
- Add a DeepSeek provider: thinking mode with low/high/max effort, reasoning_content
  replayed between tool steps, cache-hit usage, /models discovery and catalog prices.
- Fix "does not support tool calling": a rejected forced tool_choice (DeepSeek thinking
  mode) now asks for the call in the prompt; only a genuine no-tools 400 is "unsupported".
- Seven reasoning-effort levels (Off to Max) mapped per adapter.
- Cached-input price per model, cache-write and DeepSeek off-peak aware cost estimates.
- Built-in bge-small embedding model (transformers.js) as the semantic search default.

Quizzes
- Numeric (type-the-answer) questions: units ignored, optional ± tolerance; editor,
  runner, importer, templates and generation prompts.
- Quiz start screen instead of showing answers; navigator ring no longer clipped and
  key legend removed; clock only for timed exams; 7-point letter grades.

Assistant and generation
- Assistant turns run on the server independently of the browser, with re-attach and
  an explicit stop; drafts tray shows generations in progress.
- Per-chat model switcher, @-tagging of class materials, full-width assistant page and
  a smaller assistant button.
- Editable generation instructions and built-in presets, separate from the chatbot
  import instructions.

Other
- Dialog footer padding, keyboard hints removed, copy buttons work over plain HTTP,
  class and folder shares include documents.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 12:48:17 -07:00

40 lines
1.5 KiB
Text

# Study Desk configuration. Every value is optional.
# In Docker, set these as container environment variables instead of using this file.
# Where the database, uploads and backups live. Default: /data in the container, ./data otherwise.
# DATA_DIR=/data
# Port and bind address.
# PORT=3726
# HOST=0.0.0.0
# First-run administrator password. If unset, the first visit shows a setup screen that asks
# for the one-time code printed in the log (also written to DATA_DIR/setup-code.txt).
# ADMIN_PASSWORD=
# Forgot the password? Set this, restart once, sign in, then remove it again.
# RESET_ADMIN_PASSWORD=
# Secret used to encrypt AI provider API keys at rest. If unset, a random key is generated and
# stored in DATA_DIR/secret.key. Set it explicitly if you want the key kept outside the data folder.
# APP_SECRET=
# Cookie "Secure" flag: auto (default: on whenever the request arrived over HTTPS), true or false.
# COOKIE_SECURE=auto
# Trust X-Forwarded-* headers from a reverse proxy (default true). Set false if the container
# is exposed directly to the internet without a proxy.
# TRUST_PROXY=true
# Largest upload accepted, in megabytes.
# MAX_UPLOAD_MB=100
# Number of automatic daily database snapshots to keep.
# BACKUP_KEEP=7
# Use the built-in embedding model for semantic search until another is chosen (default on).
# The model (~35 MB) is downloaded once into DATA_DIR/models.
# LOCAL_EMBEDDINGS=on
# Timezone used for "today", streaks and due dates until you change it in Settings.
# TZ=America/Phoenix