mirror of
https://github.com/trycua/lume.git
synced 2026-01-06 04:20:03 -06:00
fix linting and typechecking github action (#631)
* Sort imports alphabetically in agent loops __init__.py Fix isort check failure by alphabetically sorting both the import list and __all__ list to match the expected order. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * run on all prs * Fix black formatting issues in responses.py and provider.py Apply black formatting to fix lint check failures: - Reformat conditional expression in responses.py for better readability - Break long assert line in provider.py to comply with line length limits 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * Fix prettier formatting issues in markdown and TypeScript files Apply prettier formatting to blog posts, documentation, and CLI code: - Format blog markdown files for consistent styling - Format TypeScript CLI source files - Format documentation MDX files 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -45,7 +45,9 @@ class CloudProvider(BaseVMProvider):
|
||||
# Fall back to environment variable if api_key not provided
|
||||
if api_key is None:
|
||||
api_key = os.getenv("CUA_API_KEY")
|
||||
assert api_key, "api_key required for CloudProvider (provide via parameter or CUA_API_KEY environment variable)"
|
||||
assert (
|
||||
api_key
|
||||
), "api_key required for CloudProvider (provide via parameter or CUA_API_KEY environment variable)"
|
||||
self.api_key = api_key
|
||||
self.verbose = verbose
|
||||
self.api_base = (api_base or DEFAULT_API_BASE).rstrip("/")
|
||||
|
||||
Reference in New Issue
Block a user