mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-09 22:10:57 +08:00
feat: improve user onboarding and setup UX (#1436)
* feat: add beginner onboarding and mode switching flow * chore: ignore local gh auth config * fix: restore kline fallback and align onboarding language --------- Co-authored-by: zavier-bin <zhaobbbhhh@gmail.com>
This commit is contained in:
@@ -6,6 +6,8 @@ export interface AIModel {
|
||||
apiKey?: string
|
||||
customApiUrl?: string
|
||||
customModelName?: string
|
||||
walletAddress?: string
|
||||
balanceUsdc?: string
|
||||
}
|
||||
|
||||
export interface TelegramConfig {
|
||||
@@ -110,3 +112,26 @@ export interface UpdateExchangeConfigRequest {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export interface BeginnerOnboardingResponse {
|
||||
address: string
|
||||
private_key: string
|
||||
chain: string
|
||||
asset: string
|
||||
provider: string
|
||||
default_model: string
|
||||
configured_model_id: string
|
||||
balance_usdc: string
|
||||
env_saved: boolean
|
||||
env_path?: string
|
||||
reused_existing: boolean
|
||||
env_warning?: string
|
||||
}
|
||||
|
||||
export interface CurrentBeginnerWalletResponse {
|
||||
found: boolean
|
||||
address?: string
|
||||
balance_usdc?: string
|
||||
source?: string
|
||||
claw402_status?: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user