Commit graph

57 commits

Author SHA1 Message Date
15decd2ab6 Force UNCLOSEAI_LANGUAGE to override user setting and disable selector 2026-01-03 12:56:33 -05:00
f7adaa1d74 Fix UNCLOSEAI_LANGUAGE to return actual value not boolean 2026-01-03 12:53:10 -05:00
1912076b5b Add UNCLOSEAI_LANGUAGE config for embed default language 2026-01-03 12:43:37 -05:00
6e2ad4e196 Add echo only to LLM request, not stored chat history 2026-01-03 11:17:01 -05:00
cdada47eab Remove auto-focus on textarea when modal opens 2026-01-03 11:10:36 -05:00
e55d7d414c Fix echo to only use custom prompt, not full system message with page content 2026-01-01 12:24:50 -05:00
1ec196275f Fix token estimation: use 3 chars/token instead of 4 2026-01-01 12:22:11 -05:00
bd312f0979 Echo system prompt as final assistant message for attention reinforcement
- Add system prompt as last assistant message in chat history
- Support UNCLOSEAI_SYSTEM_PROMPT_REPLACE flag for custom prompts
- Use configured voice preference in page-reader TTS
- Disable code execution button (sandbox not running)
2026-01-01 12:14:24 -05:00
9730fff7f4 Remove redundant TTS Setup section 2025-12-02 15:53:12 -05:00
6590f9eb4c Remove non-existent Qwen Swagger docs link 2025-12-02 15:51:59 -05:00
3d8ee26a23 Fix duplicate TTS link in sidebar nav 2025-12-02 15:50:31 -05:00
e90ed3c14f Add model discovery docs and cross-link inference/TTS pages 2025-12-02 07:30:31 -05:00
eea1c51ce8 Add crawler page to navigation on all pages
- Add 'Our Crawler' link to left sidebar navigation after Text-to-Speech on all HTML pages
- Fix missing Text-to-Speech link in inference.html navigation
- Update Discord bot link in crawler.html to point to Git repo instead of domain
2025-11-27 13:03:58 -05:00
bfee917049 docs: Add ethical web crawler documentation page
Created /crawler.html page explaining:
- Our user agent (uncloseai.com/1.42)
- What we use the crawler for (research, Q&A, content aggregation)
- Ethical practices (robots.txt, crawl delays, caching, smart depth)
- How to block the crawler
- Link to Discord bot

Added crawler link to sidebar navigation in inference.html

This provides transparency for webmasters and explains our ethical
crawling practices in human-friendly terms.
2025-11-27 10:11:10 -05:00
baa0a1fd7c docs: Add tool calling flags for Hermes 3 vLLM setup
Add --enable-auto-tool-choice and --tool-call-parser hermes flags to the
vLLM server command. These flags are required for Hermes 3 to support
function calling via the OpenAI-compatible API.
2025-11-27 09:08:53 -05:00
911c4281da Fix Go code style and module import issues
- Remove redundant newlines in fmt.Println calls (go/http/uncloseai.go)
- Update Go version to 1.19 for compatibility across all modules
- Add go.mod for examples directory with proper module replacement
- Add go.mod for uncloseai library package
- Run go mod tidy to resolve openai SDK dependencies
2025-11-20 19:32:53 -05:00
063b2bf960 Fix code block buttons visibility by allowing vertical overflow on pre elements 2025-11-10 16:46:33 -05:00
4ff5740559 Revert inline styles approach - wrong solution 2025-11-10 16:43:41 -05:00
4de5b27700 Add defensive inline styles to code buttons for cross-site compatibility 2025-11-10 16:41:35 -05:00
8bc83789df Add CSS best practices to CLAUDE.md and fix button visibility with proper specificity instead of !important 2025-11-10 16:36:20 -05:00
117fee0d30 Force visibility of code execution buttons with defensive CSS and improved z-index 2025-11-10 16:33:59 -05:00
b40ff56b23 Match code execution output background to code block styling and remove debug logs 2025-11-10 16:07:50 -05:00
1803ed9030 Add debug logging to diagnose code block button visibility issue 2025-11-10 15:43:30 -05:00
df7b47bc61 Fix code block copy/run buttons not showing - remove conflicting CSS absolute positioning 2025-11-10 15:37:46 -05:00
0dcf1eb6e7 Fix code block buttons not rendering - correct duplicate detection class name 2025-11-10 15:34:56 -05:00
5426425e3a Add code execution sandbox support to uncloseai.js
Integrated code.ai.unturf.com code execution service into uncloseai.js modal:
- Added CODE_EXEC_URL to config.js
- Created code-execution.js module with executeCode() and result display
- Modified addCodeBlockCopyButtons() to add ▶ Run button next to 📋 Copy
- Auto-detects language from code block class (defaults to Python)
- Uses async job polling with exponential backoff
- Shows execution output, errors, and allows cancellation for long-running jobs
- Results displayed inline below code blocks with monospace formatting

Code blocks in AI responses now have both Copy and Run buttons.
2025-11-10 14:47:25 -05:00
9e5bc89d93 Remove TTS download button debugging logs
Download button functionality is now confirmed working - removed all debugging console logs.
2025-11-10 06:19:15 -05:00
b52776b6fd Add comprehensive TTS download button debugging logs
Added detailed console logging to help diagnose why download buttons don't appear after TTS generation. Logs include:
- TTS result object inspection
- Download button DOM query verification
- Display style changes before/after
- Computed style verification
- Error logging when button not found

This will help identify whether the issue is:
1. TTS not completing successfully
2. Download button not being found in DOM
3. Display style not being applied correctly
4. CSS overriding the display property
2025-11-10 06:11:44 -05:00
7459c08c1b Remove title casing from voice names - display as-is from API 2025-11-10 05:53:08 -05:00
d1749209a0 Fix voices API parsing - use correct data.data format with model.voices arrays 2025-11-10 05:51:20 -05:00
7a658f7bdf Remove fallback voices - fail properly if API doesn't respond 2025-11-10 05:48:18 -05:00
4e5ec776a8 Fix voice count display to show actual API voices not fallback count 2025-11-10 05:47:39 -05:00
c135bcd6c5 Refresh voices when clicking refresh models button 2025-11-10 05:43:47 -05:00
f3d825278a Add version-based cache invalidation for voice data
Users with old cached voice data need to see the new models (tts-1-silero,
tts-1-kokoro). Added a cache version system that automatically invalidates
old cache when we update the voice models.

Changes:
- Added cacheVersionKey to track cache format version
- Set currentVersion to '2' (increment when voice models change)
- Cache is invalidated if version doesn't match
- Old cache entries are cleaned up automatically
- Users will automatically fetch fresh voice data on next modal open
2025-11-10 04:07:53 -05:00
0db28f7984 Remove Quick Links section from text-to-speech page 2025-11-10 03:52:45 -05:00
3332f5d07e Update chat modal voice selection to use dynamic model:voice format with backward compatibility 2025-11-10 03:47:18 -05:00
190ae74625 Add curl example showing model parameter usage 2025-11-10 03:46:06 -05:00
d5088b6978 Introduce project as uncloseai-speech on text-to-speech page 2025-11-10 03:45:32 -05:00
6bd6a12f83 Make voice dropdown dynamic in Hermes modal 2025-11-10 03:43:11 -05:00
12b10b01cd Simplify text-to-speech page content
- Add /v1/models endpoint example with jq pretty printing
- Fix /v1/voices endpoint to use jq . for pretty printing
- Remove 'Learn ML By Doing' section, link to repo README instead
- Remove 'For Machine Learning Learners' section
- Remove 'Contribute Voices' section
- Remove 'Why AGPL v3' section
- Remove 'What's Next' roadmap section
- Remove MinIO infrastructure goals reference
2025-11-10 03:39:47 -05:00
91859d1807 Replace corporations with orgs in text-to-speech page 2025-11-10 03:34:21 -05:00
caeeb85c63 Add text-to-speech navigation link to all public pages
- Added text-to-speech link in navigation after Inference Setup link
- Updated inference.html TTS section to link to text-to-speech page
- Removed redundant openedai-speech references from inference page
- Applied changes to 18 public HTML pages for consistent navigation
2025-11-09 18:12:44 -05:00
bc70558961 Integrate dynamic voices API endpoint with model:voice selection and localStorage caching 2025-11-09 15:48:27 -05:00
caacc05e63 Change AI to machine learning in legal pages 2025-11-07 21:02:40 -05:00
b28e72d4de Remove issue tracker links from legal pages - private repo for devs only 2025-11-07 20:38:01 -05:00
49ca462431 Update privacy policy and terms of use pages
- Added uncloseai.js button to both legal pages
- Added all language examples to navbar navigation
- Removed email addresses (no support inbox)
- Updated "Your Rights" to "Data Rights" - clarifies we don't collect data
- Removed data request processes (nothing to request/delete)
- Updated third-party services section to clarify Remarkbox is part of unturf umbrella
- Changed "Contact Us" to "Questions" - explains we don't respond to policy inquiries
- Emphasizes open source code transparency over traditional support
2025-11-07 20:36:42 -05:00
5b4c27247f Add privacy policy, terms of use, and copyright notices to all pages
- Created privacy-policy.html with data collection transparency
- Created terms-of-use.html with service terms and liability limits
- Added copyright notice (© uncloseai. 2025) to all 18 HTML pages
- Added Privacy Policy and Terms of Use links to all footers
- Emphasizes IP logging for rate limiting only, not user tracking
- Notes console-only logging (stdout, no disk storage)
- Highlights HTTPS encryption for all communications
2025-11-07 19:17:01 -05:00
4c07f47f47 Changes to be committed:
modified:   public/uncloseai-js.html
2025-10-26 11:24:39 -04:00
71101019ab Fix Scheme implementation: Add GnuTLS support and fix model discovery
- Add guile-gnutls package to Dockerfile for HTTPS support
- Fix unbound variables by ensuring proper module imports (rnrs bytevectors, srfi srfi-43)
- Fix vector/list handling in model discovery with vector->list conversion
- All tests now pass: model discovery, non-streaming chat, and streaming chat work correctly
2025-10-24 20:41:24 -04:00
157078415c Fix Scheme Dockerfile to install guile-json module 2025-10-24 20:18:42 -04:00