Repository navigation
CustomChat 0.1.16
0.1.16 adds resizable settings columns and the private keys-only NewsNerd starter.
Workspace layout
- Drag either divider to resize navigation, settings, and the preview or prompt/code editor. Widths stay in this browser. Arrow keys adjust; Home or double-click resets. Minimum widths keep each column usable.
- Hide/show chat preview reclaims the space and remembers the choice. Prompt/code editors remain available.
- Styled scrollbars match the workspace and chat. Compact/mobile layouts retain their existing flow without resize handles.
Private custom source keys
- Sources and APIs now has private credential controls for native HTTP sources with declared header-to-environment mappings. Save/remove works without restarting or contacting the source; the field clears after saving and only presence is reported.
- Saved keys are bound to the source ID, environment label, and configured URL. Destination changes require a new saved key. Keys stay out of YAML, exports, prompts and status responses.
- Credential-bearing sources require HTTPS, reject redirects and fail before a request when a key is missing. Imported Python connector permissions are unchanged: bounded mode is NOT a security sandbox and does not receive API keys.
- HTTP article mapping handles a single author string and reports rejected or malformed responses instead of treating them as empty news.
NewsNerd starter
Attached newsnerd-ready-keys.zip contains the active native NewsAPI connector, gpt-4o-mini provider configuration, all nine filled prompt texts, two filled inert code-helper reference drafts, wording, light/dark colors, retrieval, memory and budgets. No real keys, private saved looks, test-question history or chats are included.
- Start CustomChat 0.1.16:
uvx --from customchat-app==0.1.16 customchat-app start - Configuration > Load and share Nerds: choose the attached ZIP, review, Load and run, then Edit NewsNerd Ready configuration.
- Model and key: save your OpenAI key. Sources and APIs > Custom source credentials: save your NewsAPI key.
- Open the imported app's Chat and ask short keywords such as
AI regulation.
This is configured for local development/testing, not production. NewsAPI Developer has a 24-hour delay and quota. Hosted OpenAI calls cost money when you ask questions. App question/model-call limits are not a dollar billing meter. Live news/model services were not called in verification; no correctness or live-key-validity claim is made. The preview conversation is a visual sample, not a generated news response.
Sources: https://newsapi.org/docs/authentication ; https://newsapi.org/docs/endpoints/everything ; https://newsapi.org/pricing ; https://developers.openai.com/api/docs/models/gpt-4o-mini
Verification
- Source suite: 498 tests, 498 passed, no skips.
- Fresh installed wheel: 498 tests, 496 passed, 2 optional-dependency skips.
- Wheel/sdist metadata checks and isolated install/demo/alias/conflict acceptance passed.
- Source and installed-wheel browser checks passed: both dividers, persistence, keyboard, preview hide/show, mobile flow, ZIP import, private source-key save/remove, prompt/code hydration, and no JavaScript errors. Desktop, mobile, preview-hidden, prompt/code, and key-control screenshots inspected.
- Only fake source/provider responses were used; no paid service calls.