MCPcopy Create free account

hub / github.com/YuJunZhiXue/qwen2API / functions

Functions1,037 in github.com/YuJunZhiXue/qwen2API

↓ 2 callersFunctionxmlEscape
(text string)
backend/adapter/standard_request.go:1961
↓ 1 callersMethodAdd
(acc Account)
backend/core/account_pool/pool_core.go:58
↓ 1 callersMethodAdd
(attachment Attachment)
backend/services/context_attachment_manager.go:13
↓ 1 callersFunctionBuildChatPayload
BuildChatPayload builds the Qwen /api/v2/chat/completions request body.
backend/upstream/payload_builder.go:18
↓ 1 callersFunctionBuildToolInstructions
(tools []map[string]any)
backend/adapter/standard_request.go:1185
↓ 1 callersFunctionDedupeToolCalls
DedupeToolCalls removes repeated calls with the same name and arguments.
backend/toolcall/parser.go:46
↓ 1 callersFunctionDeriveFamily
(modelID string, item map[string]any)
backend/services/model_catalog.go:205
↓ 1 callersMethodEnsure
()
backend/main.go:8687
↓ 1 callersMethodEnsure
()
backend/core/database.go:23
↓ 1 callersFunctionEnvIntAlias
(key, alias string, fallback int)
backend/core/config.go:92
↓ 1 callersMethodExpired
(now time.Time)
backend/services/context_cleanup.go:6
↓ 1 callersFunctionExtractModelCapabilities
(item map[string]any)
backend/services/model_catalog.go:151
↓ 1 callersFunctionExtractThinkingEnabled
(body map[string]any)
backend/adapter/standard_request.go:113
↓ 1 callersFunctionFilterSensitiveFields
(fields map[string]any)
backend/core/log_filter.go:5
↓ 1 callersFunctionForEachJSONFragment
ForEachJSONFragment visits standalone JSON objects or arrays embedded in text.
backend/toolcall/formats_json.go:49
↓ 1 callersFunctionFormatUpstreamError
(obj map[string]any)
backend/upstream/qwen_executor.go:47
↓ 1 callersFunctionFormatUpstreamError
(obj map[string]any)
backend/services/qwen_client.go:76
↓ 1 callersMethodGetVisionTaskStatus
(ctx context.Context, token, taskID string, timeout time.Duration)
backend/main.go:8211
↓ 1 callersFunctionHasTextualToolMarker
(text string)
backend/services/tool_parser.go:47
↓ 1 callersFunctionHasTextualToolMarker
(text string)
backend/runtime/execution.go:158
↓ 1 callersMethodListChats
(ctx context.Context, token string, limit int)
backend/main.go:8221
↓ 1 callersMethodListModelsFromPool
(ctx context.Context)
backend/main.go:8245
↓ 1 callersMethodLoad
()
backend/main.go:313
↓ 1 callersMethodLoadAny
()
backend/main.go:8716
↓ 1 callersMethodLoadInto
(v any)
backend/core/database.go:34
↓ 1 callersFunctionLoadSettings
()
backend/main.go:1820
↓ 1 callersMethodMarkInvalid
(acc *Account, status, message string)
backend/main.go:621
↓ 1 callersMethodMarkSuccess
(acc *Account)
backend/main.go:602
↓ 1 callersFunctionMessagesToPrompt
(body map[string]any)
backend/adapter/standard_request.go:133
↓ 1 callersFunctionNewAccountPool
(store *JSONStore, settings Settings, logger *slog.Logger)
backend/main.go:304
↓ 1 callersFunctionNewApp
(settings Settings, logger *slog.Logger)
backend/main.go:140
↓ 1 callersFunctionNewChatIDPool
(client *QwenClient, accounts *AccountPool, settings Settings, logger *slog.Logger)
backend/main.go:1480
↓ 1 callersFunctionNewKeepAliveService
(logger *slog.Logger)
backend/main.go:2181
↓ 1 callersFunctionNewMailSession
()
backend/main.go:928
↓ 1 callersFunctionNewQwenClient
(pool *AccountPool, settings Settings, logger *slog.Logger)
backend/main.go:7877
↓ 1 callersFunctionNewTraceID
()
backend/core/request_trace.go:28
↓ 1 callersFunctionNormalizeAttachmentName
(name string)
backend/services/attachment_preprocessor.go:17
↓ 1 callersFunctionNormalizeChatType
NormalizeChatType maps API-facing aliases onto Qwen upstream chat types.
backend/upstream/payload_builder.go:10
↓ 1 callersFunctionNormalizeTools
(value any)
backend/adapter/standard_request.go:1165
↓ 1 callersFunctionNormalizeWarmChatType
(chatType string)
backend/services/chat_id_pool.go:27
↓ 1 callersMethodParse
(tools []map[string]any)
backend/toolcall/stream_state.go:21
↓ 1 callersFunctionParseModelMode
(modelID, defaultModel string)
backend/services/model_modes.go:43
↓ 1 callersFunctionParseQwenEvent
ParseQwenEvent normalizes the different text fields Qwen uses across models.
backend/upstream/sse_consumer.go:72
↓ 1 callersFunctionParseToolDirectiveOnce
(state RuntimeAttemptState, tools []map[string]any)
backend/runtime/execution.go:111
↓ 1 callersMethodPollVerifyLink
(ctx context.Context, email string, timeout time.Duration)
backend/main.go:1004
↓ 1 callersMethodPostChatCompletionOnce
(ctx context.Context, token, chatID string, payload map[string]any, timeout time.Duration)
backend/main.go:8175
↓ 1 callersFunctionQwenRequestID
()
backend/core/httpx_engine.go:29
↓ 1 callersFunctionQwenRequestID
()
backend/services/qwen_client.go:44
↓ 1 callersFunctionRedactToken
(token string)
backend/core/request_logging.go:45
↓ 1 callersFunctionResolveModel
(name string, aliases map[string]string)
backend/services/model_modes.go:23
↓ 1 callersMethodSetGlobalMaxInflight
(value int)
backend/main.go:511
↓ 1 callersMethodSetMaxInflight
(value int)
backend/main.go:497
↓ 1 callersMethodSetReadySetThreshold
(value int)
backend/main.go:504
↓ 1 callersMethodStart
(now time.Time)
backend/runtime/stream_metrics.go:14
↓ 1 callersMethodStartBackground
(ctx context.Context)
backend/main.go:175
↓ 1 callersMethodTake
(ctx context.Context, email, model, chatType string)
backend/main.go:1579
↓ 1 callersFunctionToQwenToolName
(name string)
backend/services/tool_name_obfuscation.go:36
↓ 1 callersFunctionTraceID
(ctx context.Context)
backend/core/request_trace.go:18
↓ 1 callersMethodUpdateSettings
(settings Settings)
backend/main.go:1539
↓ 1 callersMethodVerifyToken
(ctx context.Context, token string)
backend/main.go:8278
↓ 1 callersMethodaccountErrorCooldown
(lower string)
backend/main.go:4407
↓ 1 callersFunctionaccountFromRecord
(value: unknown)
frontend/src/pages/AccountsPage.tsx:216
↓ 1 callersMethodacquireCompletionChat
(ctx context.Context, req StandardRequest, preferredEmail string)
backend/main.go:2566
↓ 1 callersMethodactivateQwenAccount
(ctx context.Context, acc Account)
backend/main.go:1134
↓ 1 callersMethodaddUsedTokens
(token string, delta int)
backend/main.go:4944
↓ 1 callersFunctionalreadySelected
(selected []map[string]any, name string)
backend/adapter/standard_request.go:1625
↓ 1 callersFunctionanthropicPrompt
(body map[string]any)
backend/main.go:5459
↓ 1 callersFunctionappendAssistantTypewriter
(message: ChatMessage)
frontend/src/pages/TestPage.tsx:275
↓ 1 callersFunctionapplyTopicIsolation
(messages []any)
backend/adapter/standard_request.go:243
↓ 1 callersFunctionargValuePresent
(value any)
backend/main.go:3635
↓ 1 callersMethodavailable
(settings Settings)
backend/main.go:697
↓ 1 callersFunctionboolValue
(v any)
backend/main.go:8966
↓ 1 callersFunctionboolValue
(v any)
backend/adapter/standard_request.go:2005
↓ 1 callersMethodbuildAnthropicPayload
(ctx context.Context, id, model, prompt string, req StandardRequest, result CompletionResult, stage string)
backend/main.go:7144
↓ 1 callersFunctionbuildBackend
(goExe, backendDir, canonicalExe string)
start-all.go:260
↓ 1 callersFunctionbuildCapabilityMap
(tools []map[string]any)
backend/adapter/tool_profile_common.go:205
↓ 1 callersFunctionbuildCommonToolInstructionPrefix
(profile cliToolProfile)
backend/adapter/tool_profile_common.go:163
↓ 1 callersFunctionbuildDroppedHistoryNotice
(originalMessages, keptMessages []any, tools []map[string]any)
backend/adapter/standard_request.go:639
↓ 1 callersFunctionbuildFallbackModelList
()
backend/main.go:6772
↓ 1 callersFunctionbuildFewShotBlock
(tools []map[string]any)
backend/adapter/standard_request.go:1501
↓ 1 callersFunctionbuildModelEntry
---- migrated from models.go ----
backend/main.go:6743
↓ 1 callersFunctionbuildOpenAICompletionPayload
(id string, created int64, req StandardRequest, result CompletionResult)
backend/main.go:7078
↓ 1 callersFunctionbuildOpenAIModelList
(upstream []map[string]any)
backend/main.go:6776
↓ 1 callersFunctionbuildOrderedRoundRecordState
(messages []any, originalGoal string)
backend/adapter/standard_request.go:471
↓ 1 callersFunctionbuildProfileToolBlock
(profile cliToolProfile, tools []map[string]any)
backend/adapter/tool_profile_common.go:187
↓ 1 callersFunctionbuildQNMLToolInstructions
(tools []map[string]any, names []string, schemas []string)
backend/adapter/standard_request.go:1307
↓ 1 callersFunctionbuildTaskMemoryBlock
(messages []any, tools []map[string]any)
backend/adapter/standard_request.go:424
↓ 1 callersFunctionbuildToolInstructions
(tools []map[string]any)
backend/main.go:7047
↓ 1 callersFunctionbuildToolResultFollowupNotice
(messages []any)
backend/adapter/standard_request.go:1058
↓ 1 callersFunctionbuildWorkspaceNotice
(workspaceRoot string)
backend/context_pipeline.go:222
↓ 1 callersFunctioncanonicalToolTag
(closing bool, body string, selfClosing bool)
backend/toolcall/formats_qnml.go:170
↓ 1 callersFunctioncanonicalizeQNML
(text string)
backend/toolcall/formats_qnml.go:111
↓ 1 callersFunctioncapabilityBadges
(option?: ModelOption)
frontend/src/lib/models.ts:134
↓ 1 callersFunctionclaudeCodeToolProfile
()
backend/adapter/tool_profile_claude_code.go:3
↓ 1 callersFunctioncleanMangledQNMLValue
(value string)
backend/toolcall/formats_qnml.go:624
↓ 1 callersFunctioncleanWorkspaceCandidate
(value string)
backend/context_pipeline.go:283
↓ 1 callersMethodcleanupContextArtifacts
(ctx context.Context)
backend/context_pipeline.go:1504
↓ 1 callersFunctionclearStoredApiKey
()
frontend/src/lib/auth.ts:61
↓ 1 callersFunctioncn
(...inputs: ClassValue[])
frontend/src/lib/utils.ts:4
↓ 1 callersFunctioncoerceToolCalls
(calls []ParsedToolCall, tools []map[string]any)
backend/toolcall/parser.go:154
← previousnext →401–500 of 1,037, ranked by callers