| .. |
|
limiter
|
e121e77265
Refactor: Optimize the token bucket algorithm, specifically the New method in common/imiterlimiter.go.
|
1 rok temu |
|
api_type.go
|
2fb5fc231d
Merge branches 'main' and 'main' of github.com:danding5/new-api
|
7 miesięcy temu |
|
constants.go
|
8294a76bc2
💱 feat(settings): introduce site-wide quota display type (USD/CNY/TOKENS/CUSTOM)
|
7 miesięcy temu |
|
copy.go
|
f7c4eda0f3
Revert "refactor: replace DeepCopy with Copy for request handling consistency"
|
8 miesięcy temu |
|
crypto.go
|
6e002a5f0f
feat: enhance environment variable handling and security features
|
1 rok temu |
|
custom-event.go
|
28ededaf8e
fix: WriteContentType panic
|
9 miesięcy temu |
|
database.go
|
8294a76bc2
💱 feat(settings): introduce site-wide quota display type (USD/CNY/TOKENS/CUSTOM)
|
7 miesięcy temu |
|
email-outlook-auth.go
|
60448fbd41
fix: 多地区outlook邮箱和ofb邮箱Auth
|
1 rok temu |
|
email.go
|
a0017f2235
feat: 增加sendcloud邮件服务器的支持 (#947)
|
1 rok temu |
|
embed-file-system.go
|
4cbef0780e
Initial commit
|
3 lat temu |
|
endpoint_defaults.go
|
63bbd9e3c3
feat: add endpoint type selection to channel testing functionality
|
7 miesięcy temu |
|
endpoint_type.go
|
95775a5a52
✨ feat(endpoint types): add support for image generation models in endpoint type handling
|
10 miesięcy temu |
|
env.go
|
2e45163f93
feat: add env DIFY_DEBUG
|
1 rok temu |
|
gin.go
|
13301d8544
fix: enhance error handling for invalid request types in relay handlers
|
8 miesięcy temu |
|
go-channel.go
|
4ea2556b29
refactor: Replace manual goroutine creation with gopool.Go
|
1 rok temu |
|
gopool.go
|
d647214555
refactor: Centralize stream handling and helper functions in relay package
|
1 rok temu |
|
hash.go
|
df69147da9
fix: for AI review problems
|
10 miesięcy temu |
|
init.go
|
c7281a353f
fix(env): update STREAMING_TIMEOUT default value to 300 seconds
|
8 miesięcy temu |
|
ip.go
|
c3f5478593
feat: implement SSRF protection settings and update related references
|
7 miesięcy temu |
|
json.go
|
3e5bc637de
fix: Invalid type for 'input[x].summary': expected an array of objects, but got null instead
|
8 miesięcy temu |
|
model.go
|
95775a5a52
✨ feat(endpoint types): add support for image generation models in endpoint type handling
|
10 miesięcy temu |
|
page_info.go
|
ddb497a4a7
fix: page query param is p
|
9 miesięcy temu |
|
pprof.go
|
580dfd9485
添加pprof性能分析
|
2 lat temu |
|
quota.go
|
112de0b6a6
refactor: enhance quota handling and logging for pre-consume operations
|
8 miesięcy temu |
|
rate-limit.go
|
4cbef0780e
Initial commit
|
3 lat temu |
|
redis.go
|
f14f4eaf1a
✨ feat: refactor environment variable initialization and introduce new constant types for API and context keys
|
10 miesięcy temu |
|
ssrf_protection.go
|
7af1dc42d4
fix: use u.Hostname() instead of u.Host to avoid ipv6 host parse failed
|
7 miesięcy temu |
|
str.go
|
4858e98b2d
refactor: simplify domain masking logic by removing URL check
|
8 miesięcy temu |
|
sys_log.go
|
da88e746ef
feat: add startup logging with network IPs and container detection
|
7 miesięcy temu |
|
topup-ratio.go
|
eca52104cc
chore: 重构
|
1 rok temu |
|
totp.go
|
b56a75cbe3
fix: coderabbit review
|
9 miesięcy temu |
|
utils.go
|
b836bce81c
feat: add startup logging with network IPs and container detection
|
7 miesięcy temu |
|
validate.go
|
4cbef0780e
Initial commit
|
3 lat temu |
|
verification.go
|
4cbef0780e
Initial commit
|
3 lat temu |