mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-16 09:11:03 +08:00
refactor: remove BlockRun provider, retain Claw402 as sole x402 payment provider
Remove all BlockRun (Base + Solana wallet) references from codebase: - Delete blockrun_base.go, blockrun_sol.go, wallet setup docs, icon - Move shared EIP-712 signing code to x402.go for Claw402 reuse - Clean up provider constants, model lists, UI components, translations - Update all README files (EN + 6 i18n) and getting-started docs
This commit is contained in:
@@ -205,9 +205,9 @@ func NewAutoTrader(config AutoTraderConfig, st *store.Store, userID string) (*Au
|
||||
mcpClient = mcp.New()
|
||||
}
|
||||
|
||||
// Payment providers (blockrun-*, claw402) ignore customURL
|
||||
// Payment providers (claw402) ignore customURL
|
||||
switch aiModel {
|
||||
case "blockrun-base", "blockrun-sol", "claw402":
|
||||
case "claw402":
|
||||
mcpClient.SetAPIKey(apiKey, "", config.CustomModelName)
|
||||
default:
|
||||
mcpClient.SetAPIKey(apiKey, customURL, config.CustomModelName)
|
||||
|
||||
Reference in New Issue
Block a user