Spaces:
Sleeping
Sleeping
Commit History
-
feat: add support for custom OpenAI-compatible endpoints in config UI
Hermes BotUnverified signature5941741 -
fix: target api.huggingface.co instead of api-inference to bypass DNS blocks
Hermes BotUnverified signature445e1fc -
fix: use httpx.Client(trust_env=True) to route through Space environment proxies
Hermes BotUnverified signature167678e -
fix: target huggingface.co domain for serverless API to bypass DNS blocks
Hermes BotUnverified signature1f55836 -
fix: pass user overrides token and model to inference_generate
Hermes BotUnverified signature1a5d3d0 -
fix: switch to native text_generation for free serverless API
Hermes BotUnverified signatureBy using text_generation instead of chat_completion, we bypass the paid router.huggingface.co endpoint entirely and query the free serverless model endpoint directly via a plain dialogue prompt.2a059de -
fix: resolve base_url and model conflict in InferenceClient
Hermes BotUnverified signatureOmit the model parameter from the constructor and pass the direct model-specific serverless API endpoint as base_url. This forces the use of the free serverless Inference API and resolves the conflict.f42c3c8 -
fix: route chat completions to free serverless Inference API
Hermes BotUnverified signatureBy default, recent huggingface_hub versions route InferenceClient.chat_completion() to router.huggingface.co, which requires paid providers. Explicitly passing base_url='https://api-inference.huggingface.co' forces it to use the free serverless inference endpoint.f438be9 -
fix: lock default model to Qwen/Qwen2.5-1.5B-Instruct
Hermes BotUnverified signatureRouter rejects newer models on this account; keep working free-tier default. Users can override via /api/config modal if they have access to other models.46f8d38 -
fix: revert default model to Qwen/Qwen2.5-1.5B-Instruct
Hermes BotUnverified signatureQwen 2.5 7B requires paid Inference Providers on this account. Revert to 1.5B free-tier model; users can override via config modal.780d3c3 -
fix: switch default model to Qwen/Qwen2.5-7B-Instruct
Hermes BotUnverified signature- Gemma 2 9B unsupported by HF Inference router - Qwen 2.5 7B is supported and strong for storytelling46f4d3a -
feat: upgrade to google/gemma-2-9b-it
Hermes BotUnverified signature- 9B parameter model for better storytelling quality - Still under 32B constraint - 3-call generation: story + choices + health commentaryb58e783 -
feat: LLM-driven infinite adventure loop
Hermes BotUnverified signature- Single generate_llm_turn() call produces story + choices + health delta - Infinite gameplay until health <= 0, no fixed step cap - Procedural fallback preserved during cooldown/failure140c4d5