Spaces:
Sleeping
Sleeping
Commit History
-
Route hosted reasoning through NVIDIA NIM
The Space already used an OpenAI-compatible chat client, so NVIDIA support can stay inside the provider resolver instead of adding a separate API path. This adds the hosted NIM defaults for openai/gpt-oss-20b, reads NVIDIA_API_KEY, exposes the provider in the Gradio UI, and documents the required Space variables. Constraint: NVIDIA NIM exposes openai/gpt-oss-20b at https://integrate.api.nvidia.com/v1/chat/completions Constraint: NVIDIA documents temperature for this endpoint as 0.0 through 1.0 Rejected: Use generic openai provider plus LLM_BASE_URL only | works but hides provider-specific key/defaults from the UI and docs Confidence: high Scope-risk: narrow Directive: Keep provider additions in src.standard.llm_client unless the API stops being OpenAI-compatible Tested: pytest Tested: python3 -m py_compile app.py src/standard/llm_client.py Tested: env LLM_PROVIDER=nvidia NVIDIA_API_KEY=nvapi-test LLM_TEMPERATURE=1.0 config resolutionf335e22 -
Ship the Space update through Hub binary storage
The Hub rejected the previous revision because presentation PNGs were committed as raw Git blobs. Track PNG files through the existing LFS/Xet pointer workflow so Git Xet can upload the binary content while the Git commit stays lightweight. Constraint: Hugging Face rejects binary blobs in Git pushes and requires Xet-backed storage for these files Rejected: Remove the presentation images | the Space documentation references them and the remote accepts them when tracked as pointers Confidence: high Scope-risk: narrow Directive: Keep binary presentation assets covered by .gitattributes before committing new image updates Tested: git lfs ls-files shows all six PNG assets tracked Tested: git cat-file on a staged PNG shows a Git LFS pointer instead of raw PNG bytes Not-tested: Remote push after amending, pending next verification stepc0b1b71