Skip to content

fix(ai-defect): reject keywords for APIs with no parameters - #823

Merged
duriantaco merged 1 commit into
mainfrom
fix/zero-argument-api-keywords
Sep 8, 2026
Merged

duriantaco merged 1 commit into
mainfrom
fix/zero-argument-api-keywords

Conversation

@duriantaco

Copy link
Copy Markdown
Owner

Fix #817

Summary

  • Fix SKY-D224 missing invalid keywords on APIs that take no parameters, such as requests.session(timeout=30).
  • Keep unavailable signatures separate from known empty signatures

Tests

  • pytest test/test_api_signature_zero_arguments.py

@duriantaco
duriantaco merged commit 5eb60f0 into main Sep 8, 2026
13 checks passed
@duriantaco
duriantaco deleted the fix/zero-argument-api-keywords branch September 8, 2026 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(ai_defect): _keyword_accepted returns True for zero-parameter functions, masking SKY-D224 hallucination findings

1 participant