openclaw-Adam / scripts /sync_hf.py

Commit History

  1. fix: exclude log files from HF sync to prevent LFS errors⁠

    tao-shen +1: Claude Opus 4.6
    bc5b20f

  1. feat: remove all filtering and sanitization from sync⁠

    tao-shen +1: Claude Opus 4.6
    23558af
  2. feat: sync dataset from .openclaw folder directly⁠

    tao-shen +1: Claude Opus 4.6
    45fad92
  3. fix: recover from corrupt openclaw.json — rebuild config from scratch on parse failure

    b8fcec4

  1. feat: switch model to StepFun Step-3.5-Flash (Free) on OpenRouter

    2aa1028
  2. feat: switch model to OpenRouter DeepSeek (deepseek-chat:free)

    4d4426f
  3. fix: update Gemini API key to correct Google AI Studio key

    5ebf5ab
  4. fix: force default auth token 'openclaw-space-default' to match client injection

    dea8521
  5. fix: force full gateway config in _patch_config to fix token_mismatch

    8f87f91
  6. fix: remove gateway auth token, add trustedProxies for HF Spaces proxy

    28e0024
  7. fix: switch to gemini-3-flash-preview per user request

    ef597f7
  8. feat: switch default model to Gemini 2.0 Flash, clean up provider schema fields

    625c061
  9. fix: exclude credentials dir, sanitize ALL json files recursively to fix HF 400 error

    dae020b
  10. fix: increase upload timeout to 600s, skip files >10MB, log staging contents

    171726e
  11. fix: use openclaw_data/ path, sanitize API keys before upload, add staging dir and tracebacks

    e492daf
  12. refactor: simplify persistence — upload_folder entire .openclaw dir to dataset⁠

    5e95362
  13. feat: full directory backup + Telegram config⁠

    tao-shen +1: Claude Opus 4.6
    d65550e
  14. feat: add full directory backup to sync_hf.py⁠

    tao-shen +1: Claude Opus 4.6
    da664b2
  15. feat: restore Telegram plugin functionality⁠

    tao-shen +1: Claude Opus 4.6
    c099f47
  16. fix: correct sync_hf.py syntax errors and dataset repo⁠

    tao-shen +1: Claude Opus 4.6
    e2e46fa
  17. fix: use json.dumps with serialization instead of json.dump⁠

    tao-shen +1: Claude Opus 4.6 (1M context)
    824f248
  18. fix: use json.dumps instead of json.dump in upload_file⁠

    tao-shen +1: Claude Opus 4.6 (1M context)
    f515c29
  19. fix: remove all indent=2 from remaining json.dump calls⁠

    tao-shen +1: Claude Opus 4.6 (1M context)
    3e9a8e4
  20. fix: remove indent from upload_file temp json dump⁠

    tao-shen +1: Claude Opus 4.6 (1M context)
    2c12f83
  21. fix: remove indent parameter from _patch_config json.dump⁠

    tao-shen +1: Claude Opus 4.6 (1M context)
    4f591a9
  22. fix: remove indent parameter from default config json.dump⁠

    tao-shen +1: Claude Opus 4.6 (1M context)
    6b4c425
  23. fix: remove separators parameter from json.dump⁠

    tao-shen +1: Claude Opus 4.6 (1M context)
    3433a6e
  24. fix: use separators in json.dump to avoid IndentationError⁠

    tao-shen +1: Claude Opus 4.6 (1M context)
    7685c90
  25. fix: use Python True in default config for json.dump⁠

    tao-shen +1: Claude Opus 4.6 (1M context)
    38aea73
  26. fix: add complete default config with gateway auth token⁠

    tao-shen +1: Claude Opus 4.6 (1M context)
    1e38596
  27. fix: remove invalid 'provider' key from default config⁠

    tao-shen +1: Claude Opus 4.6 (1M context)
    741d069
  28. trigger: force rebuild

    d471f89
  29. fix: force upload credentials folder to ensure telegram-allowFrom.json is synced⁠

    tao-shen +1: Claude Opus 4.6 (1M context)
    bfa30c8
  30. fix: sanitize API keys in config before upload to avoid HF secret detection⁠

    tao-shen +1: Claude Opus 4.6 (1M context)
    da67ad7
  31. fix: move telegram config to credentials/telegram-allowFrom.json⁠

    tao-shen +1: Claude Opus 4.6 (1M context)
    325c6b4
  32. fix: add allowFrom field to Telegram plugin config⁠

    tao-shen +1: Claude Opus 4.6 (1M context)
    414e619
  33. feat: implement parallel downloads for faster startup⁠

    ace083c
  34. fix: correct HF_REPO_ID for dataset persistence⁠

    04ea4be

  1. fix: remove invalid telegram keys (mode, token) that cause validator rejection⁠

    f4d1a2c
  2. fix(sync): inject enabled dummy telegram config to ensure UI visibility

    67f70ee
  3. fix(sync): simplify disabled telegram config to prevent validation error

    41c1d58
  4. fix(sync): inject disabled telegram config to satisfy UI schema

    8b4c01d
  5. fix(sync): refine telegram config removal logic

    76955a3
  6. fix(sync): resolve remaining AttributeErrors and disable Telegram config if env var missing

    9c89c68
  7. fix(sync): resolve AttributeError and make Telegram config optional

    1e7f2cb
  8. fix(sync): disable verbose file listing to speed up startup

    a40b494
  9. feat(logging): enhance sync and app logging for debugging

    e6cf08e
  10. fix: ensure telegram config persists in sync logic

    dcaf5eb
  11. Add credential reset logic to sync_hf.py

    5555ad7
  12. Update default model to glm-4.5-flash

    2584f60