MCPcopy Create free account

hub / github.com/acking-you/static_flow / functions

Functions7,843 in github.com/acking-you/static_flow

↓ 3 callersFunctionbuild_route_payload
( model_name_map_json: &str, payload: &MessagesRequest, )
crates/llm-access/src/provider/anthropic_upstream_payload.rs:86
↓ 3 callersFunctionbuild_status_snapshot
( refreshed: Vec<AccountStatusRefresh>, source_url: &str, refresh_interval_seconds: u64, )
crates/llm-access/src/codex_status.rs:1295
↓ 3 callersFunctioncached_hls_status
(cache_paths: &HlsCachePaths)
crates/media-service/src/playback.rs:536
↓ 3 callersFunctioncached_proxy_from_option
( proxy: Option<ProviderProxyConfig>, )
crates/llm-access-store/src/postgres/cache_convert.rs:56
↓ 3 callersMethodcan_store_source
(&self, source: CodexAffinitySource)
crates/llm-access/src/provider/codex_session_affinity.rs:67
↓ 3 callersFunctioncanonical_cctest_text_messages
(value: &Value)
crates/llm-access/src/provider/cctest.rs:375
↓ 3 callersFunctioncanonical_session_item_segments
(items: &[Value])
crates/llm-access-codex/src/request/session.rs:344
↓ 3 callersFunctioncanonicalize_assistant_segments
( kind_prefix: &str, message: &AssistantMessage, )
crates/llm-access-kiro/src/cache_sim/projection.rs:451
↓ 3 callersFunctioncanonicalize_json
(value: &Value)
crates/llm-access-kiro/src/cache_sim/projection.rs:601
↓ 3 callersFunctioncatalog_query_from_usage_query
(query: &UsageEventQuery)
crates/llm-access-store/src/duckdb/catalog.rs:472
↓ 3 callersFunctioncctest_proxy_config_error
( usage_meta: &mut ProviderUsageMetadata, message: &str, )
crates/llm-access/src/provider/kiro_dispatch.rs:1266
↓ 3 callersFunctionchat_extension_item_from_responses_item
( item_obj: &Map<String, Value>, item_type: &str, )
crates/llm-access-codex/src/response.rs:170
↓ 3 callersFunctionchat_tool_call_from_responses_item
( item_obj: &Map<String, Value>, item_type: &str, tool_name_restore_map: Option<&BTreeMap<String,
crates/llm-access-codex/src/response.rs:118
↓ 3 callersMethodclaim_next
Claim the oldest sealed backlog file for application.
crates/llm-access/src/rollup_backlog.rs:164
↓ 3 callersFunctionclamp_usize_to_i64
(value: usize)
crates/llm-access/src/provider/util.rs:16
↓ 3 callersFunctionclassify_codex_upstream_outcome
Applies the same disposition-driven cooldown + failover policy used by the non-2xx path to an in-stream failure surfaced via [`CodexUpstreamOutcome`].
crates/llm-access/src/provider/codex_dispatch.rs:1374
↓ 3 callersFunctionclearTimer
()
crates/frontend/static/local_media_player_bridge.js:96
↓ 3 callersFunctionclear_page_scoped_json_ld
()
crates/frontend/src/seo.rs:198
↓ 3 callersFunctionclear_upload_transfer
( transfer_stats: &UseStateHandle<HashMap<String, UploadTransferStats>>, task_id: &str, )
crates/frontend/src/components/admin_local_media_uploads.rs:281
↓ 3 callersFunctioncodex_access_token_expires_at_ms
Decode the JWT expiry from a Codex access token string.
crates/llm-access-core/src/store/routes.rs:164
↓ 3 callersFunctioncodex_auth_access_token_expires_at_ms
Extract the current Codex access token expiry timestamp from persisted auth JSON when it is available.
crates/llm-access-core/src/store/routes.rs:153
↓ 3 callersFunctioncodex_auth_from_fields
( account_id: Option<&str>, id_token: Option<&str>, access_token: Option<&str>, refresh_token:
crates/llm-access/src/admin.rs:7592
↓ 3 callersFunctioncodex_cached_error_message
( account_name: &str, record_last_error: Option<&str>, record_last_refresh_at_ms: Option<i64>,
crates/llm-access-store/src/postgres/codex_routing.rs:151
↓ 3 callersFunctioncodex_models_json_response
( body: Vec<u8>, content_type: &'static str, content_disposition: Option<&'static str>, etag:
crates/llm-access/src/provider/codex_models.rs:128
↓ 3 callersFunctioncodex_surface_error_body
(endpoint: &str, status: StatusCode, message: &str)
crates/llm-access/src/provider/errors.rs:190
↓ 3 callersFunctioncodex_surface_error_response_with_code
See [`codex_surface_error_body_with_code`]: surfaces a classified error with an explicit OpenAI-style `error.code`.
crates/llm-access/src/provider/errors.rs:214
↓ 3 callersFunctioncodex_upstream_base_url_from_env
Resolve the configured Codex upstream base URL from supported environment variables.
crates/llm-access-codex/src/request/normalization.rs:45
↓ 3 callersFunctioncollect_segment_event_ids
(path: &Path)
crates/llm-access-store/src/duckdb/segment.rs:520
↓ 3 callersMethodcollect_stack_rows
(&self)
crates/backend/src/memory_profiler.rs:558
↓ 3 callersMethodcompact_api_behavior_table
Compact the api_behavior_events table to merge small fragments. This reduces the number of open file descriptors and improves query performance.
crates/store/src/lancedb_api.rs:601
↓ 3 callersFunctioncompacting_segment_path
(config: &TieredDuckDbUsageConfig, segment_id: &str)
crates/llm-access-store/src/duckdb/segment.rs:62
↓ 3 callersFunctioncompare_insert
( radix: &mut PrefixTree, plain: &mut PlainPrefixTree, pages: &[CanonicalTokenPage],
crates/llm-access-kiro/src/cache_sim/prefix_tree.rs:1188
↓ 3 callersFunctioncompute_codex_upstream_url
(base: &str, path: &str)
crates/llm-access/src/provider/codex_auth.rs:52
↓ 3 callersMethodconfig
(&self)
crates/media-service/src/state.rs:91
↓ 3 callersFunctionconfigure_duckdb_usage_connection
( conn: &duckdb::Connection, connection_config: DuckDbUsageConnectionConfig, )
crates/llm-access-store/src/duckdb/connection.rs:105
↓ 3 callersFunctionconfigure_timeout_and_auth
( request: reqwest::RequestBuilder, config: &Gpt2ApiRsConfig, bearer: &str, )
crates/backend/src/gpt2api_rs.rs:1701
↓ 3 callersFunctionconflict_error
(message: impl Into<String>)
crates/backend/src/gpt2api_rs.rs:1821
↓ 3 callersMethodconnect_timeout
Connect timeout as a duration.
crates/gateway/src/config.rs:199
↓ 3 callersMethodconnection
(&self)
crates/llm-access/src/kiro_cache_snapshot.rs:76
↓ 3 callersMethodconnection
(&self)
crates/store/src/lancedb_api.rs:261
↓ 3 callersMethodcontext_input_tokens
(&self)
crates/llm-access-kiro/src/anthropic/stream/context.rs:242
↓ 3 callersFunctionconvert_assistant_message
( message: &crate::anthropic::types::Message, tool_name_map: &mut HashMap<String, String>, )
crates/llm-access-kiro/src/anthropic/converter/convert.rs:532
↓ 3 callersMethodcount_gpt2api_account_contribution_requests
( &self, status: Option<&str>, )
crates/store/src/llm_gateway_store/mod.rs:1481
↓ 3 callersFunctioncreateEnvironment
({ nativeHls = false } = {})
crates/frontend/tests/local_media_player_bridge.test.mjs:14
↓ 3 callersMethodcreate_account_group
Insert a new reusable account group.
crates/store/src/llm_gateway_store/mod.rs:447
↓ 3 callersMethodcreate_ai_run
(&self, input: NewCommentAiRunInput)
crates/store/src/comments_store.rs:670
↓ 3 callersFunctioncreate_file
(root: &Path, relative: &str, bytes: &[u8])
crates/llm-usage-journal/src/writer.rs:445
↓ 3 callersFunctioncreate_or_replace_kiro_account
(state: HttpState, auth: KiroAuthRecord)
crates/llm-access/src/admin.rs:7974
↓ 3 callersFunctioncreate_test_db_path
()
crates/llm-access-kiro/src/local_import.rs:254
↓ 3 callersMethodcurrent_usage
(&self)
crates/llm-access-kiro/src/wire.rs:580
↓ 3 callersFunctiondecode_frame
Decompress and validate a snapshot blob, returning the header and sections.
crates/llm-access-kiro/src/cache_sim/snapshot.rs:147
↓ 3 callersMethoddecode_iter
Return an iterator that drains all complete frames from the buffer, stopping on incomplete data, recovery state, or decoder shutdown.
crates/llm-access-kiro/src/parser/decoder.rs:131
↓ 3 callersFunctiondecode_json_response
(response: reqwest::Response)
crates/backend/src/gpt2api_rs.rs:1364
↓ 3 callersFunctiondecode_optional_json
(value: Option<&str>)
crates/llm-access-store/src/postgres/json.rs:6
↓ 3 callersFunctiondefault_anthropic_upstream_pool_mode
()
crates/llm-access-store/src/request_cache.rs:49
↓ 3 callersFunctiondefault_kiro_billable_model_multipliers_json
()
crates/frontend/src/api.rs:6095
↓ 3 callersFunctiondefault_kiro_pool_strategy
()
crates/llm-access-store/src/request_cache.rs:45
↓ 3 callersFunctiondefault_og_image_url
()
crates/frontend/src/seo.rs:141
↓ 3 callersFunctiondefault_usage_analytics_retention_days
()
crates/frontend/src/api.rs:31
↓ 3 callersFunctiondelete_admin_gpt2api_rs_empty
(path: &str)
crates/frontend/src/api.rs:2643
↓ 3 callersFunctionderive_llm_access_admin_base_from_api_base
(api_base: &str)
crates/frontend/src/api.rs:235
↓ 3 callersFunctionderive_local_media_api_base_from_api_base
(api_base: &str)
crates/frontend/src/api.rs:254
↓ 3 callersFunctiondetach_file
(attached_files: &UseStateHandle<HashMap<String, File>>, task_id: &str)
crates/frontend/src/components/admin_local_media_uploads.rs:262
↓ 3 callersMethoddim
Embedding dimension for each model (from fastembed model list).
crates/embedding/src/text.rs:50
↓ 3 callersFunctiondirect_route
( account_name: &str, standalone_enabled: bool, direct_enabled: bool, account_enabled: bool, )
crates/llm-access-codex-image/tests/codex_image_dispatch.rs:38
↓ 3 callersFunctiondocument_media_type_supports_text_source
(media_type: &str)
crates/llm-access-kiro/src/anthropic/converter/document.rs:133
↓ 3 callersFunctionduckdb_schema_sql
Return the DuckDB usage and audit schema SQL.
crates/llm-access-store/src/lib.rs:69
↓ 3 callersMethodeffective_auth_region
Return the effective authentication region, falling back through the generic region and finally the global default.
crates/llm-access-kiro/src/auth_file.rs:200
↓ 3 callersFunctionencode_proto_varint
(mut value: u64, out: &mut Vec<u8>)
crates/llm-access-kiro/src/anthropic/stream/signature.rs:75
↓ 3 callersFunctionencode_sse_event
Re-encode a parsed SSE event so it can be forwarded downstream unchanged.
crates/llm-access-codex/src/response.rs:1398
↓ 3 callersMethodenforce_token_budget
Evict the coldest leaf paths until resident tokens fit `max_tokens`. Shared by live insertion and post-import budget reconciliation.
crates/llm-access-kiro/src/cache_sim/prefix_tree.rs:143
↓ 3 callersFunctionensure_article_exists
( state: &AppState, id: &str, )
crates/backend/src/handlers.rs:3250
↓ 3 callersFunctionensure_table
( db: &Connection, table_name: &str, schema: Arc<Schema>, storage_options: &[(&str, &str)], )
crates/store/src/music_store.rs:299
↓ 3 callersFunctionensure_table
( db: &Connection, table_name: &str, schema: Arc<Schema>, storage_options: &[(&str, &str)], )
crates/store/src/interactive_store.rs:580
↓ 3 callersFunctionensure_table
(db: &Connection, name: &str, schema: Arc<Schema>)
crates/store/src/music_wish_store.rs:451
↓ 3 callersFunctionensure_table
(db: &Connection, name: &str, schema: Arc<Schema>)
crates/store/src/article_request_store.rs:460
↓ 3 callersFunctionensure_under_root
(root: &Path, path: &Path)
crates/llm-access/src/config.rs:315
↓ 3 callersFunctionevalJs
(expression)
skills/kiro-social-onboarder/scripts/drive_kiro_social_google.mjs:58
↓ 3 callersFunctionexpired_token
()
crates/llm-access/src/codex_refresh.rs:691
↓ 3 callersFunctionexternal_origin
(headers: &HeaderMap)
crates/llm-access/src/public.rs:830
↓ 3 callersFunctionextract_client_ip
(headers: &HeaderMap)
crates/llm-access/src/submission.rs:940
↓ 3 callersFunctionextract_client_ip_from_headers
Extracts the first trustworthy client IP from the reverse-proxy header chain. The gateway uses these proxy headers strictly for local diagnostics, be
crates/llm-access-codex/src/request/headers.rs:74
↓ 3 callersFunctionextract_final_reply_markdown
(raw: &str)
crates/backend/src/comment_worker.rs:625
↓ 3 callersFunctionextract_semantic_highlight
Build a semantic-search highlight snippet with optional lexical emphasis. This function is intentionally more expensive than the fast path because it
crates/store/src/lancedb_api.rs:3596
↓ 3 callersFunctionextract_u64
(batch: &RecordBatch, col: &str, row: usize)
crates/store/src/music_store.rs:641
↓ 3 callersFunctionextract_usage
Extract the top-level usage block when present.
scripts/test_llm_gateway_chat.py:171
↓ 3 callersFunctionextract_vector
(batches: &[RecordBatch], column: &str)
crates/store/src/lancedb_api.rs:2997
↓ 3 callersFunctionfallback_search_rows
( table: &Table, keyword: &str, limit: Option<usize>, )
crates/store/src/lancedb_api.rs:2427
↓ 3 callersFunctionfeature_selected
(selected_keys: &[&str], key: &str)
crates/frontend/src/pages/llm_access_guide.rs:199
↓ 3 callersMethodfeed
Append raw bytes to the internal buffer. Returns an error if the buffer would exceed [`DEFAULT_MAX_BUFFER_SIZE`].
crates/llm-access-kiro/src/parser/decoder.rs:73
↓ 3 callersFunctionfetch_all_articles
Fetch all articles without pagination (for posts/archive pages)
crates/frontend/src/api.rs:512
↓ 3 callersFunctionfetch_articles
获取文章列表,支持按标签和分类过滤,支持分页
crates/frontend/src/api.rs:430
↓ 3 callersFunctionfetch_kiro_accounts
(base_url: str, token: str | None)
skills/kiro-social-onboarder/scripts/onboard_kiro_social_github.py:550
↓ 3 callersFunctionfetch_route_usage_once
( route: &ProviderCodexRoute, config: &AdminRuntimeConfig, context: &codex_refresh::CodexCallConte
crates/llm-access/src/codex_status.rs:1238
↓ 3 callersFunctionfetch_usage_event_totals_from_conn
( conn: &duckdb::Connection, query: &UsageEventQuery, )
crates/llm-access-store/src/duckdb/query.rs:73
↓ 3 callersFunctionfetch_usage_filter_options_from_conn
( conn: &duckdb::Connection, query: &UsageEventQuery, )
crates/llm-access-store/src/duckdb/filter_options.rs:86
↓ 3 callersMethodfind_inner
( &self, normalized_text: &str, scan_start: usize, start_limit: Option<(usize,
crates/llm-access-core/src/moderation.rs:261
↓ 3 callersFunctionfind_real_thinking_end_tag_at_buffer_end
Finds `</thinking>` at the end of the buffer (for tool_use or final flush), where the double-newline requirement is relaxed to trailing whitespace.
crates/llm-access-kiro/src/anthropic/stream/inline_thinking.rs:106
↓ 3 callersFunctionfind_real_thinking_start_tag
Finds `<thinking>` that is not inside quotes. Skips false positives where the tag is adjacent to quote characters.
crates/llm-access-kiro/src/anthropic/stream/inline_thinking.rs:74
↓ 3 callersFunctionfinish_sha256_hex
(hasher: Sha256)
crates/llm-access/src/moderation.rs:614
← previousnext →1,101–1,200 of 7,843, ranked by callers