mirror of
https://github.com/hanzoai/ai.git
synced 2026-11-21 02:05:26 +00:00
A raced loser adds what it spent to the day and gives nothing back; the seat closes once, when the answer and every loser are counted (seat.lost, ask.race). The quote (quote.go) reads every body byte as a token, a decodable picture as its tiles, a remote picture as the largest, a PDF, remote document or stored file as a whole context, a cache write at the hour rate, n choices and a predicted output. The shared Anthropic account no longer serves web fetch, tool search or compaction, which reread the prompt in the vendor's own loop. An org with nothing in flight may seat one call past its share, up to the day's room; a chat that does not fit is sent with the highest ceiling that does (X-Hanzo-Lane-Max-Tokens); a payer holds at most 8 seats; a stream its client stops reading gives its hold back after 2 minutes; a refusal says why: full right now, the day used, closed, or too large (413). The day only moves forward and carries holds over midnight; spend is written to the store off the request path in one atomic upsert, retried, and drained by Settled. The lane is closed unless CLOUD_API_REPLICAS=1. With the switch off, race losers, video polls and Jev decisions bill and refuse as before. Co-authored-by: Hanzo Dev <[email protected]>
324 lines
15 KiB
AMPL
324 lines
15 KiB
AMPL
module github.com/hanzoai/ai
|
|
|
|
go 1.27.1
|
|
|
|
// v1.832.18 seals the SECRET MASK as a provider key.
|
|
//
|
|
// It carries sealPastedKey without the guard that recognises object.SecretMask
|
|
// ("***"), which is what the admin API returns for a stored secret and therefore
|
|
// what the console posts back when an operator saves a provider form WITHOUT
|
|
// touching the key field. On that save the literal "***" is sealed into KMS under
|
|
// the provider's own secret name, and because resolution is KMS-first the store
|
|
// then answers "***" for every subsequent read — outranking the environment
|
|
// variable that was serving the real key. The provider stops authenticating
|
|
// upstream, and the row looks correct while it does.
|
|
//
|
|
// Fixed in the next release. Nothing shipped this version: cloud was pinned to
|
|
// v1.832.10 throughout.
|
|
retract v1.832.18
|
|
|
|
require (
|
|
github.com/ThinkInAIXYZ/go-mcp v0.2.24
|
|
github.com/alibabacloud-go/darabonba-openapi v0.1.18
|
|
github.com/alibabacloud-go/darabonba-openapi/v2 v2.1.16
|
|
github.com/alibabacloud-go/ecs-20140526/v4 v4.26.10
|
|
github.com/alibabacloud-go/resourcecenter-20221201 v1.5.1
|
|
github.com/alibabacloud-go/tea v1.4.0
|
|
github.com/alibabacloud-go/tea-utils/v2 v2.0.9
|
|
github.com/alibabacloud-go/vod-20170321/v2 v2.16.10
|
|
github.com/alicebob/miniredis/v2 v2.38.0
|
|
github.com/aliyun/alibabacloud-oss-go-sdk-v2 v1.3.0
|
|
github.com/andybalholm/brotli v1.2.1
|
|
github.com/anthropics/anthropic-sdk-go v1.4.0
|
|
github.com/aws/aws-sdk-go-v2 v1.41.5
|
|
github.com/aws/aws-sdk-go-v2/config v1.32.14
|
|
github.com/aws/aws-sdk-go-v2/service/bedrockruntime v1.8.0
|
|
github.com/baidubce/bce-qianfan-sdk/go/qianfan v0.0.14
|
|
github.com/carmel/gooxml v0.0.0-20220216072414-40ff56130850
|
|
github.com/cohere-ai/cohere-go/v2 v2.5.2
|
|
github.com/fasthttp/websocket v1.5.12
|
|
github.com/gage-technologies/mistral-go v1.1.0
|
|
github.com/go-git/go-git/v5 v5.19.1
|
|
github.com/go-json-experiment/json v0.0.0-20260601182631-00ed12fed2a6
|
|
github.com/go-sql-driver/mysql v1.10.0
|
|
github.com/golang-jwt/jwt/v4 v4.5.2
|
|
github.com/google/uuid v1.6.1-0.20241114170450-2d3c2a9cc518
|
|
github.com/hanzo-ds/go v1.0.1
|
|
github.com/hanzoai/account v0.3.3
|
|
github.com/hanzoai/dashscopego v0.6.0
|
|
github.com/hanzoai/dbx v1.17.4
|
|
github.com/hanzoai/decimal v0.1.2
|
|
github.com/hanzoai/go-cosyvoice v1.0.0
|
|
github.com/hanzoai/go-openai v1.41.0
|
|
github.com/hanzoai/go-openrouter v1.0.0
|
|
github.com/hanzoai/money v0.2.5
|
|
github.com/hanzoai/pdf v1.2.0
|
|
github.com/hanzoai/search-go v0.36.0
|
|
github.com/hanzoai/sqlite v0.5.5
|
|
github.com/hanzoai/tasks v1.52.9
|
|
github.com/hanzoai/thinking v0.1.1
|
|
github.com/hanzoai/types v0.1.0
|
|
github.com/hanzoai/voice v0.1.1
|
|
github.com/hanzokv/go/v9 v9.22.0
|
|
github.com/hanzos3/go v1.0.0
|
|
github.com/henomis/lingoose v0.1.0
|
|
github.com/hupe1980/go-huggingface v0.0.15
|
|
github.com/klauspost/compress v1.18.6
|
|
github.com/leverly/ChatGLM v1.2.0
|
|
github.com/lib/pq v1.12.3
|
|
github.com/luxfi/crypto v1.20.2
|
|
github.com/luxfi/geth v1.20.1
|
|
github.com/luxfi/log v1.6.0
|
|
github.com/luxfi/metric v1.10.0
|
|
github.com/luxfi/trace v1.4.0
|
|
github.com/luxfi/zap v1.2.7
|
|
github.com/microsoft/go-mssqldb v1.9.5
|
|
github.com/openai/openai-go/v2 v2.1.1
|
|
github.com/oschwald/geoip2-golang v1.11.0
|
|
github.com/pdfcpu/pdfcpu v0.11.0
|
|
github.com/pkoukk/tiktoken-go v0.1.7
|
|
github.com/robfig/cron/v3 v3.0.1
|
|
github.com/schollz/progressbar/v3 v3.18.0
|
|
github.com/shirou/gopsutil v3.21.11+incompatible
|
|
github.com/tealeg/xlsx v1.0.5
|
|
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.3.77
|
|
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hunyuan v1.3.48
|
|
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbaas v1.1.13
|
|
github.com/ua-parser/uap-go v0.0.0-20251207011819-db9adb27a0b8
|
|
github.com/valyala/fasthttp v1.72.0
|
|
github.com/volcengine/volcengine-go-sdk v1.0.141
|
|
github.com/wangbin/jiebago v0.3.2
|
|
github.com/zap-proto/fiber/v3 v3.2.1
|
|
github.com/zap-proto/zip v1.37.3
|
|
go.opentelemetry.io/otel v1.44.0
|
|
go.opentelemetry.io/otel/sdk v1.44.0
|
|
go.opentelemetry.io/otel/trace v1.44.0
|
|
golang.org/x/image v0.41.0
|
|
golang.org/x/net v0.57.0
|
|
golang.org/x/oauth2 v0.36.0
|
|
golang.org/x/sync v0.22.0
|
|
golang.org/x/text v0.40.0
|
|
golang.org/x/time v0.15.0
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
k8s.io/api v0.36.2
|
|
k8s.io/apimachinery v0.36.2
|
|
k8s.io/metrics v0.36.1
|
|
sigs.k8s.io/kustomize/api v0.21.1
|
|
sigs.k8s.io/kustomize/kyaml v0.21.1
|
|
)
|
|
|
|
require (
|
|
dario.cat/mergo v1.0.2 // indirect
|
|
filippo.io/edwards25519 v1.2.0 // indirect
|
|
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.1 // indirect
|
|
github.com/AzureAD/microsoft-authentication-library-for-go v1.7.0 // indirect
|
|
github.com/Microsoft/go-winio v0.6.2 // indirect
|
|
github.com/ProtonMail/go-crypto v1.1.6 // indirect
|
|
github.com/alibabacloud-go/alibabacloud-gateway-spi v0.0.5 // indirect
|
|
github.com/alibabacloud-go/debug v1.0.1 // indirect
|
|
github.com/alibabacloud-go/endpoint-util v1.1.0 // indirect
|
|
github.com/alibabacloud-go/openapi-util v0.1.2 // indirect
|
|
github.com/alibabacloud-go/tea-utils v1.4.5 // indirect
|
|
github.com/alibabacloud-go/tea-xml v1.1.3 // indirect
|
|
github.com/aliyun/credentials-go v1.4.7 // indirect
|
|
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.8 // indirect
|
|
github.com/aws/aws-sdk-go-v2/credentials v1.19.14 // indirect
|
|
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.21 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.21 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.21 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.6 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.7 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.21 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/s3 v1.97.3 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/signin v1.0.9 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sso v1.30.15 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.19 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sts v1.41.10 // indirect
|
|
github.com/aws/smithy-go v1.24.2 // indirect
|
|
github.com/baidubce/bce-sdk-go v0.9.264 // indirect
|
|
github.com/bits-and-blooms/bitset v1.24.4 // indirect
|
|
github.com/blang/semver/v4 v4.0.0 // indirect
|
|
github.com/cenkalti/backoff v2.2.1+incompatible // indirect
|
|
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/clbanning/mxj/v2 v2.7.0 // indirect
|
|
github.com/clipperhouse/uax29/v2 v2.7.0 // indirect
|
|
github.com/cloudflare/circl v1.6.3 // indirect
|
|
github.com/coder/websocket v1.8.15 // indirect
|
|
github.com/consensys/gnark-crypto v0.20.1 // indirect
|
|
github.com/crate-crypto/go-eth-kzg v1.5.0 // indirect
|
|
github.com/cyphar/filepath-securejoin v0.7.0 // indirect
|
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
|
github.com/deckarep/golang-set/v2 v2.9.0 // indirect
|
|
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.1 // indirect
|
|
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
|
|
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
|
|
github.com/dlclark/regexp2 v1.11.5 // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/emirpasic/gods v1.18.1 // indirect
|
|
github.com/ethereum/c-kzg-4844/v2 v2.1.7 // indirect
|
|
github.com/fsnotify/fsnotify v1.9.0 // indirect
|
|
github.com/fxamacker/cbor/v2 v2.9.1 // indirect
|
|
github.com/gabriel-vasile/mimetype v1.4.13 // indirect
|
|
github.com/go-errors/errors v1.5.1 // indirect
|
|
github.com/go-faster/city v1.0.1 // indirect
|
|
github.com/go-faster/errors v0.7.1 // indirect
|
|
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
|
|
github.com/go-git/go-billy/v5 v5.9.0 // indirect
|
|
github.com/go-ini/ini v1.67.0 // indirect
|
|
github.com/go-logr/logr v1.4.3 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/go-ole/go-ole v1.3.0 // indirect
|
|
github.com/go-openapi/jsonpointer v0.22.5 // indirect
|
|
github.com/go-openapi/jsonreference v0.21.5 // indirect
|
|
github.com/go-openapi/swag v0.25.5 // indirect
|
|
github.com/go-openapi/swag/cmdutils v0.25.5 // indirect
|
|
github.com/go-openapi/swag/conv v0.25.5 // indirect
|
|
github.com/go-openapi/swag/fileutils v0.25.5 // indirect
|
|
github.com/go-openapi/swag/jsonname v0.25.5 // indirect
|
|
github.com/go-openapi/swag/jsonutils v0.25.5 // indirect
|
|
github.com/go-openapi/swag/loading v0.25.5 // indirect
|
|
github.com/go-openapi/swag/mangling v0.25.5 // indirect
|
|
github.com/go-openapi/swag/netutils v0.25.5 // indirect
|
|
github.com/go-openapi/swag/stringutils v0.25.5 // indirect
|
|
github.com/go-openapi/swag/typeutils v0.25.5 // indirect
|
|
github.com/go-openapi/swag/yamlutils v0.25.5 // indirect
|
|
github.com/go-viper/mapstructure/v2 v2.5.0 // indirect
|
|
github.com/gofiber/schema v1.7.1 // indirect
|
|
github.com/gofiber/utils/v2 v2.0.4 // indirect
|
|
github.com/golang-jwt/jwt/v5 v5.3.1 // indirect
|
|
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect
|
|
github.com/golang-sql/sqlexp v0.1.0 // indirect
|
|
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
|
|
github.com/google/gnostic-models v0.7.1 // indirect
|
|
github.com/gorilla/rpc v1.2.1 // indirect
|
|
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 // indirect
|
|
github.com/grandcat/zeroconf v1.0.0 // indirect
|
|
github.com/hanzo-ds/native v0.72.0 // indirect
|
|
github.com/hanzoai/authz v1.10.30 // indirect
|
|
github.com/hanzoai/csqlite v0.1.2 // indirect
|
|
github.com/hanzoai/go-openai-realtime v1.0.0 // indirect
|
|
github.com/hanzoai/go-openai-realtime/contrib/ws-gorilla v1.0.0 // indirect
|
|
github.com/hanzoai/sqlcipher v0.1.1 // indirect
|
|
github.com/hanzoai/vfs v0.6.6 // indirect
|
|
github.com/hashicorp/golang-lru v1.0.2 // indirect
|
|
github.com/hhrutter/lzw v1.0.0 // indirect
|
|
github.com/hhrutter/pkcs7 v0.2.0 // indirect
|
|
github.com/hhrutter/tiff v1.0.2 // indirect
|
|
github.com/holiman/uint256 v1.3.2 // indirect
|
|
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
|
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
|
github.com/json-iterator/go v1.1.13-0.20220915233716-71ac16282d12 // indirect
|
|
github.com/kevinburke/ssh_config v1.2.0 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
|
|
github.com/klauspost/crc32 v1.3.0 // indirect
|
|
github.com/lithammer/shortuuid v3.0.0+incompatible // indirect
|
|
github.com/luxfi/accel v1.2.4 // indirect
|
|
github.com/luxfi/cache v1.3.1 // indirect
|
|
github.com/luxfi/consensus v1.36.11 // indirect
|
|
github.com/luxfi/container v0.2.1 // indirect
|
|
github.com/luxfi/corona v0.10.4 // indirect
|
|
github.com/luxfi/crypto/ipa v1.2.4 // indirect
|
|
github.com/luxfi/ids v1.3.2 // indirect
|
|
github.com/luxfi/math v1.5.1 // indirect
|
|
github.com/luxfi/math/big v0.1.0 // indirect
|
|
github.com/luxfi/mdns v0.1.1 // indirect
|
|
github.com/luxfi/mock v0.1.1 // indirect
|
|
github.com/luxfi/pq v1.1.0 // indirect
|
|
github.com/luxfi/vm v1.3.2 // indirect
|
|
github.com/luxfi/zapdb v1.10.1 // indirect
|
|
github.com/mattn/go-colorable v0.1.15 // indirect
|
|
github.com/mattn/go-isatty v0.0.22 // indirect
|
|
github.com/mattn/go-runewidth v0.0.21 // indirect
|
|
github.com/miekg/dns v1.1.72 // indirect
|
|
github.com/minio/crc64nvme v1.1.1 // indirect
|
|
github.com/minio/md5-simd v1.1.2 // indirect
|
|
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect
|
|
github.com/mitchellh/mapstructure v1.5.1-0.20231216201459-8508981c8b6c // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
|
|
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
|
|
github.com/mr-tron/base58 v1.3.0 // indirect
|
|
github.com/ncruces/go-strftime v1.0.0 // indirect
|
|
github.com/onsi/gomega v1.39.1 // indirect
|
|
github.com/orcaman/concurrent-map/v2 v2.0.1 // indirect
|
|
github.com/oschwald/maxminddb-golang v1.13.0 // indirect
|
|
github.com/paulmach/orb v0.13.0 // indirect
|
|
github.com/pelletier/go-toml/v2 v2.3.0 // indirect
|
|
github.com/philhofer/fwd v1.2.0 // indirect
|
|
github.com/pierrec/lz4/v4 v4.1.27 // indirect
|
|
github.com/pjbgf/sha1cd v0.6.0 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/rivo/uniseg v0.4.7 // indirect
|
|
github.com/rs/xid v1.6.0 // indirect
|
|
github.com/sagikazarmark/locafero v0.12.0 // indirect
|
|
github.com/savsgio/gotils v0.0.0-20240704082632-aef3928b8a38 // indirect
|
|
github.com/segmentio/asm v1.2.1 // indirect
|
|
github.com/sergi/go-diff v1.4.0 // indirect
|
|
github.com/shopspring/decimal v1.4.0 // indirect
|
|
github.com/sirupsen/logrus v1.9.4 // indirect
|
|
github.com/skeema/knownhosts v1.3.1 // indirect
|
|
github.com/spf13/afero v1.15.0 // indirect
|
|
github.com/spf13/cast v1.10.0 // indirect
|
|
github.com/spf13/pflag v1.0.10 // indirect
|
|
github.com/spf13/viper v1.21.0 // indirect
|
|
github.com/stretchr/objx v0.5.3 // indirect
|
|
github.com/subosito/gotenv v1.6.0 // indirect
|
|
github.com/supranational/blst v0.3.16 // indirect
|
|
github.com/tidwall/gjson v1.18.0 // indirect
|
|
github.com/tidwall/match v1.2.0 // indirect
|
|
github.com/tidwall/pretty v1.2.1 // indirect
|
|
github.com/tidwall/sjson v1.2.5 // indirect
|
|
github.com/tinylib/msgp v1.6.4 // indirect
|
|
github.com/tjfoc/gmsm v1.4.1 // indirect
|
|
github.com/tklauser/go-sysconf v0.4.0 // indirect
|
|
github.com/tklauser/numcpus v0.12.0 // indirect
|
|
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
|
github.com/volcengine/volc-sdk-golang v1.0.241 // indirect
|
|
github.com/x448/float16 v0.8.4 // indirect
|
|
github.com/xanzy/ssh-agent v0.3.3 // indirect
|
|
github.com/xlab/treeprint v1.2.0 // indirect
|
|
github.com/yosida95/uritemplate/v3 v3.0.2 // indirect
|
|
github.com/yuin/gopher-lua v1.1.1 // indirect
|
|
github.com/yusufpapurcu/wmi v1.2.4 // indirect
|
|
github.com/zap-proto/go v1.8.3 // indirect
|
|
github.com/zap-proto/http v0.3.5 // indirect
|
|
github.com/zap-proto/mcp v1.0.5 // indirect
|
|
go.mongodb.org/mongo-driver v1.17.9 // indirect
|
|
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
|
|
go.opentelemetry.io/otel/log v0.20.0 // indirect
|
|
go.opentelemetry.io/otel/metric v1.44.0 // indirect
|
|
go.opentelemetry.io/otel/sdk/log v0.20.0 // indirect
|
|
go.uber.org/atomic v1.11.0 // indirect
|
|
go.uber.org/mock v0.6.0 // indirect
|
|
go.yaml.in/yaml/v2 v2.4.4 // indirect
|
|
go.yaml.in/yaml/v3 v3.0.4 // indirect
|
|
golang.org/x/crypto v0.54.0 // indirect
|
|
golang.org/x/exp v0.0.0-20260529124908-c761662dc8c9 // indirect
|
|
golang.org/x/mod v0.37.0 // indirect
|
|
golang.org/x/sys v0.47.0 // indirect
|
|
golang.org/x/term v0.45.0 // indirect
|
|
golang.org/x/tools v0.47.0 // indirect
|
|
google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af // indirect
|
|
gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect
|
|
gopkg.in/inf.v0 v0.9.1 // indirect
|
|
gopkg.in/ini.v1 v1.67.1 // indirect
|
|
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
|
|
gopkg.in/warnings.v0 v0.1.2 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
k8s.io/klog/v2 v2.140.0 // indirect
|
|
k8s.io/kube-openapi v0.0.0-20260330154417-16be699c7b31 // indirect
|
|
k8s.io/utils v0.0.0-20260319190234-28399d86e0b5 // indirect
|
|
modernc.org/libc v1.72.3 // indirect
|
|
modernc.org/mathutil v1.7.1 // indirect
|
|
modernc.org/memory v1.11.0 // indirect
|
|
modernc.org/sqlite v1.51.0 // indirect
|
|
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
|
|
sigs.k8s.io/randfill v1.0.0 // indirect
|
|
sigs.k8s.io/structured-merge-diff/v6 v6.3.2 // indirect
|
|
sigs.k8s.io/yaml v1.6.0 // indirect
|
|
)
|
|
|
|
exclude github.com/hanzoai/o11y v1.5.31-0.20260726155004-2b66f3201d03
|