Skip to content

Use Claude Code, Codex, VSCode, Pi, and OpenCode (and 6 other harnesses) for free (1.3B+ free tokens) from your terminal, app, IDE, or phone, and now from the browser with native browser sessions (multi-harness + multi-model) like OpenClaw (voice supported + ToS friendly)

Python

Updated doc string for server.py

Alishahryar1a40545b790a2
diff --git a/server.py b/server.py
index 9fa90205..3fa36b27 100644
--- a/server.py
+++ b/server.py
@@ -1,8 +1,13 @@
"""
-Anthropic API Proxy - Barebones NVIDIA NIM Implementation
-
-This server acts as a proxy between Anthropic API requests and NVIDIA NIM,
-using direct httpx calls without any external LLM libraries.
+Claude Code Proxy - NVIDIA NIM Implementation
+
+This server acts as a robust proxy between Anthropic API requests and NVIDIA NIM,
+enabling Claude Code CLI to utilize NIM models with full support for:
+- Streaming with SSE (Server-Sent Events)
+- Thinking/Reasoning blocks and Reasoning-Split mode
+- Native and heuristic tool use parsing
+- Automatic model mapping (Haiku/Sonnet/Opus to NIM equivalents)
+- Fast prefix detection for CLI policy specifications
"""
from fastapi import FastAPI, Request, HTTPException