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
↓ 3 callers
Method
_build_request_body
Internal helper for tests and shared building.
providers/nvidia_nim/client.py:38
↓ 3 callers
Method
_build_request_body
( self, request: Any, thinking_enabled: bool | None = None )
providers/deepseek/client.py:26
↓ 3 callers
Function
_catalog_models
(catalog: Mapping[str, Any])
tests/cli/test_codex_model_catalog.py:30
↓ 3 callers
Method
_clear_failed_pending_voice
( self, request: VoiceNoteRequest, status_msg_id: str, queue_delete_message: Q
messaging/platforms/voice_flow.py:261
↓ 3 callers
Method
_complete_existing_block
(self, index: int)
core/openai_responses/streaming/assembler.py:291
↓ 3 callers
Function
_config
(**overrides: object)
tests/cli/test_managed_claude.py:16
↓ 3 callers
Method
_convert_user_message
(content: list[Any])
core/anthropic/conversion.py:445
↓ 3 callers
Function
_ctx
()
tests/messaging/test_robust_formatting.py:23
↓ 3 callers
Function
_ctx
()
tests/messaging/test_handler_format.py:23
↓ 3 callers
Function
_delete_message_ids
Best-effort delete messages by ID. Sorts numeric IDs descending.
messaging/commands.py:93
↓ 3 callers
Function
_ensure_dict
(container: dict[str, Any], key: str)
providers/gemini/quirks.py:38
↓ 3 callers
Function
_event_index
(data: Mapping[str, Any])
core/openai_responses/streaming/assembler.py:322
↓ 3 callers
Function
_event_tool_id
(event: dict[str, Any], key: str)
messaging/transcript/buffer.py:221
↓ 3 callers
Function
_events_from_text_chunks
( chunks: list[str], builder: AnthropicStreamLedger | None = None, *, enable_thinking: bool =
tests/contracts/test_stream_contracts.py:154
↓ 3 callers
Function
_excerpt
(value: str | None, *, max_chars: int = 2400)
smoke/lib/claude_cli_matrix.py:775
↓ 3 callers
Function
_gen_session
(events)
tests/messaging/test_handler_context_isolation.py:9
↓ 3 callers
Function
_json_dumps
(value: Any)
core/openai_responses/tools.py:374
↓ 3 callers
Function
_local_native_messages_e2e
( smoke_config: SmokeConfig, *, provider: str, base_url: str, )
smoke/product/test_local_provider_product_live.py:39
↓ 3 callers
Function
_migrate_legacy_env_if_missing
Copy a legacy user env into the managed config path when absent.
cli/entrypoints.py:135
↓ 3 callers
Method
_model_list_headers
(self)
providers/zai/client.py:52
↓ 3 callers
Method
_new_ledger
(self)
providers/transports/openai_chat/stream.py:392
↓ 3 callers
Method
_new_stream_state
Return per-stream provider state for event transformation.
providers/transports/anthropic_messages/transport.py:160
↓ 3 callers
Function
_normalize_provider_model
(provider: str, raw_model: str)
smoke/lib/config.py:303
↓ 3 callers
Method
_notify_queue_updated
Invoke queue update callback if set.
messaging/trees/processor.py:42
↓ 3 callers
Method
_on_telegram_voice
( self, update: Update, context: ContextTypes.DEFAULT_TYPE )
messaging/platforms/telegram.py:232
↓ 3 callers
Function
_parse_builder_events
(chunks: Iterable[str])
tests/contracts/test_stream_contracts.py:195
↓ 3 callers
Method
_pop_to_depth
(self, idx: int, requested_id: str, reason: str)
messaging/transcript/subagents.py:79
↓ 3 callers
Function
_powershell_interpreter
()
tests/scripts/test_ci_scripts.py:53
↓ 3 callers
Method
_restore_aliased_tool_arguments
( self, argument_json: str, aliases: dict[str, str] )
providers/transports/openai_chat/tool_calls.py:251
↓ 3 callers
Method
_save_tree
Persist tree state after runner-owned mutations.
messaging/node_runner.py:68
↓ 3 callers
Function
_shell_interpreter
()
tests/scripts/test_ci_scripts.py:46
↓ 3 callers
Function
_smoke_config
(tmp_path: Path)
tests/contracts/test_nvidia_nim_cli_matrix.py:22
↓ 3 callers
Method
_start_reasoning_block
( self, index: int, *, encrypted_content: str | None = None )
core/openai_responses/streaming/assembler.py:226
↓ 3 callers
Function
_stream_getaddrinfo_or_raise
(host: str, port: int)
api/web_tools/egress.py:37
↓ 3 callers
Function
_text_from_part
(part: Mapping[str, Any])
core/openai_responses/input.py:273
↓ 3 callers
Function
_text_occurrences
(repo_root: Path, needle: str)
tests/contracts/test_import_boundaries.py:698
↓ 3 callers
Method
active_block
(self, index: int)
core/openai_responses/streaming/ledger.py:23
↓ 3 callers
Function
all_emitted_tools_complete
Return whether every emitted tool block has schema-valid input.
providers/transports/openai_chat/tool_calls.py:85
↓ 3 callers
Function
build_base_request_body
Build the common parts of an OpenAI-format request body.
core/anthropic/conversion.py:528
↓ 3 callers
Function
build_claude_launcher_env
Return a Claude Code environment that targets the local proxy.
cli/launchers/claude.py:70
↓ 3 callers
Function
build_rendering_profile
Return rendering rules for a messaging platform.
messaging/rendering/profiles.py:39
↓ 3 callers
Method
cached_prefixed_model_infos
Return cached provider models with user-selectable prefixed ids.
providers/runtime/runtime.py:71
↓ 3 callers
Method
can_salvage_tool_use
(self, schemas: dict[str, ToolSchema])
core/anthropic/streaming/ledger.py:516
↓ 3 callers
Method
cancel
(self)
tests/messaging/test_session_store_edge_cases.py:49
↓ 3 callers
Method
cancel_branch
Cancel all PENDING/IN_PROGRESS nodes in the subtree (branch_root + descendants).
messaging/trees/manager.py:341
↓ 3 callers
Function
changedValues
()
api/admin_static/admin.js:344
↓ 3 callers
Function
classify_outcome
Classify smoke outcomes for triage reports.
smoke/lib/report.py:65
↓ 3 callers
Method
cleanup
Release any resources held by this provider.
providers/base.py:128
↓ 3 callers
Method
clear
Clear all cached model metadata.
providers/runtime/model_cache.py:70
↓ 3 callers
Function
clone_body_without_reasoning_content
Clone a request body and strip assistant message ``reasoning_content`` fields.
providers/nvidia_nim/retry.py:20
↓ 3 callers
Method
close
(self)
api/web_tools/outbound.py:153
↓ 3 callers
Method
complete_block
(self, state: BlockState)
core/openai_responses/streaming/completion.py:34
↓ 3 callers
Method
convert_tools
(tools: list[Any])
core/anthropic/conversion.py:481
↓ 3 callers
Function
custom_tool_input_text
(value: Any)
core/openai_responses/tools.py:214
↓ 3 callers
Function
default_cli_events
(session_id: str)
smoke/lib/e2e.py:644
↓ 3 callers
Function
enforce_web_fetch_egress
Validate ``url`` (scheme, host, and resolved addresses) for web_fetch.
api/web_tools/egress.py:105
↓ 3 callers
Method
enqueue_and_start
Enqueue a node or start processing immediately. Returns True if queued, False if processing immediately.
messaging/trees/processor.py:148
↓ 3 callers
Function
escape_md_v2_link_url
Escape URL for Telegram MarkdownV2 link destination.
messaging/rendering/telegram_markdown.py:29
↓ 3 callers
Method
fail
()
tests/providers/test_provider_rate_limit.py:225
↓ 3 callers
Function
feature_ids
Return feature IDs covered by the inventory.
smoke/features.py:514
↓ 3 callers
Method
find_node_by_status_message
(self, status_msg_id: str)
messaging/trees/runtime.py:166
↓ 3 callers
Method
flush_task_arg_buffers
(self)
core/anthropic/streaming/ledger.py:136
↓ 3 callers
Function
forced_server_tool_name
Return web_search or web_fetch only when tool_choice forces that server tool.
api/web_tools/request.py:28
↓ 3 callers
Method
get_parent
(self, node_id: str)
messaging/trees/runtime.py:71
↓ 3 callers
Method
get_parent_session_id
(self, node_id: str)
messaging/trees/runtime.py:74
↓ 3 callers
Function
has_tool_use
(events: list[SSEEvent])
core/anthropic/stream_contracts.py:193
↓ 3 callers
Function
http_status_for_unexpected_api_exception
(_exc: BaseException)
api/request_errors.py:21
↓ 3 callers
Method
in_subagent
(self)
messaging/transcript/subagents.py:24
↓ 3 callers
Function
is_locked_source
Return whether an admin value source must not be overwritten.
api/admin_config/sources.py:83
↓ 3 callers
Method
is_pending
(self, chat_id: str, voice_msg_id: str)
messaging/voice.py:34
↓ 3 callers
Function
is_suggestion_mode_request
Check if this is a suggestion mode request. Suggestion mode requests contain "[SUGGESTION MODE:" in the user's message, used for auto-suggest
api/detection.py:90
↓ 3 callers
Method
is_tree_busy
Check if a tree is currently processing.
messaging/trees/manager.py:127
↓ 3 callers
Function
is_upstream_unavailable_text
(text: str)
smoke/lib/skips.py:23
↓ 3 callers
Function
iter_heuristic_tool_use_sse
Emit SSE for one heuristic tool_use block.
providers/transports/openai_chat/tool_calls.py:18
↓ 3 callers
Function
kill_pid_tree_best_effort
Kill a tracked process and its children where the platform supports it.
cli/process_registry.py:47
↓ 3 callers
Method
list_model_infos
Return model ids plus optional metadata from a ``/models`` endpoint.
providers/transports/anthropic_messages/transport.py:81
↓ 3 callers
Method
list_model_infos
(self)
tests/providers/test_model_validation.py:334
↓ 3 callers
Function
load_config_response
Return manifest and current config values for the admin UI.
api/admin_config/values.py:70
↓ 3 callers
Function
load_env_template
Load the root ``.env.example`` template from wheel resources or checkout.
config/env_template.py:9
↓ 3 callers
Function
log_unexpected_api_exception
Log API failures without echoing exception text unless opted in.
api/request_errors.py:25
↓ 3 callers
Function
make_openai_compat_stream_request
Minimal request stub matching :meth:`OpenAIChatTransport._build_request_body` needs.
tests/provider_request_mocks.py:6
↓ 3 callers
Function
make_text_recovery_body
Build a text-only continuation request for either transport family.
core/anthropic/streaming/recovery.py:342
↓ 3 callers
Method
mark_node_error
Mark a node as ERROR and optionally propagate to pending children. Args: node_id: The node to mark as error
messaging/trees/manager.py:168
↓ 3 callers
Function
mock_async_gen
(events)
tests/messaging/test_handler.py:368
↓ 3 callers
Function
mock_stream
()
tests/providers/test_gemini.py:346
↓ 3 callers
Function
model_infos_from_ids
Build unknown-capability model metadata from plain provider model ids.
providers/model_listing.py:20
↓ 3 callers
Function
node_to_snapshot
(node: MessageNode)
messaging/trees/snapshot.py:101
↓ 3 callers
Function
option
(value, label)
api/admin_static/admin.js:329
↓ 3 callers
Function
preflight_proxy
Return an error message when the local proxy health check is unreachable.
cli/launchers/common.py:22
↓ 3 callers
Function
provider_config_status
Return provider configuration status without making network calls.
api/admin_config/status.py:13
↓ 3 callers
Function
provider_model_params
Return provider params grouped for pytest-xdist ``--dist=loadgroup``.
smoke/conftest.py:90
↓ 3 callers
Function
provider_xdist_group
(provider_model: ProviderModel)
smoke/conftest.py:124
↓ 3 callers
Method
put_nowait
(self, item: str)
messaging/trees/queue.py:18
↓ 3 callers
Method
queue_edit_message
( self, chat_id: str, message_id: str, text: str, parse_mode: str | No
smoke/lib/e2e.py:403
↓ 3 callers
Method
refresh_model_list_cache
Best-effort refresh of model lists for usable providers.
providers/runtime/runtime.py:75
↓ 3 callers
Method
register_real_session_id
Register the real session ID from CLI output.
cli/managed/manager.py:90
↓ 3 callers
Method
render
(self, ctx: RenderCtx)
messaging/transcript/segments.py:25
↓ 3 callers
Function
render_env_file
Render a complete grouped env file.
api/admin_config/persistence.py:127
↓ 3 callers
Function
require_non_empty_messages
(messages: list[Any])
api/request_errors.py:16
↓ 3 callers
Method
reserve_output_slot
(self)
core/openai_responses/streaming/ledger.py:39
← previous
next →
401–500 of 3,538, ranked by callers