Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Alishahryar1/free-claude-code
/ functions
Functions
3,538 in github.com/Alishahryar1/free-claude-code
⨍
Functions
3,538
◇
Types & classes
344
↳
Endpoints
62
↓ 1 callers
Function
_normalize_max_completion_tokens
(body: dict[str, Any])
providers/transports/openai_chat/request_policy.py:100
↓ 1 callers
Function
_normalize_system_prompt_for_openrouter
Flatten Claude SDK system blocks for OpenRouter's native endpoint.
core/anthropic/native_messages_request.py:188
↓ 1 callers
Function
_normalize_tool_result_content
(messages: Any)
providers/deepseek/compat.py:370
↓ 1 callers
Method
_notify_node_started
Invoke node started callback if set.
messaging/trees/processor.py:59
↓ 1 callers
Method
_on_start_command
( self, update: Update, context: ContextTypes.DEFAULT_TYPE )
messaging/platforms/telegram.py:198
↓ 1 callers
Function
_openai_auth_headers
(smoke_config: SmokeConfig)
smoke/product/test_provider_product_live.py:559
↓ 1 callers
Method
_openai_error_message
(self, error: Exception, request_id: str | None)
providers/transports/openai_chat/transport.py:133
↓ 1 callers
Function
_openai_reject_native_only_top_level_fields
OpenAI chat providers may only convert known top-level request fields. First-class model fields (e.g. ``context_management``) are not forwarded t
core/anthropic/conversion.py:28
↓ 1 callers
Function
_origin_is_local
(origin: str | None)
api/admin_routes.py:55
↓ 1 callers
Function
_overlapping_text_stream
()
tests/core/openai_responses/test_sse.py:636
↓ 1 callers
Function
_overlapping_text_tool_stream
()
tests/core/openai_responses/test_sse.py:573
↓ 1 callers
Method
_parse_inside_think
Parse content inside think tags.
core/anthropic/thinking.py:101
↓ 1 callers
Method
_parse_mode
(self)
messaging/workflow.py:92
↓ 1 callers
Method
_parse_outside_think
Parse content outside think tags.
core/anthropic/thinking.py:58
↓ 1 callers
Function
_parse_targets
(raw: str | None)
smoke/lib/config.py:282
↓ 1 callers
Function
_path_without_uv
(prefix: Path)
tests/scripts/test_uninstallers.py:57
↓ 1 callers
Function
_port_for_url
(parsed)
api/web_tools/egress.py:31
↓ 1 callers
Method
_process_node_impl
Internal implementation of process_node with context bound.
messaging/node_runner.py:86
↓ 1 callers
Function
_provider_error_category
(mapped: Exception)
providers/error_mapping.py:164
↓ 1 callers
Function
_provider_smoke_model
(provider: str)
smoke/lib/config.py:291
↓ 1 callers
Function
_provider_smoke_thinking_enabled
( smoke_config: SmokeConfig, provider_model: ProviderModel )
smoke/product/test_provider_product_live.py:241
↓ 1 callers
Function
_proxy_field_specs
()
api/admin_config/provider_manifest.py:142
↓ 1 callers
Method
_publish_state
(self)
api/runtime.py:308
↓ 1 callers
Method
_raise_for_status
Raise for non-200 responses after attaching safe error metadata.
providers/transports/anthropic_messages/transport.py:149
↓ 1 callers
Function
_read_aiohttp_body_capped
( response: aiohttp.ClientResponse, max_bytes: int )
api/web_tools/outbound.py:157
↓ 1 callers
Function
_reasoning_output_item
( state: ReasoningBlockState, *, status: str )
core/openai_responses/streaming/completion.py:153
↓ 1 callers
Method
_record_tool_call_extra_content
( self, tool_call_id: str, extra_content: dict[str, Any] )
providers/gemini/client.py:34
↓ 1 callers
Function
_redact_sensitive_substrings
Remove obvious API tokens and secrets before JSON log line emission.
config/logging_config.py:44
↓ 1 callers
Method
_reject_unsupported_server_tools
(self, routed: RoutedMessagesRequest)
api/handlers/messages.py:93
↓ 1 callers
Function
_remove_deepseek_thinking_hints
(data: dict[str, Any])
providers/deepseek/compat.py:331
↓ 1 callers
Function
_render_ctx
()
tests/messaging/test_stream_transcript_contract.py:55
↓ 1 callers
Function
_repair_suffix_candidates
(prefix: str, candidate: str)
core/anthropic/streaming/recovery.py:399
↓ 1 callers
Method
_repair_tool_args
( self, *, body: dict[str, Any], ledger: AnthropicStreamLedger, reques
providers/transports/openai_chat/recovery.py:178
↓ 1 callers
Function
_repo_root
()
tests/scripts/test_installers.py:8
↓ 1 callers
Function
_request_count
(log_delta: str)
smoke/lib/claude_cli_matrix.py:764
↓ 1 callers
Function
_request_from_dict
(request_data: Any, data: dict[str, Any])
providers/deepseek/compat.py:423
↓ 1 callers
Method
_request_headers
Return OpenRouter's Anthropic-compatible messages headers.
providers/open_router/client.py:58
↓ 1 callers
Method
_request_headers
Return headers for the native messages request.
providers/transports/anthropic_messages/transport.py:115
↓ 1 callers
Function
_resolve_model_id
Resolve short name to full Hugging Face model ID.
messaging/transcription.py:35
↓ 1 callers
Method
_resolve_model_ref
Resolve a Claude model name to the configured provider/model ref.
api/model_router.py:109
↓ 1 callers
Function
_resolve_relative_import
Best-effort absolute name for ``from .x`` / ``from ..y`` (level >= 1).
tests/contracts/test_import_boundaries.py:654
↓ 1 callers
Function
_restart_metadata
(fields: list[str], request: Request)
api/admin_routes.py:227
↓ 1 callers
Method
_restore_aliased_tool_argument_value
( self, value: Any, aliases: dict[str, str] )
providers/transports/openai_chat/tool_calls.py:263
↓ 1 callers
Method
_restore_tree_state
(self, session_store: SessionStore)
api/runtime.py:283
↓ 1 callers
Method
_run_message_intercepts
(self, routed: RoutedMessagesRequest)
api/handlers/messages.py:123
↓ 1 callers
Method
_run_refresh
(self, provider_ids: tuple[str, ...])
providers/runtime/discovery.py:98
↓ 1 callers
Function
_run_supervised_server
Run one uvicorn server instance; return whether admin requested restart.
cli/entrypoints.py:80
↓ 1 callers
Function
_sanitize_nim_schema_node
Remove boolean JSON Schema subschemas that hosted NIM rejects.
providers/nvidia_nim/tool_schema.py:98
↓ 1 callers
Function
_schedule_open_admin_browser
After /health succeeds, open the admin UI in the default browser (daemon thread).
cli/entrypoints.py:58
↓ 1 callers
Function
_search_summary
(query: str, results: list[dict[str, str]])
api/web_tools/streaming.py:31
↓ 1 callers
Method
_send
()
messaging/platforms/outbox.py:57
↓ 1 callers
Method
_send_model_list_request
Query the provider endpoint that advertises available model ids.
providers/transports/anthropic_messages/transport.py:90
↓ 1 callers
Method
_send_stream_request
Create a streaming messages response.
providers/transports/anthropic_messages/transport.py:139
↓ 1 callers
Function
_serialize_value
Convert Pydantic models and lightweight objects into JSON-ready values.
core/anthropic/native_messages_request.py:76
↓ 1 callers
Function
_set_tool_call_thought_signature
(tool_call: dict[str, Any], signature: str)
providers/gemini/quirks.py:74
↓ 1 callers
Method
_shutdown_limiter
(self)
api/runtime.py:313
↓ 1 callers
Function
_simulate_openai_sdk_wire_json
(body: dict)
tests/providers/test_gemini.py:35
↓ 1 callers
Method
_snapshot_for_persistence
(self)
messaging/session/store.py:77
↓ 1 callers
Method
_split_incomplete_control_token_tail
(self)
core/anthropic/tools.py:84
↓ 1 callers
Method
_start_messaging_workflow
( self, components: MessagingPlatformComponents )
api/runtime.py:229
↓ 1 callers
Method
_start_text
(self, index: int)
messaging/transcript/buffer.py:123
↓ 1 callers
Method
_start_thinking
(self, index: int)
messaging/transcript/buffer.py:106
↓ 1 callers
Method
_start_tool_block
(self, index: int, block: Mapping[str, Any])
core/openai_responses/streaming/assembler.py:248
↓ 1 callers
Method
_start_tool_use
(self, event: dict[str, Any])
messaging/transcript/buffer.py:140
↓ 1 callers
Method
_start_worker
Ensure the worker task exists.
messaging/limiter.py:76
↓ 1 callers
Function
_status_code_from_exception
(exc: Exception)
providers/error_mapping.py:44
↓ 1 callers
Function
_stop_process
(process: subprocess.Popen[bytes])
smoke/lib/server.py:108
↓ 1 callers
Function
_strip_message_names
(messages: Any)
providers/transports/openai_chat/request_policy.py:92
↓ 1 callers
Function
_strip_message_reasoning_content
(body: dict[str, Any])
providers/nvidia_nim/retry.py:60
↓ 1 callers
Function
_strip_unsupported_attachment_blocks
(messages: Any)
providers/deepseek/compat.py:156
↓ 1 callers
Function
_subagent_task
( claude_bin: str, server: RunningServer, smoke_config: SmokeConfig, provider_model: ProviderM
smoke/lib/claude_cli_matrix.py:523
↓ 1 callers
Function
_synthetic_close_other_open_blocks
Close every open block except `current_upstream` and track duplicate upstream stops.
core/anthropic/native_sse_block_policy.py:129
↓ 1 callers
Function
_text_system_block
(text: str)
api/models/anthropic.py:91
↓ 1 callers
Function
_thinking
( claude_bin: str, server: RunningServer, smoke_config: SmokeConfig, provider_model: ProviderM
smoke/lib/claude_cli_matrix.py:438
↓ 1 callers
Method
_tool_argument_aliases
Return provider-specific per-tool argument aliases for this request.
providers/transports/openai_chat/transport.py:106
↓ 1 callers
Function
_tool_input_schema
(tool: Any)
core/anthropic/conversion.py:50
↓ 1 callers
Function
_tool_repair_prompt
( *, tool_name: str, prefix: str, input_schema: dict[str, Any] | None )
core/anthropic/streaming/recovery.py:417
↓ 1 callers
Function
_tool_use_roundtrip
( claude_bin: str, server: RunningServer, smoke_config: SmokeConfig, provider_model: ProviderM
smoke/lib/claude_cli_matrix.py:464
↓ 1 callers
Function
_trace_quarantined_function_call
( call_id: str, exc: ResponsesConversionError )
core/openai_responses/input.py:177
↓ 1 callers
Function
_transcribe_local
Transcribe using transformers Whisper pipeline.
messaging/transcription.py:147
↓ 1 callers
Method
_transform_stream_event
Transform or drop a grouped SSE event before yielding it downstream.
providers/transports/anthropic_messages/transport.py:166
↓ 1 callers
Method
_trim
(self, chat_key: str)
messaging/session/message_log.py:101
↓ 1 callers
Function
_upstream_http_retryable
True for rate limit / upstream server failures that should backoff-retry.
providers/rate_limit.py:23
↓ 1 callers
Method
_validate_configured_models_best_effort
Warm validation status without blocking first-run/admin access.
api/runtime.py:129
↓ 1 callers
Function
_validate_deepseek_request_dict
(data: dict[str, Any])
providers/deepseek/compat.py:252
↓ 1 callers
Function
_value_for_settings_attr
( state: Mapping[str, Mapping[str, Any]], settings_attr: str )
api/admin_config/status.py:55
↓ 1 callers
Function
_wait_for_health
(server: RunningServer, *, timeout_s: float)
smoke/lib/server.py:82
↓ 1 callers
Method
_worker
Background worker that processes queued messaging tasks.
messaging/limiter.py:85
↓ 1 callers
Function
_write_tone_wav
(path: Path)
smoke/prereq/test_voice_prereq_live.py:40
↓ 1 callers
Method
adaptive_thinking_payload
()
smoke/lib/e2e.py:220
↓ 1 callers
Method
add_reasoning_text
(self, text: str)
core/openai_responses/streaming/ledger.py:61
↓ 1 callers
Method
aiter_lines
(self)
tests/providers/test_wafer.py:27
↓ 1 callers
Method
append
(self, text: str)
messaging/transcript/segments.py:34
↓ 1 callers
Function
append_request_id
Append request_id suffix when available.
core/anthropic/errors.py:65
↓ 1 callers
Function
apply_gemini_request_quirks
Apply Google-specific request extensions after common OpenAI conversion.
providers/gemini/quirks.py:11
↓ 1 callers
Function
apply_nim_request_options
Apply NIM schema repairs and configured request defaults.
providers/nvidia_nim/request_options.py:38
↓ 1 callers
Method
buffer_task_args
(self, index: int, args: str)
core/anthropic/streaming/ledger.py:118
↓ 1 callers
Function
build_claude_launcher_command
Return the Claude wrapper command without changing user arguments.
cli/launchers/claude.py:62
↓ 1 callers
Function
build_codex_launcher_command
Return a Codex command with ephemeral FCC provider config.
cli/launchers/codex.py:85
↓ 1 callers
Function
build_codex_launcher_env
Return a Codex environment that targets the local proxy provider.
cli/launchers/codex.py:106
← previous
next →
901–1,000 of 3,538, ranked by callers