Skip to content
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

feat: enhance doc command to handle query as repo or hint #36

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

eastlondoner
Copy link
Owner

Enhances doc command to handle query parameter more intelligently: as a repo reference if it looks like one, otherwise as a hint for documentation generation. Tested with both kaito-http/kaito repo and custom hints.

- Add GitHub repo pattern detection

- Use query as fromGithub if it looks like a repo reference

- Use query as hint if it's not a repo reference

- Add tests verifying both behaviors
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.

1 participant