mirror of
https://github.com/Alishahryar1/free-claude-code.git
synced 2026-07-09 16:00:45 +00:00
Updated doc string for server.py
This commit is contained in:
parent
3f019e9269
commit
a40545b790
1 changed files with 8 additions and 3 deletions
11
server.py
11
server.py
|
|
@ -1,8 +1,13 @@
|
|||
"""
|
||||
Anthropic API Proxy - Barebones NVIDIA NIM Implementation
|
||||
Claude Code Proxy - 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.
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue