diff --git a/Makefile b/Makefile index 0ed82d6ec..3e249ee01 100644 --- a/Makefile +++ b/Makefile @@ -146,7 +146,7 @@ update-testing-docs: docs update-testing-docs-repomix update-testing-docs-proces @echo "-------- Testing documentation update complete --------" ci-install-ai-deps: FORCE - uv pip install -e ".[dev,test,testgen]" + uv pip install -e ".[dev,test,add-test]" $(MAKE) install-playwright run-test-ai-evaluation: FORCE ## Run the AI evaluation script for tests diff --git a/pyproject.toml b/pyproject.toml index c5e39fc0e..e88e6a85c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -124,12 +124,15 @@ doc = [ "quartodoc>=0.8.1", "griffe>=1.3.2", ] -testgen = [ +add-test = [ "chatlas[anthropic,openai]", "openai>=1.104.1", "anthropic>=0.62.0", "inspect-ai>=0.3.129", "pytest-timeout", + "pytest>=6.2.4", + "pytest-playwright>=0.5.2", + "playwright>=1.48.0", ] diff --git a/shiny/pytest/_generate/_main.py b/shiny/pytest/_generate/_main.py index 8bf75de8c..b178b0da6 100644 --- a/shiny/pytest/_generate/_main.py +++ b/shiny/pytest/_generate/_main.py @@ -31,7 +31,7 @@ class Config: } DEFAULT_ANTHROPIC_MODEL = "claude-sonnet-4-20250514" - DEFAULT_OPENAI_MODEL = "gpt-5-mini-2025-08-07" + DEFAULT_OPENAI_MODEL = "gpt-5-2025-08-07" DEFAULT_PROVIDER = "anthropic" MAX_TOKENS = 8092