opencompletion.com/templates
Russell 45f183df37
Add AI-powered artifact filename generation (#39)
* Add AI-powered artifact naming for compiled binaries

Implements intelligent filename generation for downloaded binaries using
Hermes AI to analyze code and generate meaningful 1-3 word filenames.

Changes:
- Add /api/generate-artifact-name endpoint that uses MODEL_1 (Hermes)
- Modify frontend to call naming API before download
- Add ENABLE_AI_ARTIFACT_NAMING environment variable (enabled by default)
- Filenames are descriptive (e.g., "fizzbuzz", "hello-world", "prime-checker")
- Graceful fallback to "compiled_binary" if naming fails or is disabled

The feature can be disabled by setting ENABLE_AI_ARTIFACT_NAMING="false"
in environment variables.

* Rename env var to ENABLE_CODE_GEN_FILENAMES

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-11 17:43:52 -05:00
..
base.html Refactor CSS from inline to external stylesheet 2025-11-08 18:41:56 +00:00
chat.html Add AI-powered artifact filename generation (#39) 2025-11-11 17:43:52 -05:00
index.html Enhance user experience with multiple improvements 2025-08-11 16:01:51 -04:00
search.html remove username and snippet from SERP page 2024-07-04 12:04:46 -04:00