21 lines
422 B
Python
21 lines
422 B
Python
from typing import Optional
|
|
|
|
from pydantic import BaseModel, ConfigDict
|
|
|
|
|
|
|
|
class KclCodeCompletionParams(BaseModel):
|
|
"""Extra params for the completions."""
|
|
|
|
language: Optional[str] = None
|
|
|
|
next_indent: Optional[int] = None
|
|
|
|
prompt_tokens: Optional[int] = None
|
|
|
|
suffix_tokens: Optional[int] = None
|
|
|
|
trim_by_indentation: Optional[bool] = None
|
|
|
|
model_config = ConfigDict(protected_namespaces=())
|