Skip to content

Add configurable SLEEP_TIME/REPORT_CYCLE_COUNT, AI_CONTEXT_SIZE, --te… - #18

Open
ashleigh-byte wants to merge 2 commits into
Role1776:mainfrom
ashleigh-byte:misc-config-additions
Open

Add configurable SLEEP_TIME/REPORT_CYCLE_COUNT, AI_CONTEXT_SIZE, --te…#18
ashleigh-byte wants to merge 2 commits into
Role1776:mainfrom
ashleigh-byte:misc-config-additions

Conversation

@ashleigh-byte

Copy link
Copy Markdown
Contributor
  • AI_CONTEXT_SIZE, configurable SLEEP_TIME/REPORT_CYCLE_COUNT, --test-ai, temperature bump to 0.9
  • SLEEP_TIME and REPORT_CYCLE_COUNT were previously hardcoded (1800s, 8 cycles); now configurable via env vars with the same defaults, so no behavior changes for anyone who doesn't set them.
  • Added optional AI_CONTEXT_SIZE, passed through to Ollama as num_ctx via extra_body. Local models' default context window (often 2048-4096 tokens) can silently truncate a long system prompt + a day of history, dropping persona/format instructions while keeping raw data -- this looks identical to a model-capability failure but isn't one. No-op on cloud OpenAI since it's only sent when explicitly configured.
  • Added --test-ai flag to force one detailed-report cycle immediately (AI + graph + notifier delivery), then auto-resume the normal schedule with nothing to remember to revert afterward.
  • Bumped AI temperature to 0.9 (previously left at the API default) for more personality in commentary, overridable per-call.

…st-ai, and bump AI temperature

- SLEEP_TIME and REPORT_CYCLE_COUNT were previously hardcoded (1800s,
  8 cycles); now configurable via env vars with the same defaults, so no
  behavior changes for anyone who doesn't set them.
- Added optional AI_CONTEXT_SIZE, passed through to Ollama as num_ctx via
  extra_body. Local models' default context window (often 2048-4096
  tokens) can silently truncate a long system prompt + a day of history,
  dropping persona/format instructions while keeping raw data -- this
  looks identical to a model-capability failure but isn't one. No-op on
  cloud OpenAI since it's only sent when explicitly configured.
- Added --test-ai flag to force one detailed-report cycle immediately
  (AI + graph + notifier delivery), then auto-resume the normal schedule
  with nothing to remember to revert afterward.
- Bumped AI temperature to 0.9 (previously left at the API default) for
  more personality in commentary, overridable per-call.
… and --test-ai

Updates the Features & Workflow wording (no longer implies these are
hardcoded), adds the three new env vars to the .env variables table,
and documents the --test-ai flag for forcing an immediate detailed
report during setup/testing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant