Skip to content

feat: stub vlm request endpoint (#17)#22

Merged
jennifer-bowser merged 24 commits into
mainfrom
issue-17-stub-vlm-request-endpoint
Dec 15, 2025
Merged

feat: stub vlm request endpoint (#17)#22
jennifer-bowser merged 24 commits into
mainfrom
issue-17-stub-vlm-request-endpoint

Conversation

@jennifer-bowser
Copy link
Copy Markdown
Contributor

closes #17

@jennifer-bowser jennifer-bowser self-assigned this Dec 4, 2025
Comment thread src/anyvlm/functions/get_caf.py
Comment thread src/anyvlm/restapi/vlm.py Outdated
@jennifer-bowser jennifer-bowser marked this pull request as ready for review December 4, 2025 18:43
@jennifer-bowser jennifer-bowser requested a review from a team December 4, 2025 18:43
quinnwai
quinnwai previously approved these changes Dec 4, 2025
Copy link
Copy Markdown
Contributor

@quinnwai quinnwai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! Minor comments if you'd like them

Comment thread src/anyvlm/restapi/vlm.py Outdated
Comment thread src/anyvlm/utils/types.py Outdated
Comment thread src/anyvlm/functions/get_caf.py
Comment thread src/anyvlm/restapi/vlm.py Outdated
Comment thread src/anyvlm/restapi/vlm.py Outdated
Comment thread src/anyvlm/functions/get_caf.py Outdated
Comment thread src/anyvlm/utils/types.py
Comment thread src/anyvlm/utils/types.py Outdated
Comment thread src/anyvlm/utils/types.py Outdated
Comment thread src/anyvlm/utils/types.py Outdated
Comment thread src/anyvlm/utils/types.py
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider moving some of this stuff to /schemas/vlm.py, since it's being used to validate inputs coming in on the VLM protocol.

Comment thread src/anyvlm/utils/types.py Outdated
Comment thread src/anyvlm/restapi/vlm.py Outdated
Copy link
Copy Markdown
Member

@korikuzma korikuzma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with suggestions from @jsstevenson as well

Comment thread src/anyvlm/utils/types.py Outdated
korikuzma
korikuzma previously approved these changes Dec 12, 2025
Copy link
Copy Markdown
Member

@korikuzma korikuzma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

Copy link
Copy Markdown
Member

@korikuzma korikuzma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could also use pytest.mark.parameterize

@jennifer-bowser jennifer-bowser merged commit 60be88e into main Dec 15, 2025
11 checks passed
@jennifer-bowser jennifer-bowser deleted the issue-17-stub-vlm-request-endpoint branch December 15, 2025 17:11
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.

Write stub FastAPI endpoint to accept VLM request

4 participants