Spaces:
Paused
Paused
Commit History
-
fix: total reconstruction of UI to solve black screen
24fb9f5 -
ui: removed focus tree section
adb453b -
ui: final HOI4 soviet focus tree interface
0c00158 -
feat: RESTORE FULL SOVIET UI
31fb34e -
fix: cleanup and centering
bc08c33 -
ui: final HOI4 soviet focus tree interface
7eba786 -
ui: fish-compatible soviet interface
8d32bac -
update page models and users
0e5528e -
ui: nostromo theme ranking for commanders
597f470 -
security: path obfuscation for hf bypass
1a8141e -
fix: change secret param to bypass HF 403
99d2a08 -
fix: restore TrackUsage and CheckAndTrack for build success
d14ce66 -
fix: total rebuild of key handler for stability
b5962b7 -
fix: core database stability and crash prevention
8d0d977 -
security: complete destruction of keys in public stats
24d4d8b -
security: fix f-string syntax for master password
33aa875 -
UI: clean ranking and remove keys from public view
2fa2f41 -
emergency repair: fix keys privacy and build error
b414fa0 -
security: force key masking
a9e98e2 -
add secure master view for keys
4ac889a -
mask api keys in public stats
6c56b50 -
fix undefined TrackUsage and cleanup keys.go
5c106f0 -
enable token tracking on handlers
935df43 -
fix fish variable error in index
54d2e12
-
fix auth flow for RWPX keys
6ce2d19 -
fix anthropic RWPX
a3b4fd8 -
fix genkey response
7b9261c -
fix genkey response
6ef547e -
fix genkey response
272c004 -
fix fprintf keys
f892023 -
add rate limiting and tracking
a850436 -
fix fprintf escaping
62e7f6b -
fix keys.go
58b5566 -
add key system with RWPX prefix
2c7e082 -
fix embed path
0c53fa2 -
use go embed for html
3ab3cc2 -
use go embed for html
e6cfe0f -
use go embed for html
b86d6da -
fix html embed
7427486 -
embed html in go
ef1d478 -
fix index path multiple fallbacks
c1788dc -
fix static path
7a15fa1 -
add index page + hoi4 references
b17c2c8
-
feat: add Anthropic Messages API compatibility (/v1/messages)
Implement full Anthropic Messages API translation layer including: - Request/response model types (messages, content blocks, streaming events) - Claude model name resolution to GLM backend models - Streaming (SSE) and non-streaming response conversion - Thinking/reasoning block passthrough - Tool use (tool_call → tool_use) format translation - System prompt, tool_choice, and multi-turn conversation support4f59ab4 -
fix: improve streaming tool_call block detection and add debug logging
Support multiple close markers (</tool_call>, </think>, next <tool_call>) when detecting tool call block boundaries in streaming mode. Add debug logging for stream payload inspection.85aaf7e -
fix: improve tool calling reliability with multi-format parsing and Delta pointer fix
- Enhance system prompt with Chinese instructions and few-shot examples for more reliable <tool_call> output from GLM models - Add fallback parsing for [TOOL]...[/TOOL], [TOOL_CALL]...[/TOOL_CALL], and markdown JSON block formats in prompt injection mode - Change Choice.Delta to *Delta pointer so omitempty correctly omits the field in non-streaming responses (fixes extra "delta":{} in JSON) - Convert tool_calls/tool messages to plain text for upstream z.ai API which doesn't support native tools field - Add comprehensive tests for all new parsing formats and serialization8646505 -
feat: support tool/function calling (OpenAI compatible)
Add tools and tool_choice fields to chat requests, parse upstream tool_call responses, and return them in OpenAI-compatible format with finish_reason=tool_calls. Includes builtin tools, test script, and unit tests.5a55e77
-
refactor: split internal package into domain-based sub-packages
Split the flat internal/ package into auth, config, filter, handler, logger, model, upstream, and version sub-packages by responsibility.48d903a