We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a78ea5f commit a59a77bCopy full SHA for a59a77b
codeflash/lsp/lsp_message.py
@@ -42,7 +42,7 @@ def serialize(self) -> str:
42
43
@dataclass
44
class LspTextMessage(LspMessage):
45
- text: str
+ text: str = ""
46
47
def type(self) -> str:
48
return "text"
@@ -55,7 +55,7 @@ def serialize(self) -> str:
55
56
57
class LspCodeMessage(LspMessage):
58
- code: str
+ code: str = ""
59
file_name: Optional[Path] = None
60
function_name: Optional[str] = None
61
collapsed: bool = False
@@ -75,7 +75,7 @@ def serialize(self) -> str:
75
76
77
class LspMarkdownMessage(LspMessage):
78
- markdown: str
+ markdown: str = ""
79
80
81
return "markdown"
0 commit comments