Skip to content

Conversation

moritzwilksch
Copy link
Contributor

following up on #2941, this would be a minimally invasive change that at least fixes typing for the direct functions without touching Model or its subclasses which would trigger a cascade of required typing changes since most other functions rely on Model.request

@DouweM
Copy link
Collaborator

DouweM commented Sep 30, 2025

@moritzwilksch I think we can also do this in the run and iter methods -- it's an arg not a return value so it wouldn't be a breaking change.

@DouweM DouweM changed the title Use Sequence[ModelMessage] for .direct functions arg types Use Sequence[ModelMessage] instead of list for method arg types Oct 1, 2025
@moritzwilksch moritzwilksch force-pushed the mw/minimal-seq-typing branch from 62b9467 to 0313ad4 Compare October 2, 2025 04:04
@moritzwilksch
Copy link
Contributor Author

thanks, changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants