Repository navigation
ui: move get_datetime tool to frontend - #27255
Conversation
|
Two smaller things: the persisted key moves from |
|
I'm testing this PR on top of the one that was merged, since I didn't have time to review the other one |
strftime() and gmtime_r() were the only users, both went away with the get_datetime tool. Also make the renderer's catch inert: the browser executor always emits JSON, so a non-JSON result is no longer a date to display.
|
LGTM, there was just one tiny unused code nit |
* origin/master: (86 commits) ui: enforce alphabetical enum member ordering (ggml-org#27272) ui: Refactor Built-In Tools naming (Server/Browser) (ggml-org#27271) ci: more optimizations (ggml-org#26983) doc: document MCP stdio servers and CORS defaults in the server README [no release] [no ci] (ggml-org#26847) server: save processed mtmd chunks as placeholder (ggml-org#27278) mtmd: use sha256 for input hashing (ggml-org#27274) vocab : support integer tokenizer scores (ggml-org#27260) mtmd : skip thumbnail for non-tiled LFM2 images (ggml-org#27246) cuda : skip UMA override for HIP builds (ggml-org#27083) vendor: move hash to vendor (ggml-org#27262) ci : push release tag explicitly in release.yml (ggml-org#27261) ui: move get_datetime tool to frontend (ggml-org#27255) ci : reduce builds in build-xcframework.sh (ggml-org#27252) model: support speculators-format checkpoints for DSpark (ggml-org#26275) ui: add browser get_info tool (ggml-org#27251) ci : restore release.yml check during make-release.yml (ggml-org#27247) mtmd: harden preprocessor_granite (ggml-org#27235) ci : allow make-release to target a specific commit (ggml-org#27234) ci : make release workflows use a deploy key (ggml-org#27229) convert: add @ModelBase.example (ggml-org#27208) ...
* ui: move get_datetime tool to frontend * clarify docs * server: drop the now unused ctime include strftime() and gmtime_r() were the only users, both went away with the get_datetime tool. Also make the renderer's catch inert: the browser executor always emits JSON, so a non-JSON result is no longer a date to display. --------- Co-authored-by: Pascal <[email protected]>
Pins ghcr.io/ggml-org/llama.cpp server images to b10573 for all four variants. Upstream publishes server images for only a small, irregular subset of its per-commit releases, so the pin is the newest build GHCR actually has, confirmed for generic, cuda, rocm and vulkan. Every flag the package passes (-hf, -hff, -c, -ngl, --host, --port) is still defined in common/arg.cpp at b10573, so the presets need no change. start-sdk is already at 2.0.9, the current npm latest. The release notes warn that upstream removed the server-side get_datetime tool (ggml-org/llama.cpp#27255). llama-server exits non-zero when --tools names an unknown tool, so a user who listed it in Set Model's extra arguments would otherwise hit a service that will not start.
* ui: move get_datetime tool to frontend * clarify docs * server: drop the now unused ctime include strftime() and gmtime_r() were the only users, both went away with the get_datetime tool. Also make the renderer's catch inert: the browser executor always emits JSON, so a non-JSON result is no longer a date to display. --------- Co-authored-by: Pascal <[email protected]>
* ui: move get_datetime tool to frontend * clarify docs * server: drop the now unused ctime include strftime() and gmtime_r() were the only users, both went away with the get_datetime tool. Also make the renderer's catch inert: the browser executor always emits JSON, so a non-JSON result is no longer a date to display. --------- Co-authored-by: Pascal <[email protected]>
Overview
Keep the array of server tool minimal and i/o only
Requirements