Commit graph

10 commits

Author SHA1 Message Date
google-labs-jules[bot]
857d14e64c I've enhanced logging, transformed thinking tags, and cleaned comments.
- I implemented universal logging for all API providers in src/models/, ensuring calls to logger.js for text and vision logs.
- I added transformation of <thinking>...</thinking> tags to <think>...</think> in all provider responses before logging, for correct categorization by logger.js.
- I standardized the input to logger.js's log() function to be a JSON string of the message history (system prompt + turns).
- I removed unnecessary comments from most API provider files, settings.js, and prompter.js to improve readability.

Note: I encountered some issues that prevented final comment cleanup for qwen.js, vllm.js, and logger.js. Their core logging functionality and tag transformations (for qwen.js and vllm.js) are in place from previous steps.
2025-06-07 20:47:26 +00:00
google-labs-jules[bot]
62bcb1950c I've integrated universal logging and applied some refactors.
I implemented comprehensive logging across all API providers in src/models/ using logger.js.
This includes:
- Adding log() and logVision() calls to each provider (Claude, DeepSeek, Gemini, GLHF, GPT, Grok, Groq, HuggingFace, Hyperbolic, Local, Mistral, Novita, Qwen, Replicate, VLLM).
- Ensuring logging respects 'log_normal_data', 'log_reasoning_data', and 'log_vision_data' flags in settings.js, which I added.
- I deprecated 'log_all_prompts' in settings.js and updated prompter.js accordingly.

I refactored openrouter.js and prompter.js:
- I removed the experimental reasoning prompt functionality ($REASONING) from openrouter.js.
- I removed a previously implemented (and then reverted) personality injection feature ($PERSONALITY) from prompter.js, openrouter.js, and profile files.

I had to work around some issues:
- I replaced the full file content for glhf.js and hyperbolic.js due to persistent errors with applying changes.

Something I still need to do:
- Based on your latest feedback, model responses containing <thinking>...</thinking> tags need to be transformed to <think>...</think> tags before being passed to logger.js to ensure they are categorized into reasoning_logs.csv. This change is not included in this update.
2025-06-07 10:18:04 +00:00
Sweaterdog
37417fcb92
Update huggingface.js
Fixed thinking tag checks for Huggingface API
2025-02-28 12:48:22 -08:00
Sweaterdog
8a1a8ce370
Update huggingface.js 2025-02-11 21:20:28 -08:00
Sweaterdog
359c7e825c
Add files via upload 2025-02-08 22:41:07 -08:00
Sweaterdog
d3ad70da6c
Delete src directory 2025-02-08 22:38:37 -08:00
Sweaterdog
342ef1b473
Add files via upload 2025-02-08 22:30:36 -08:00
Sweaterdog
c78dba7776
Update huggingface.js
Added Deepseek-R1 support, such as the qwen2.5 32b distill
2025-01-27 16:15:12 -08:00
MaxRobinsonTheGreat
09dcb82e20 cleanup 2024-10-20 11:53:18 -05:00
nij
5765fe6270 Simple hugging face support in 30 minutes lmao 2024-10-07 22:00:49 +07:00