MCPcopy Create free account

hub / github.com/YuJunZhiXue/qwen2API / functions

Functions1,037 in github.com/YuJunZhiXue/qwen2API

↓ 6 callersMethodsyncLegacyRateLimit
()
backend/main.go:789
↓ 6 callersFunctiontoolAliasKey
(value string)
backend/toolcall/normalize.go:34
↓ 5 callersMethodFill
(ctx context.Context)
backend/main.go:1609
↓ 5 callersFunctionNormalizeToolInput
NormalizeToolInput decodes nested JSON strings and supplies empty argument maps.
backend/toolcall/normalize.go:95
↓ 5 callersMethodSave
()
backend/main.go:351
↓ 5 callersMethodVerifyTokenDetail
(ctx context.Context, token string)
backend/main.go:8282
↓ 5 callersFunctionactiveRateLimits
(acc: AccountItem)
frontend/src/pages/AccountsPage.tsx:104
↓ 5 callersFunctionadminRequestErrorMessage
(res: Response)
frontend/src/lib/auth.ts:71
↓ 5 callersFunctionasText
(value: unknown)
frontend/src/lib/models.ts:67
↓ 5 callersFunctioncanonicalToolName
(name string, allowed map[string]string)
backend/toolcall/normalize.go:9
↓ 5 callersMethodcaptureSieveToolCalls
(ctx context.Context, req StandardRequest, result *CompletionResult, calls []ParsedToolCall, stage string, onC
backend/main.go:2904
↓ 5 callersFunctioncoerceBool
(v any)
backend/adapter/standard_request.go:2018
↓ 5 callersFunctiondeepCopyMap
(src map[string]any)
backend/context_pipeline.go:404
↓ 5 callersFunctionextractRoundNumbers
(text string, re *regexp.Regexp)
backend/adapter/standard_request.go:516
↓ 5 callersFunctionfirstBlockedToolName
(result CompletionResult, allowedNames []string)
backend/main.go:7780
↓ 5 callersFunctionforEachJSONFragment
(text string, visit func(any))
backend/main.go:6248
↓ 5 callersFunctionisRepeatedToolCallBlockedResult
(result CompletionResult)
backend/main.go:3714
↓ 5 callersMethodloadUploadedLocalFiles
()
backend/context_pipeline.go:505
↓ 5 callersFunctionmapValue
(v any)
backend/adapter/standard_request.go:1903
↓ 5 callersFunctionnormalizeLower
---- migrated from util.go ----
backend/main.go:8892
↓ 5 callersFunctionnormalizeProfileToolName
(name string)
backend/adapter/tool_profile_common.go:133
↓ 5 callersFunctionnormalizeWorkspacePath
(pathText string)
backend/context_pipeline.go:368
↓ 5 callersFunctionnormalizedRoundScanText
(text string)
backend/main.go:3405
↓ 5 callersFunctionopenAIToolCalls
(calls []ParsedToolCall)
backend/main.go:8865
↓ 5 callersFunctionparseModelMode
(modelID, defaultModel string)
backend/main.go:1926
↓ 5 callersFunctionqwenFirstString
(values ...any)
backend/services/qwen_client.go:130
↓ 5 callersFunctionreadReasoningFields
(value: unknown)
frontend/src/pages/TestPage.tsx:95
↓ 5 callersMethodrecordStandardRequest
(ctx context.Context, req StandardRequest)
backend/main.go:4624
↓ 5 callersFunctionrenameFirstPresent
(m map[string]any, canonical string, aliases ...string)
backend/toolcall/parser.go:533
↓ 5 callersMethodrunCompletion
(ctx context.Context, req StandardRequest, preferredEmail string)
backend/main.go:2562
↓ 5 callersMethodrunCompletionWithHooks
(ctx context.Context, req StandardRequest, preferredEmail string, hooks *completionStreamHooks)
backend/main.go:2616
↓ 5 callersFunctiontoolArgumentRetryInstruction
()
backend/main.go:4336
↓ 4 callersMethodAcquireFor
(ctx context.Context, preferredEmail, usage string)
backend/main.go:524
↓ 4 callersFunctionCompactSystemReminders
(text string)
backend/adapter/standard_request.go:1980
↓ 4 callersMethodHasAvailableFor
(usage string)
backend/main.go:444
↓ 4 callersMethodProcessChunk
(chunk string)
backend/toolcall/tool_sieve.go:37
↓ 4 callersMethodStreamChat
(ctx context.Context, token, chatID string, payload map[string]any, onEvent func(Event) error)
backend/upstream/qwen_executor.go:13
↓ 4 callersMethodWriteHeader
(status int)
backend/main.go:8393
↓ 4 callersFunctionappendAssistantDelta
(content: string, reasoning: string)
frontend/src/pages/TestPage.tsx:261
↓ 4 callersFunctionasyncDeleteChat
(client *QwenClient, token, chatID string)
backend/main.go:3776
↓ 4 callersFunctionbuildChatPayload
(chatID, model, content string, hasCustomTools bool, files []map[string]any, chatType string, imageOptions map
backend/main.go:8878
↓ 4 callersFunctionbuildChatStandardRequest
(body map[string]any, defaultModel, surface string)
backend/main.go:6897
↓ 4 callersMethodclassifyAccountError
(acc *Account, err error)
backend/main.go:4366
↓ 4 callersFunctionclassifyToolCapability
(name string)
backend/adapter/tool_profile_common.go:234
↓ 4 callersMethodcleanup
(ctx context.Context, deleteAll bool)
backend/main.go:1694
↓ 4 callersFunctioncoerceBool
(v any)
backend/main.go:8971
↓ 4 callersFunctioncountMatches
(re *regexp.Regexp, text string)
backend/services/truncation_recovery.go:74
↓ 4 callersFunctiondecodeQNMLValue
(raw string, paramName string)
backend/toolcall/formats_qnml.go:649
↓ 4 callersFunctionexportAccounts
(scope: "all" | "selected", format: "json" | "zip")
frontend/src/pages/AccountsPage.tsx:763
↓ 4 callersFunctionextractTextFromContent
(content: unknown)
frontend/src/pages/TestPage.tsx:77
↓ 4 callersFunctionfetchModelOptions
()
frontend/src/lib/models.ts:116
↓ 4 callersFunctionfirstNonEmpty
(values ...string)
backend/adapter/standard_request.go:1919
↓ 4 callersFunctionfirstString
(values ...any)
backend/toolcall/parser.go:119
↓ 4 callersFunctionformatModelOptionLabel
(option: ModelOption)
frontend/src/lib/models.ts:234
↓ 4 callersFunctiongroupModelOptions
(options: ModelOption[])
frontend/src/lib/models.ts:199
↓ 4 callersFunctionisRateLimitErrorMessage
(lower string)
backend/main.go:4425
↓ 4 callersMethodkeepaliveConfig
()
backend/main.go:2314
↓ 4 callersFunctionlocalizeError
(error?: string)
frontend/src/pages/AccountsPage.tsx:203
↓ 4 callersMethodmailRequest
(ctx context.Context, method, path string, body any, headers map[string]string)
backend/main.go:1056
↓ 4 callersFunctionmapList
(v any)
backend/main.go:9026
↓ 4 callersFunctionmarkerMatchStart
(text string)
backend/toolcall/tool_sieve.go:297
↓ 4 callersFunctionnormalizeUpstreamChatType
---- migrated from upstream_payload.go ----
backend/main.go:8874
↓ 4 callersMethodrecoverInvalidToolCallArgs
(ctx context.Context, acc *Account, req StandardRequest, result CompletionResult)
backend/main.go:3977
↓ 4 callersFunctionresolveModel
(name string)
backend/main.go:1898
↓ 4 callersMethodsaveLocalBytes
(filename, contentType string, raw []byte, source, purpose, ownerToken string, ephemeral bool)
backend/context_pipeline.go:458
↓ 4 callersMethodsaveSessionAffinityRecords
(records []SessionAffinityRecord)
backend/context_pipeline.go:552
↓ 4 callersMethodsaveUploadedLocalFiles
(records []UploadedLocalFileRecord)
backend/context_pipeline.go:516
↓ 4 callersFunctionschemaProperties
(schema map[string]any)
backend/toolcall/parser.go:422
↓ 4 callersMethodsetAuth
(auth map[string]any)
backend/main.go:965
↓ 4 callersFunctionshouldRecoverMissingInitialToolCall
(req StandardRequest, result CompletionResult)
backend/main.go:7354
↓ 4 callersFunctionstatusNote
(acc: AccountItem)
frontend/src/pages/AccountsPage.tsx:159
↓ 4 callersFunctionstopTimer
(timer *time.Timer)
backend/main.go:7859
↓ 4 callersFunctionstringValue
(m map[string]any, key, fallback string)
backend/toolcall/parser.go:109
↓ 4 callersFunctiontoolAliasKey
(value string)
backend/services/tool_parser.go:117
↓ 4 callersFunctiontoolSchema
(name string, tools []map[string]any)
backend/toolcall/parser.go:401
↓ 4 callersFunctiontrim
(text string, limit int)
backend/main.go:9074
↓ 4 callersFunctiontrim
(text string, limit int)
backend/adapter/standard_request.go:2049
↓ 4 callersFunctionwriteJSONFileLocked
(path string, v any)
backend/main.go:8734
↓ 3 callersFunctionBuildModelEntry
(modelID, baseModel string, capabilities map[string]bool, mode, displayName, family string, created int64, own
backend/services/model_catalog.go:10
↓ 3 callersFunctionCoerceToolInput
CoerceToolInput mirrors the Python bridge's practical argument repair layer. It keeps Qwen's small naming mistakes from reaching Claude Code as invali
backend/toolcall/parser.go:239
↓ 3 callersMethodDeleteChat
(ctx context.Context, token, chatID string)
backend/upstream/qwen_executor.go:12
↓ 3 callersMethodFlush
()
backend/toolcall/tool_sieve.go:89
↓ 3 callersMethodMarkRateLimitedFor
(acc *Account, usage string, cooldown int, message string)
backend/main.go:638
↓ 3 callersMethodMarkSuccessFor
(acc *Account, usage string)
backend/main.go:606
↓ 3 callersMethodMarkVerification
(email string, result TokenVerifyResult)
backend/main.go:655
↓ 3 callersFunctionParseTextKVInput
ParseTextKVInput accepts simple key=value / key: value argument blocks.
backend/toolcall/fallback_textkv.go:9
↓ 3 callersMethodRememberModel
(model, chatType string)
backend/main.go:1557
↓ 3 callersMethodRemove
(email string)
backend/main.go:477
↓ 3 callersMethodReset
()
backend/toolcall/stream_state.go:25
↓ 3 callersMethodStart
(ctx context.Context)
backend/main.go:1493
↓ 3 callersMethodText
()
backend/toolcall/stream_state.go:17
↓ 3 callersMethodadvanceMarkdownFence
(text string)
backend/toolcall/tool_sieve.go:213
↓ 3 callersMethodanthropicContentBlocks
(ctx context.Context, req StandardRequest, result CompletionResult, stage string)
backend/main.go:7153
↓ 3 callersFunctionanyString
(v any, fallback string)
backend/services/model_catalog.go:221
↓ 3 callersFunctionargTextValue
(value any)
backend/main.go:3537
↓ 3 callersFunctionattrs
(ctx context.Context, fields LogFields)
backend/core/request_logging.go:34
↓ 3 callersFunctioncanonicalizeMarkupOutsideCDATA
(text string)
backend/toolcall/formats_qnml.go:117
↓ 3 callersFunctioncanonicalizeMarkupPiece
(piece string)
backend/toolcall/formats_qnml.go:132
↓ 3 callersMethodcaptureDetectedToolCalls
(ctx context.Context, req StandardRequest, result *CompletionResult, calls []ParsedToolCall, stage string)
backend/main.go:2838
↓ 3 callersFunctionchooseDefaultModel
(options: ModelOption[], currentModel?: string, preferredId?: string)
frontend/src/lib/models.ts:192
← previousnext →101–200 of 1,037, ranked by callers