Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuantumNous/new-api
/ types & classes
Types & classes
1,804 in github.com/QuantumNous/new-api
⨍
Functions
11,943
◇
Types & classes
1,804
↓ 56 callers
TypeAlias
TaskPlatform
constant/task.go:3
↓ 21 callers
TypeAlias
TaskStatus
model/task.go:17
↓ 7 callers
TypeAlias
Effort
relaykit/relayconvert/reasoning/intent.go:12
↓ 7 callers
TypeAlias
RelayFormat
relaykit/types/relay_format.go:3
↓ 6 callers
TypeAlias
JSONValue
PrefillGroup 用于存储可复用的“组”信息,例如模型组、标签组、端点组等。 Name 字段保持唯一,用于在前端下拉框中展示。 Type 字段用于区分组的类别,可选值如:model、tag、endpoint。 Items 字段使用 JSON 数组保存对应类型的字符串集合,示例: ["gpt-
model/prefill_group.go:20
↓ 4 callers
TypeAlias
ErrorCode
relaykit/types/error.go:38
↓ 4 callers
TypeAlias
Namespace
Namespace isolates keys between different cache use-cases. (e.g. "channel_affinity:v1").
pkg/cachex/namespace.go:6
↓ 3 callers
TypeAlias
Mode
relaykit/relayconvert/reasoning/intent.go:24
↓ 3 callers
FuncType
awsHTTPClientFunc
func(*http.Request) (*http.Response, error)
relay/channel/aws/relay_aws_test.go:30
↓ 1 callers
TypeAlias
Alias
再正常解析已定义字段
relaykit/dto/openai_image.go:56
↓ 1 callers
TypeAlias
BoolValue
relaykit/dto/values.go:56
↓ 1 callers
TypeAlias
CompressionBits
relay/channel/volcengine/protocols.go:20
↓ 1 callers
TypeAlias
DatabaseType
common/database.go:3
↓ 1 callers
TypeAlias
FunctionCallingConfigMode
relaykit/dto/gemini.go:55
↓ 1 callers
Struct
GeminiChatGenerationConfig
relaykit/dto/gemini.go:349
↓ 1 callers
Struct
GeminiChatRequest
relaykit/dto/gemini.go:12
↓ 1 callers
Struct
GeminiInlineData
relaykit/dto/gemini.go:206
↓ 1 callers
Struct
GeminiPart
relaykit/dto/gemini.go:284
↓ 1 callers
Struct
GeminiThinkingConfig
relaykit/dto/gemini.go:164
↓ 1 callers
TypeAlias
HeaderSizeBits
relay/channel/volcengine/protocols.go:18
↓ 1 callers
Struct
ImageRequest
relaykit/dto/openai_image.go:17
↓ 1 callers
TypeAlias
IntValue
relaykit/dto/values.go:32
↓ 1 callers
TypeAlias
LocalizedText
LocalizedText is locale-keyed display copy. Plugin source may use a bare string (normalized to {"en": s}) or a map that must include "en". API respons
pkg/jsplugin/registry.go:42
↓ 1 callers
TypeAlias
MsgType
relay/channel/volcengine/protocols.go:15
↓ 1 callers
TypeAlias
MsgTypeFlagBits
relay/channel/volcengine/protocols.go:16
↓ 1 callers
TypeAlias
MultiKeyMode
constant/multi_key_mode.go:3
↓ 1 callers
TypeAlias
RequestConverterQuality
relaykit/relayconvert/request_registry.go:24
↓ 1 callers
TypeAlias
ResponseConverterQuality
relaykit/relayconvert/response_registry.go:32
↓ 1 callers
TypeAlias
RouteType
pkg/jsplugin/routing.go:16
↓ 1 callers
TypeAlias
SerializationBits
relay/channel/volcengine/protocols.go:19
↓ 1 callers
TypeAlias
StringValue
relaykit/dto/values.go:10
↓ 1 callers
TypeAlias
VersionBits
relay/channel/volcengine/protocols.go:17
↓ 1 callers
TypeAlias
responsesOutputAlias
relaykit/dto/openai_response.go:396
Class
web/src/test-setup.ts:59
Class
web/src/lib/auth-session.ts:63
Class
web/src/lib/auth-session.ts:83
Class
web/src/lib/secure-verification.ts:23
Class
web/src/features/security/__tests__/account-security.test.tsx:83
Class
web/src/features/security/__tests__/account-security.test.tsx:83
Class
web/src/features/security/__tests__/enrollment.test.tsx:55
Class
web/src/features/security/__tests__/enrollment.test.tsx:55
Class
web/src/features/auth/secure-verification/__tests__/verification-api.test.ts:49
Class
web/src/features/auth/secure-verification/__tests__/verification-api.test.ts:49
Class
web/src/features/auth/secure-verification/__tests__/verification-flow.test.tsx:110
Class
web/src/features/auth/secure-verification/__tests__/verification-flow.test.tsx:110
Class
web/src/features/usage-logs/lib/task-artifacts.ts:36
Class
web/src/features/playground/hooks/use-stream-request.test.ts:32
Class
web/src/features/task-plugins/api.ts:48
Class
web/src/features/task-plugins/lib/plugin-url.ts:81
Struct
AIProxyUserOverviewResponse
controller/channel-billing.go:76
Struct
APGC2DGPTUsageResponse
controller/channel-billing.go:92
Struct
API2GPTUsageResponse
controller/channel-billing.go:85
Struct
APIError
APIError represents an API error response
pkg/ionet/types.go:267
Struct
Ability
model/ability.go:18
Struct
AbilityWithChannel
model/ability.go:28
Struct
AccessDeniedError
AccessDeniedError is a direct user-facing access denial message.
oauth/types.go:63
Interface
AccessTokenStatus
web/src/features/security/api.ts:27
Struct
AccountBindingContext
service/security_verification.go:59
Interface
AccountBindingsProps
web/src/features/security/components/account-bindings.tsx:64
Struct
AccountLoginMethods
AccountLoginMethods is a snapshot of administrator-enabled login mechanisms. Enrollment is checked inside the transaction, not trusted from this snaps
model/account_security.go:62
Interface
AccountSecurityResult
web/src/features/profile/types.ts:136
Struct
AccountUnbindingContext
service/security_verification.go:65
Struct
ActionButton
dto/midjourney.go:96
Struct
ActionDefinition
ActionDefinition describes a single action exposed by a resource. DefaultRoles lists the role keys that receive this action as part of their baseline
service/authz/registry.go:5
Interface
Adaptor
relay/channel/adapter.go:17
Struct
Adaptor
relay/channel/replicate/adaptor.go:28
Struct
Adaptor
relay/channel/jimeng/adaptor.go:20
Struct
Adaptor
relay/channel/gemini/adaptor.go:23
Struct
Adaptor
relay/channel/deepseek/adaptor.go:23
Struct
Adaptor
relay/channel/ali/adaptor.go:25
Struct
Adaptor
relay/channel/xunfei/adaptor.go:17
Struct
Adaptor
relay/channel/ollama/adaptor.go:20
Struct
Adaptor
relay/channel/mistral/adaptor.go:17
Struct
Adaptor
relay/channel/zhipu_4v/adaptor.go:22
Struct
Adaptor
relay/channel/palm/adaptor.go:18
Struct
Adaptor
relay/channel/jina/adaptor.go:20
Struct
Adaptor
relay/channel/xai/adaptor.go:22
Struct
Adaptor
relay/channel/moonshot/adaptor.go:23
Struct
Adaptor
relay/channel/newapi/adaptor.go:20
Struct
Adaptor
relay/channel/openai/adaptor.go:40
Struct
Adaptor
relay/channel/aws/adaptor.go:28
Struct
Adaptor
relay/channel/submodel/adaptor.go:17
Struct
Adaptor
relay/channel/minimax/adaptor.go:23
Struct
Adaptor
relay/channel/perplexity/adaptor.go:20
Struct
Adaptor
relay/channel/zhipu/adaptor.go:18
Struct
Adaptor
relay/channel/tencent/adaptor.go:21
Struct
Adaptor
relay/channel/dify/adaptor.go:24
Struct
Adaptor
relay/channel/siliconflow/adaptor.go:21
Struct
Adaptor
relay/channel/sub2api/adaptor.go:7
Struct
Adaptor
relay/channel/baidu_v2/adaptor.go:20
Struct
Adaptor
relay/channel/volcengine/adaptor.go:32
Struct
Adaptor
relay/channel/vertex/adaptor.go:52
Struct
Adaptor
relay/channel/codex/adaptor.go:21
Struct
Adaptor
relay/channel/cohere/adaptor.go:18
Struct
Adaptor
relay/channel/advancedcustom/adaptor.go:30
Struct
Adaptor
relay/channel/baidu/adaptor.go:19
Struct
Adaptor
relay/channel/cloudflare/adaptor.go:20
Struct
Adaptor
relay/channel/mokaai/adaptor.go:19
Struct
Adaptor
relay/channel/claude/adaptor.go:21
Struct
Adaptor
relay/channel/coze/adaptor.go:19
next →
1–100 of 1,804, ranked by callers