Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions claude_mirror/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@ class Tool(BaseModel):
input_schema: Dict[str, Any]

class ThinkingConfig(BaseModel):
enabled: bool
enabled: Optional[bool] = None
budget_tokens: Optional[int] = None
type: Optional[str] = None

class MessagesRequest(BaseModel):
model: str
Expand Down Expand Up @@ -1110,4 +1112,4 @@ async def root():
sys.stdout.flush()

# Configure uvicorn to run with minimal logs
uvicorn.run(app, host="0.0.0.0", port=8082, log_level="error")
uvicorn.run(app, host="0.0.0.0", port=8082, log_level="error")