Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YuJunZhiXue/qwen2API
/ functions
Functions
1,037 in github.com/YuJunZhiXue/qwen2API
⨍
Functions
1,037
◇
Types & classes
114
↓ 3 callers
Function
cloneMap
(m map[string]any)
backend/toolcall/parser.go:546
↓ 3 callers
Function
cloneRateLimits
(in map[string]AccountRateLimit)
backend/main.go:825
↓ 3 callers
Function
coerceQNMLScalar
(raw string, rawString bool)
backend/toolcall/formats_qnml.go:671
↓ 3 callers
Method
consumeToolCapture
(force bool)
backend/toolcall/tool_sieve.go:116
↓ 3 callers
Function
contentToText
(content any)
backend/adapter/standard_request.go:1879
↓ 3 callers
Function
dedupeStrings
(values []string)
backend/main.go:6322
↓ 3 callers
Function
envInt
(key string, fallback int)
start-all.go:465
↓ 3 callers
Function
exampleToolParams
(tool map[string]any)
backend/adapter/standard_request.go:1651
↓ 3 callers
Function
extractNameAttr
(attrs string)
backend/toolcall/formats_qnml.go:409
↓ 3 callers
Function
extractReasoningFromContent
(content: unknown)
frontend/src/pages/TestPage.tsx:130
↓ 3 callers
Function
extractRoundRecords
(text string)
backend/adapter/standard_request.go:537
↓ 3 callers
Function
extractVideoURLs
(text string)
backend/main.go:6159
↓ 3 callers
Function
fileExists
(path string)
start-all.go:492
↓ 3 callers
Function
getRatioStatus
(img: GeneratedImage)
frontend/src/pages/ImagePage.tsx:159
↓ 3 callers
Function
imageRatio
(options map[string]any)
backend/upstream/payload_builder.go:100
↓ 3 callers
Function
inferModeFromId
(modelId: string)
frontend/src/lib/models.ts:79
↓ 3 callers
Function
intSliceContains
(values []int, want int)
backend/main.go:3409
↓ 3 callers
Function
invalidToolCallReason
(call ParsedToolCall)
backend/main.go:3422
↓ 3 callers
Function
invalidToolMarkupFallback
(req StandardRequest, result CompletionResult)
backend/main.go:4344
↓ 3 callers
Function
isControlToolName
(name string)
backend/adapter/standard_request.go:1966
↓ 3 callers
Function
isFileCacheHint
(text string)
backend/context_pipeline.go:193
↓ 3 callers
Function
isLikelyCompletedToolTurn
(text string)
backend/main.go:7579
↓ 3 callers
Function
isModelNotFoundErrorMessage
(lower string)
backend/main.go:4457
↓ 3 callers
Function
isTransientUpstreamErrorMessage
(lower string)
backend/main.go:4511
↓ 3 callers
Function
latestRepeatedToolCallActivity
(messages []any, limit int)
backend/adapter/standard_request.go:755
↓ 3 callers
Function
makeToolCallActivity
(name, args string)
backend/adapter/standard_request.go:836
↓ 3 callers
Function
messageToolResultSummaries
(msg map[string]any)
backend/adapter/standard_request.go:918
↓ 3 callers
Function
missingRequiredArgs
(name string, input any, tools []map[string]any)
backend/toolcall/parser.go:464
↓ 3 callers
Function
mustJSON
(v any)
backend/toolcall/parser.go:146
↓ 3 callers
Method
normalize
()
backend/main.go:682
↓ 3 callers
Function
normalizeApiKey
(input: string)
frontend/src/lib/auth.ts:7
↓ 3 callers
Function
obfuscateBareToolNames
(text string, tools []map[string]any)
backend/adapter/standard_request.go:1274
↓ 3 callers
Function
parsedToolCallSignature
(call ParsedToolCall)
backend/main.go:3670
↓ 3 callers
Method
prepareStandardRequest
(ctx context.Context, r *http.Request, body map[string]any, defaultModel, surface, authToken string)
backend/context_pipeline.go:1477
↓ 3 callers
Method
prewarmEnabled
()
backend/main.go:1532
↓ 3 callers
Function
promptDisallowsToolCall
(prompt, toolName string)
backend/main.go:2956
↓ 3 callers
Function
qwenHeaders
(token string)
backend/main.go:7893
↓ 3 callers
Function
rateLimitReasonForUsage
(usage string)
backend/main.go:853
↓ 3 callers
Method
rateLimitedUntilFor
(usage string)
backend/main.go:749
↓ 3 callers
Method
record
(status int, err error)
backend/main.go:2280
↓ 3 callers
Function
responseStringifyContent
(value any)
backend/main.go:5284
↓ 3 callers
Function
responsesToolItems
(calls []ParsedToolCall)
backend/main.go:8869
↓ 3 callers
Function
reverseStrings
(values []string)
backend/adapter/standard_request.go:950
↓ 3 callers
Function
runForegroundOutput
(spec commandSpec)
start-all.go:303
↓ 3 callers
Function
safeRemoveGeneratedPath
(rootDir, target string)
backend/context_pipeline.go:1314
↓ 3 callers
Function
serviceOf
(acc: AccountItem)
frontend/src/pages/AccountsPage.tsx:165
↓ 3 callers
Method
setRateLimitFor
(usage string, until float64, message string)
backend/main.go:760
↓ 3 callers
Function
shouldBufferStreamTextDeltas
(req StandardRequest)
backend/main.go:3666
↓ 3 callers
Function
shouldForceToolContinuation
(req StandardRequest, result CompletionResult)
backend/main.go:7331
↓ 3 callers
Function
sleep
(ms: number)
frontend/src/pages/TestPage.tsx:126
↓ 3 callers
Function
splitEnvList
(value string)
backend/main.go:2062
↓ 3 callers
Function
splitInlineThinking
(content: string, reasoning = "")
frontend/src/pages/TestPage.tsx:112
↓ 3 callers
Function
streamTimeoutDuration
(seconds int)
backend/main.go:7848
↓ 3 callers
Function
toolCallNameAndArgs
(call map[string]any)
backend/adapter/standard_request.go:1782
↓ 3 callers
Function
toolInputPreview
(input any, limit int)
backend/main.go:7236
↓ 3 callers
Function
warmChatKey
(email, model, chatType string)
backend/main.go:1751
↓ 2 callers
Method
Acquire
(ctx context.Context, preferredEmail string)
backend/main.go:520
↓ 2 callers
Method
Apply
(cfg KeepAliveConfig)
backend/main.go:2195
↓ 2 callers
Method
Available
(maxInflight int)
backend/core/account_pool/pool_core.go:89
↓ 2 callers
Function
EstimateTokens
(text string)
backend/services/token_calc.go:5
↓ 2 callers
Method
Get
(apiToken, filePath string)
backend/context_pipeline.go:171
↓ 2 callers
Method
GetChatDetail
(ctx context.Context, token, chatID string, timeout time.Duration)
backend/main.go:8216
↓ 2 callers
Method
Normalize
()
backend/core/account_pool/pool_core.go:78
↓ 2 callers
Function
ParseSSEBlock
ParseSSEBlock decodes one SSE block with data: JSON payloads.
backend/upstream/sse_consumer.go:48
↓ 2 callers
Function
ParseToolCalls
ParseToolCalls extracts tool calls from XML/QNML-style and JSON fragments.
backend/toolcall/parser.go:20
↓ 2 callers
Method
Put
(apiToken, filePath, content string)
backend/context_pipeline.go:153
↓ 2 callers
Function
SanitizeVisibleText
(text string)
backend/runtime/execution.go:176
↓ 2 callers
Function
anthropicMessages
(body map[string]any)
backend/main.go:5450
↓ 2 callers
Function
asRecord
(value: unknown)
frontend/src/lib/models.ts:71
↓ 2 callers
Function
backendEnv
(root string, port int, adminKey string, prewarmTarget int)
start-all.go:224
↓ 2 callers
Function
boolLogValue
(value bool)
backend/main.go:8634
↓ 2 callers
Function
buildRepeatedToolCallNotice
(messages []any)
backend/adapter/standard_request.go:737
↓ 2 callers
Function
canonicalToolName
(name string, allowed map[string]string)
backend/main.go:8814
↓ 2 callers
Method
clearRateLimitFor
(usage string)
backend/main.go:779
↓ 2 callers
Function
clickFirst
(page pw.Page, selectors []string, timeoutMS float64)
backend/main.go:1299
↓ 2 callers
Function
collectImportAccounts
(value: unknown)
frontend/src/pages/AccountsPage.tsx:230
↓ 2 callers
Function
collectMediaURLs
(value any, urls *[]string, keys map[string]bool, looks func(string) bool)
backend/main.go:6261
↓ 2 callers
Function
collectRecentToolActivity
(messages []any, limit int)
backend/adapter/standard_request.go:702
↓ 2 callers
Method
compactRateLimits
()
backend/main.go:796
↓ 2 callers
Function
compactSystemReminders
(text string)
backend/main.go:7063
↓ 2 callers
Function
concatBytes
(chunks: Uint8Array[])
frontend/src/pages/AccountsPage.tsx:319
↓ 2 callers
Function
convertResponseContentPart
(part any, role string)
backend/main.go:5143
↓ 2 callers
Function
convertResponseMessageContent
(content any, role string)
backend/main.go:5107
↓ 2 callers
Function
copyToClipboard
(text: string)
frontend/src/pages/TokensPage.tsx:61
↓ 2 callers
Function
decodeDataURI
(uri string)
backend/context_pipeline.go:591
↓ 2 callers
Function
deriveWorkspaceRoot
(payload map[string]any)
backend/context_pipeline.go:233
↓ 2 callers
Function
detectToolProfile
(tools []map[string]any)
backend/adapter/tool_profile_common.go:94
↓ 2 callers
Function
dispatchSseEvent
()
frontend/src/pages/TestPage.tsx:414
↓ 2 callers
Function
downloadBlob
(name: string, blob: Blob)
frontend/src/pages/AccountsPage.tsx:278
↓ 2 callers
Function
exeName
(name string)
start-all.go:497
↓ 2 callers
Function
extensionLower
(name string)
backend/context_pipeline.go:1090
↓ 2 callers
Function
extractAPIToken
(r *http.Request)
backend/main.go:2548
↓ 2 callers
Function
extractPlainRoundMentions
(text string)
backend/main.go:3241
↓ 2 callers
Function
extractProgressRoundRecords
(text string)
backend/main.go:3366
↓ 2 callers
Function
extractToolFilePathFromAny
(value any)
backend/context_pipeline.go:1437
↓ 2 callers
Function
extractTopicEntities
(text string)
backend/adapter/standard_request.go:327
↓ 2 callers
Function
extractUpstreamFailure
(text string)
backend/main.go:6184
↓ 2 callers
Function
extractVerifyLinkFromPage
(page pw.Page)
backend/main.go:1387
↓ 2 callers
Function
fenceRun
(stripped string)
backend/toolcall/formats_qnml.go:394
↓ 2 callers
Function
fillFirst
(page pw.Page, selectors []string, value string, timeoutMS float64)
backend/main.go:1287
← previous
next →
201–300 of 1,037, ranked by callers