* use default values for non-required properties if a default is specified * generate client * I have generated the latest API! --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
21 lines
401 B
Python
21 lines
401 B
Python
from typing import Optional
|
|
|
|
from pydantic import BaseModel, ConfigDict
|
|
|
|
|
|
|
|
class KclCodeCompletionParams(BaseModel):
|
|
"""Extra params for the completions."""
|
|
|
|
language: str = ""
|
|
|
|
next_indent: Optional[int] = None
|
|
|
|
prompt_tokens: Optional[int] = None
|
|
|
|
suffix_tokens: Optional[int] = None
|
|
|
|
trim_by_indentation: bool = False
|
|
|
|
model_config = ConfigDict(protected_namespaces=())
|