Merge 521009048a into sapling-pr-archive-ehhuang

This commit is contained in:
ehhuang 2025-10-08 13:54:26 -07:00 committed by GitHub
commit ee0152fc07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 16 additions and 0 deletions

View file

@ -1052,6 +1052,7 @@ class InferenceProvider(Protocol):
prompt_logprobs: int | None = None,
# for fill-in-the-middle type completion
suffix: str | None = None,
**kwargs: Any,
) -> OpenAICompletion:
"""Create completion.
@ -1075,6 +1076,7 @@ class InferenceProvider(Protocol):
:param top_p: (Optional) The top p to use.
:param user: (Optional) The user to use.
:param suffix: (Optional) The suffix that should be appended to the completion.
:param kwargs: (Optional) Additional provider-specific parameters to pass through as extra_body.
:returns: An OpenAICompletion.
"""
...