-
Notifications
You must be signed in to change notification settings - Fork 37
Fix startup failures caused by missing dependency, incorrect import, and missing attribute #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -60,6 +60,7 @@ dependencies = [ | |
| "typer>=0.15.0", | ||
| "questionary>=2.0.0", | ||
| "cryptography>=44.0.0", | ||
| "pytest-asyncio>=1.4.0" | ||
| ] | ||
|
Comment on lines
60
to
64
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 3. Duplicate pytest-asyncio requirement pyproject.toml adds pytest-asyncio to runtime dependencies even though it already exists under the dev optional extra with a different version constraint, which can lead to inconsistent dependency resolution and forces a test-focused dependency into normal installs. Agent Prompt
|
||
|
|
||
| [project.scripts] | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -72,6 +72,7 @@ def __init__( | |
| self.base_url = base_url or os.environ.get("OPENAI_BASE_URL") | ||
| self.temperature = temperature | ||
| self.extra_body = extra_body | ||
| self.reasoning_effort = reasoning_effort | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 1. llm.py outside windows_use/llms LLM integration code was modified in windows_use/providers/.../llm.py, but the checklist requires all LLM integration code to live under windows_use/llms. This breaks the required module boundary for LLM client code and complicates auditing/maintenance. Agent Prompt
|
||
|
|
||
| self.client = OpenAI( | ||
| api_key=self.api_key, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2. uv.lock mismatches pytest-asyncio
📘 Rule violation§ ComplianceAgent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools