Spaces:
Runtime error
Runtime error
Commit History
-
Refactor token parameters to standardize naming across models and generation settings
dd2acb7
-
HuggingChat 2026 (#1875)
Unverified signature* refactor: remove tokenizer-related functionality and dependencies - Removed tokenizer dependencies from package.json. - Deleted TokensCounter component and its usages across the application. - Updated model configurations to exclude tokenizer properties. - Refactored model processing logic to support only OpenAI-compatible endpoints. - Adjusted API responses to omit tokenizer information. - Cleaned up related utility functions and imports. * Remove web search functionality and related components - Deleted endpoints for various web search APIs (serpApi, serpStack, serper, webLocal, youApi). - Removed generateQuery function and its usage in search. - Eliminated web search related types and interfaces from the codebase. - Updated Assistant and Conversation types to remove references to web search and embedding models. - Cleaned up related utility functions and message updates for web search. - Adjusted API routes and components to reflect the removal of web search features. - Updated…7bf1507
-
feat(reasoning): support end token search across multiple chunks (#1838)
Unverified signature* feat(huggingchat): model update 27-05-25 * feat: update prompt examples in config * feat: revert model config changes6cd421f
-
fix: remove redundant status update in streaming
7da664f
-
fix: stop button working properly
260c3b7
-
feat: allow storing env variable in DB (#1802)
Unverified signature* feat(config): wip, make config controllable from DB, public side for now * fix: build * feat(config): add config manager env var toggle * wip: make backend config use config manager * fix: typechecks * fix: circular import * refactor: init hook sveltekit * fix: disable config manager during tests * refactor: use enum for semaphore, move delete from auto after 60s to separate `deleteAt` field * feat: config manager checks for updates on requests * fix: config script exit * fix: remove top-level awaits * fix: script await * feat: filter config keys based on public environment variables for more security * fix: change import to type for public environment variables48059af
-
Enable/Disable reasoning summary using .env (#1760)
Unverified signature* enable/disable reasoning summary using .env * refactor: rename env variable and move readme section to reasoning part. --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>09dfa5f
-
fix: move FinalAnswer outside of reasoning processing blocks (#1717)
brians1196 +1: bstieber
Unverified signatureCo-authored-by: BRIAN M. STIEBER <bstieber@toyon.com>f0ab567
-
fix: handle no beginToken for token based reasoning models (#1713)
Unverified signature* refactor: remove debug console log in updateLocalEnv script * fix: handle no beginToken for token-based reasoning modelsa68038a
-
feat: add `deepseek-ai/DeepSeek-R1-Distill-Qwen-32B` to HuggingChat config (#1660)
Unverified signature* feat: add `deepseek-ai/DeepSeek-R1-Distill-Qwen-32B` to HuggingChat config * feat: hide reasoning modal when its empty * fix: put r1 model higher in lista38e9de
-
Anthropic Tool Support (#1594)
evalstate +1: nsarrazin Unverified signature* support anthropic PDF beta * upstream merge, remove commented out console log line * Fixing type errors. the anthropic API does not yet include a "DocumentBlock" for support PDFs, so an extended type has been added to the endpoint. * changed document processor to async (matching image processor) * use the beta api types rather than custom extension * rudimentary tool testing * interim commit (tool re-passing, file handling) * remove merge error * tidy up, isolate beta classes to utils * anthropic tool calling support. * improve handling of directlyAnswer tool * fix streaming * slight tidy up to tools flow handling * fix: dont pass tools in final generation, instead deduce tools from tool results --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>69d5a1c
-
fix: catch errors more gracefully in reasoning specific calls
c024800
-
fix: summary prompt
66897e4 -
feat: UI for advanced reasoning models (#1605)
Unverified signature* feat: add a reasoning dropdown for CoT models * feat: add status updates * fix: various cleanups - pass content & status to result dropdown - dont store streaming updates in db - make status generation non blocking * fix: make sure not to push reasoning token stream to db * feat: add time indicator and make the ui match websearch * fix: change in status update & promptbf75aa7
-
[feat] Add support for endpoint web sources (#1544)
goupilew +1: nsarrazin Unverified signature* [feat] Add support for endpoint web sources * chores: lint --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>eabf2bf
-
feat(endpoints): Add conv ID to headers passed to TGI (#1511)
Unverified signature791e118
-
fix: multimodal on TGI endpoint type (#1491)
Unverified signaturebd01335
-
Function calling (#996)
Unverified signature* Initial work on function calling * wip * Add websearch as a tool * lint * smol * Move tools to their own files * directly answer check * Add text2img tool * group tool calls together * show retry even if no message * fix trailing urls * Add image popup * format * wip * clean-up * better loading indicator * text colors * extra example to summarize * switch default model * Add fetchUrl tool * wip * Add latest gradio * fix types * version bump sharp * Basic tools menu * working menu * fix menu positioning * deps fix * add deps * cleanup * more cleanup * cleanup * package cleanups * moar cleanup * ui update * Update ChatMessage.svelte * upgrade gradio dep * lint * refactor and pass results to cohere * feat: code interpreter tool * fix: add e2b dependency * feat: working TGI endpoint with tool results * feat: allow image model to expand to 90dvw * fix: dont block on title gen * bump sharp * misc cleanup * fix url fetcher, adjust tool typing *…564e576