agentsea / surfkit

A toolkit for building multimodal AI agents
https://docs.hub.agentsea.ai
MIT License
113 stars 10 forks source link

"Solve" doesn't work with an existing tracker #112

Closed mariyadavydova closed 2 months ago

mariyadavydova commented 2 months ago
| /opt/miniconda3/envs/agentsea/lib/python3.12/site-packages/surfkit/client.py:364 in solve        │
│                                                                                                  │
│   361 │   │   params["site"] = starting_url                                                      │
│   362 │                                                                                          │
│   363 │   owner = "anonymous@agentsea.ai"                                                        │
│ ❱ 364 │   config = GlobalConfig.read()                                                           │
│   365 │   if config.api_key:                                                                     │
│   366 │   │   from surfkit.hub import HubAuth                                                    │

UnboundLocalError: cannot access local variable 'GlobalConfig' where it is not associated with a value

Surfkit v 0.1.240

pbarker commented 2 months ago

should be fixed in https://github.com/agentsea/surfkit/pull/113