File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 6767"""
6868TransformersTorchConfig = tuple [PreTrainedTokenizer , PreTrainedModel , torch .device ]
6969
70- format : int = 1 # typing this variable in order to shadow the global format function and ensure mypy checks for errors
70+ format : None = None # typing this variable in order to shadow the global format function and ensure mypy checks for errors
7171
7272
7373@dataclasses .dataclass
Original file line number Diff line number Diff line change 4040from mellea .stdlib .chat import Message
4141from mellea .stdlib .requirement import ALoraRequirement
4242
43- format : int = 1 # typing this variable in order to shadow the global format function and ensure mypy checks for errors
43+ format : None = None # typing this variable in order to shadow the global format function and ensure mypy checks for errors
4444
4545
4646class LiteLLMBackend (FormatterBackend ):
Original file line number Diff line number Diff line change 3232from mellea .stdlib .chat import Message
3333from mellea .stdlib .requirement import ALoraRequirement
3434
35- format : int = 1 # typing this variable in order to shadow the global format function and ensure mypy checks for errors
35+ format : None = None # typing this variable in order to shadow the global format function and ensure mypy checks for errors
3636
3737
3838class OllamaModelBackend (FormatterBackend ):
Original file line number Diff line number Diff line change 5151
5252openai_ollama_batching_error = "json: cannot unmarshal array into Go struct field CompletionRequest.prompt of type string"
5353
54- format : int = 1 # typing this variable in order to shadow the global format function and ensure mypy checks for errors
54+ format : None = None # typing this variable in order to shadow the global format function and ensure mypy checks for errors
5555
5656
5757class _ServerType (Enum ):
Original file line number Diff line number Diff line change 4040from mellea .stdlib .chat import Message
4141from mellea .stdlib .requirement import ALoraRequirement # type: ignore
4242
43- format : int = 1 # typing this variable in order to shadow the global format function and ensure mypy checks for errors
43+ format : None = None # typing this variable in order to shadow the global format function and ensure mypy checks for errors
4444
4545
4646class WatsonxAIBackend (FormatterBackend ):
You can’t perform that action at this time.
0 commit comments