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
_basic_text
( claude_bin: str, server: RunningServer, smoke_config: SmokeConfig, provider_model: ProviderM
smoke/lib/claude_cli_matrix.py:416
↓ 1 callers
Function
_body_from_response
(exc: Exception)
providers/error_mapping.py:55
↓ 1 callers
Function
_browser_host_for_local_urls
Host fragment for URLs shown to humans on the same machine as the server.
api/admin_urls.py:8
↓ 1 callers
Function
_build_openrouter_body
( request_data: Any, *, thinking_enabled: bool, policy: NativeMessagesRequestPolicy, )
providers/transports/anthropic_messages/request_policy.py:79
↓ 1 callers
Method
_build_request_body
( self, request: Any, thinking_enabled: bool | None = None )
providers/gemini/client.py:47
↓ 1 callers
Method
_build_request_body
( self, request: Any, thinking_enabled: bool | None = None )
providers/fireworks/client.py:32
↓ 1 callers
Method
_build_request_body
( self, request: Any, thinking_enabled: bool | None = None )
providers/mistral/client.py:29
↓ 1 callers
Method
_build_request_body
( self, request: Any, thinking_enabled: bool | None = None )
providers/groq/client.py:36
↓ 1 callers
Method
_build_request_body
( self, request: Any, thinking_enabled: bool | None = None )
providers/codestral/client.py:33
↓ 1 callers
Method
_build_request_body
( self, request: Any, thinking_enabled: bool | None = None )
providers/cerebras/client.py:33
↓ 1 callers
Method
_build_request_body
Build request body. Must be implemented by subclasses.
providers/transports/openai_chat/transport.py:82
↓ 1 callers
Method
_build_request_body
Build a native Anthropic request body.
providers/transports/anthropic_messages/transport.py:119
↓ 1 callers
Function
_candidate_from_model_id
( model_id: str, *, display_name: str )
cli/launchers/codex_model_catalog.py:107
↓ 1 callers
Function
_catalog_candidates
( models_response: Mapping[str, Any], )
cli/launchers/codex_model_catalog.py:84
↓ 1 callers
Function
_check_local_provider
( provider_id: str, base_url: str, path: str )
api/admin_routes.py:259
↓ 1 callers
Method
_claim_timer
(self, expected_generation: int | None)
messaging/session/persistence.py:95
↓ 1 callers
Function
_clean_reasoning_content
(value: Any)
core/anthropic/conversion.py:57
↓ 1 callers
Function
_cloudflare_account_field_specs
()
api/admin_config/provider_manifest.py:128
↓ 1 callers
Function
_cloudflare_model_search_url
Return the Cloudflare account model-search endpoint URL.
providers/cloudflare/client.py:35
↓ 1 callers
Function
_codex_catalog_entry
( candidate: _CatalogCandidate, *, priority: int )
cli/launchers/codex_model_catalog.py:145
↓ 1 callers
Function
_collect_nim_tool_property_names
(value: Any)
providers/nvidia_nim/tool_schema.py:158
↓ 1 callers
Function
_compact_command
( claude_bin: str, server: RunningServer, smoke_config: SmokeConfig, provider_model: ProviderM
smoke/lib/claude_cli_matrix.py:591
↓ 1 callers
Method
_complete_custom_tool_block
(self, state: ToolBlockState)
core/openai_responses/streaming/completion.py:91
↓ 1 callers
Method
_complete_reasoning_block
(self, state: ReasoningBlockState)
core/openai_responses/streaming/completion.py:51
↓ 1 callers
Method
_complete_text_block
(self, state: TextBlockState)
core/openai_responses/streaming/completion.py:41
↓ 1 callers
Method
_complete_tool_block
(self, state: ToolBlockState)
core/openai_responses/streaming/completion.py:64
↓ 1 callers
Function
_content_as_text
(content: Any)
core/openai_responses/input.py:266
↓ 1 callers
Method
_convert_assistant_message_with_split
( content: list[Any], *, first_tool_index: int, reasoning_content: str | None,
core/anthropic/conversion.py:269
↓ 1 callers
Function
_convert_namespace_tool
(tool: Mapping[str, Any])
core/openai_responses/tools.py:264
↓ 1 callers
Method
_convert_user_message_with_injection
Convert user list blocks, emitting deferred assistant after all tool results.
core/anthropic/conversion.py:386
↓ 1 callers
Method
_create_transcript_and_render_ctx
Create transcript buffer and render context for node processing.
messaging/node_runner.py:58
↓ 1 callers
Function
_credential_field_specs
()
api/admin_config/provider_manifest.py:89
↓ 1 callers
Function
_current_turn_start_index
(messages: list[Any])
providers/gemini/quirks.py:102
↓ 1 callers
Function
_custom_tool_description
(source: Mapping[str, Any])
core/openai_responses/tools.py:345
↓ 1 callers
Function
_deferred_post_tool_blocks
( content: list[Any], *, first_tool_index: int )
core/anthropic/conversion.py:121
↓ 1 callers
Method
_delete
()
messaging/platforms/outbox.py:106
↓ 1 callers
Method
_delete_many
()
messaging/platforms/outbox.py:130
↓ 1 callers
Function
_delta_type_to_block_kind
Map a content_block_delta type to a content block kind (text/thinking/tool_use).
core/anthropic/native_sse_block_policy.py:72
↓ 1 callers
Method
_direct_provider_model
( self, model_name: str )
api/model_router.py:87
↓ 1 callers
Function
_downgrade_forced_tool_choice
(data: dict[str, Any])
providers/deepseek/compat.py:407
↓ 1 callers
Function
_drain_aiohttp_body_capped
( response: aiohttp.ClientResponse, max_bytes: int )
api/web_tools/outbound.py:175
↓ 1 callers
Function
_drain_response_body_capped
(response: httpx.Response, max_bytes: int)
api/web_tools/outbound.py:96
↓ 1 callers
Method
_edit
()
messaging/platforms/outbox.py:85
↓ 1 callers
Method
_emit_error_events
Emit the same Anthropic message lifecycle used by OpenAI-chat providers.
providers/transports/anthropic_messages/transport.py:204
↓ 1 callers
Method
_enqueue_internal
(self, func, future, dedup_key, front=False)
messaging/limiter.py:214
↓ 1 callers
Method
_enqueue_internal_multi
(self, func, futures, dedup_key, front=False)
messaging/limiter.py:217
↓ 1 callers
Function
_error_type_hint_from_body
(body: Any, body_text: str | None)
providers/error_mapping.py:99
↓ 1 callers
Method
_extract_model_ids_from_model_list_payload
Parse the provider model-list response body.
providers/transports/anthropic_messages/transport.py:101
↓ 1 callers
Method
_extract_model_infos_from_model_list_payload
Parse provider model metadata; default to unknown capabilities.
providers/transports/anthropic_messages/transport.py:107
↓ 1 callers
Method
_extract_web_tool_json_calls
(self)
core/anthropic/tools.py:46
↓ 1 callers
Function
_first_ollama_model_id
(base_url: str, *, timeout_s: float)
smoke/lib/local_providers.py:53
↓ 1 callers
Function
_first_openai_compatible_model_id
( provider: str, base_url: str, *, timeout_s: float, )
smoke/lib/local_providers.py:34
↓ 1 callers
Function
_first_tool_catalog
(log_delta: str)
smoke/lib/claude_cli_matrix.py:718
↓ 1 callers
Method
_format_missing_model_failure
(self, ref: ConfiguredChatModelRef)
providers/runtime/validation.py:114
↓ 1 callers
Function
_gemini_tool_thought_signature
(tool_use: dict[str, Any])
smoke/product/test_provider_product_live.py:470
↓ 1 callers
Method
_get_error_message
Map an exception into a user-facing provider error message.
providers/transports/anthropic_messages/transport.py:180
↓ 1 callers
Method
_get_limit_chars
(self)
messaging/workflow.py:98
↓ 1 callers
Function
_get_pipeline
Lazy-load transformers Whisper pipeline. Raises ImportError if not installed.
messaging/transcription.py:40
↓ 1 callers
Method
_get_retry_request_body
Return a modified request body for one retry, or None.
providers/transports/openai_chat/transport.py:93
↓ 1 callers
Function
_handle_clear_branch
Clear a branch (replied-to node + all descendants). Order: cancel tasks, delete messages, remove branch, update session store.
messaging/commands.py:128
↓ 1 callers
Method
_handle_client_message
Adapter entry point used by the internal Discord client.
messaging/platforms/discord.py:128
↓ 1 callers
Method
_handle_content_block_delta
(self, data: Mapping[str, Any])
core/openai_responses/streaming/assembler.py:154
↓ 1 callers
Method
_handle_content_block_start
(self, data: Mapping[str, Any])
core/openai_responses/streaming/assembler.py:118
↓ 1 callers
Method
_handle_content_block_stop
(self, data: Mapping[str, Any])
core/openai_responses/streaming/assembler.py:191
↓ 1 callers
Method
_handle_extra_reasoning
Hook for provider-specific reasoning.
providers/transports/openai_chat/transport.py:87
↓ 1 callers
Method
_handle_voice_note
Handle a Discord audio attachment.
messaging/platforms/discord.py:138
↓ 1 callers
Function
_has_proxy_regression
(log_delta: str)
smoke/lib/claude_cli_matrix.py:691
↓ 1 callers
Function
_has_proxy_request
(log_delta: str)
smoke/lib/claude_cli_matrix.py:697
↓ 1 callers
Function
_has_replayable_thinking_before_tool_use
(message: Mapping[str, Any])
providers/deepseek/compat.py:295
↓ 1 callers
Function
_has_replayable_tool_thinking
(data: dict[str, Any])
providers/deepseek/compat.py:322
↓ 1 callers
Function
_has_tool_history
(data: dict[str, Any])
providers/deepseek/compat.py:315
↓ 1 callers
Function
_has_tool_history_blocks
(message: Mapping[str, Any])
providers/deepseek/compat.py:278
↓ 1 callers
Function
_has_upstream_unavailable_text
(text: str)
smoke/lib/claude_cli_matrix.py:755
↓ 1 callers
Method
_include_provider_in_smoke
( self, provider: str, mapped_providers: set[str] )
smoke/lib/config.py:215
↓ 1 callers
Function
_index_first_tool_use
(blocks: list[Any])
core/anthropic/conversion.py:106
↓ 1 callers
Function
_interleaved_thinking_text_events
( parts: tuple[str, str, str, str], )
tests/contracts/test_stream_contracts.py:136
↓ 1 callers
Function
_interleaved_thinking_tool
( claude_bin: str, server: RunningServer, smoke_config: SmokeConfig, provider_model: ProviderM
smoke/lib/claude_cli_matrix.py:493
↓ 1 callers
Function
_is_forbidden
Match root modules (``import api``) and submodules (``import api.x``).
tests/contracts/test_import_boundaries.py:624
↓ 1 callers
Function
_is_gemini_3_model
(model: Any)
providers/gemini/quirks.py:56
↓ 1 callers
Function
_is_server_listed_tool
(tool: Mapping[str, Any])
providers/deepseek/compat.py:225
↓ 1 callers
Function
_iter_input_items
(value: Any)
core/openai_responses/input.py:227
↓ 1 callers
Function
_iter_tool_uses_in_order
(blocks: list[Any])
core/anthropic/conversion.py:113
↓ 1 callers
Method
_lifespan
(self, receive: Receive, send: Send)
api/app.py:54
↓ 1 callers
Method
_load
(self)
messaging/session/store.py:50
↓ 1 callers
Function
_load_audio
Load audio file to waveform dict. No ffmpeg required.
messaging/transcription.py:139
↓ 1 callers
Function
_load_encoder
()
core/openai_responses/usage.py:16
↓ 1 callers
Function
_local_base_url_field_specs
()
api/admin_config/provider_manifest.py:111
↓ 1 callers
Function
_local_provider_url
(provider_id: str, values: dict[str, str])
api/admin_routes.py:249
↓ 1 callers
Method
_log_transcription
(self, request: VoiceNoteRequest, transcribed: str)
messaging/platforms/voice_flow.py:278
↓ 1 callers
Function
_make_nim_tool_parameter_alias
(name: str, reserved: set[str])
providers/nvidia_nim/tool_schema.py:141
↓ 1 callers
Method
_mark_clean_if_current
(self, generation: int)
messaging/session/persistence.py:106
↓ 1 callers
Function
_merge_system_values
(existing: Any, additions: list[Any])
api/models/anthropic.py:95
↓ 1 callers
Function
_message_has_standard_user_content
(message: dict[str, Any])
providers/gemini/quirks.py:86
↓ 1 callers
Method
_model_list_headers
(self)
providers/cloudflare/client.py:85
↓ 1 callers
Method
_model_list_headers
Return headers for model-list requests.
providers/transports/anthropic_messages/transport.py:97
↓ 1 callers
Method
_model_list_headers
(self)
providers/kimi/client.py:62
↓ 1 callers
Function
_module_fqn_from_path
(repo_root: Path, path: Path)
tests/contracts/test_import_boundaries.py:635
↓ 1 callers
Function
_needs_nim_tool_parameter_alias
(name: str)
providers/nvidia_nim/tool_schema.py:137
↓ 1 callers
Function
_next_admin_url
()
api/admin_routes.py:238
↓ 1 callers
Function
_normalize_body_text
(body: Any)
providers/error_mapping.py:69
← previous
next →
801–900 of 3,538, ranked by callers