Commit graph

761 commits

Author SHA1 Message Date
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
b41c10d2e6 modified: .gitignore
deleted:    add_remote_url_keys.js
	deleted:    build-all.log
	deleted:    modal_tests.js
	deleted:    simple_tests.js
	deleted:    uncloseai.js.orig
2025-10-26 11:29:52 -04: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
390e028769 Fix Common Lisp to handle both vector and list responses from /models API 2025-10-24 14:27:38 -04:00
9aa834852c Update Makefile.languages paths and add commonlisp/scheme targets, fix Common Lisp timeout slot name conflict 2025-10-24 14:24:16 -04:00
dad7943c54 Consolidate Scheme and Common Lisp into single uncloseai files with environment-based discovery 2025-10-24 14:03:01 -04:00
c67d1b13da Remove committed MP3 files and update gitignore to exclude audio files 2025-10-24 13:45:00 -04:00
39f47da6f3 Remove legacy HTML documentation files from languages directory 2025-10-24 13:41:37 -04:00
845e747d1c Update links to /languages and add brief READMEs to all language directories 2025-10-24 13:36:27 -04:00
38545721a0 Reorganize project structure: move public files to public/ directory 2025-10-24 13:23:42 -04:00
8de043bfef modified: src/config.js 2025-10-22 19:44:37 -04:00
45ccee4b71 modified: languages/awk/Dockerfile
modified:   languages/c/curl/Dockerfile
	modified:   languages/c/libsoup/Dockerfile
	modified:   languages/c/nghttp2/Dockerfile
	modified:   languages/c/nghttp2/uncloseai.c
	modified:   languages/cpp/boost-beast/Dockerfile
	modified:   languages/cpp/cpp-httplib/Dockerfile
	modified:   languages/cpp/libcurl/Dockerfile
	modified:   languages/csharp/openai/Dockerfile
	modified:   languages/go/http/Dockerfile
	modified:   languages/go/openai/Dockerfile
	modified:   languages/lua/Dockerfile
	modified:   languages/ruby/openai/Dockerfile
	modified:   languages/vbnet/Dockerfile
2025-10-17 09:02:19 -04:00
fc4b021b7f fix elixir httpoison SSE parsing (String.replace_prefix), document openai_ex streaming blocks for full response 2025-10-15 20:16:33 -04:00
b5bead65cb modified: csharp-examples.html
modified:   elixir-examples.html
	modified:   go-examples.html
	modified:   java-examples.html
	modified:   nodejs-examples.html
	modified:   python-examples.html
	modified:   ruby-examples.html
2025-10-15 20:06:05 -04:00
7fc375a598 disable elixir streaming - not compatible with vLLM endpoints in openai_ex 0.9.18 (returns full response instead of SSE chunks) 2025-10-15 19:43:23 -04:00
c30b3af2de fix elixir openai_ex 0.9.18 API: use Chat.Completions module and string keys for response parsing 2025-10-15 19:31:53 -04:00
b4148cbaf6 update elixir openai_ex to 0.9.18 (latest, published Oct 12 2025) 2025-10-15 19:21:38 -04:00
60b61b5a7e fix build failures: haskell streaming with withResponse, java-openai 4.3.0 with proper API, go-openai fixes, mojo real container 2025-10-15 18:09:13 -04:00
d5c443fbdb fix rust Dockerfile (remove unused binary copy) and create mojo using python:3.13-alpine with Python equivalents 2025-10-15 17:16:06 -04:00
e765dadd34 fix java-openai: use baseUrl instead of baseURL, call .stream() on StreamResponse, skip TTS (not in SDK 0.8.1) 2025-10-15 17:09:47 -04:00
c6a09db0eb fix build failures: D consolidation, csharp-openai ApiKeyCredential, go-http/go-openai, haskell imports 2025-10-15 17:06:33 -04:00
323294dd57 consolidate D language into single uncloseai.d file matching other languages 2025-10-15 16:56:43 -04:00
6318db3d1f fix Docker builds: go-http missing files, go-openai go.sum, csharp-openai SDK API, D language JSONValue syntax 2025-10-15 16:53:15 -04:00
381bd5f739 update all OpenAI SDK implementations to use environment variables MODEL_ENDPOINT_1, MODEL_ENDPOINT_2, TTS_ENDPOINT_1 with dynamic model discovery 2025-10-15 16:18:05 -04:00