MCPcopy Create free account
hub / github.com/FSoft-AI4Code/HyperAgent / __init__

Method __init__

src/hyperagent/llm_multilspy.py:16–25  ·  view source on GitHub ↗

Creating a language server with root path and language configuration provided by user MultilspyConfig: A class that helps to configure Language Server for multiple languages MultilspyLogger: A class that helps to Log LSP operations and Debugging

(self, root_path, language="python")

Source from the content-addressed store, hash-verified

14 language: str, optional - the language of your code (default is 'python')
15 """
16 def __init__(self, root_path, language="python"):
17 """
18 Creating a language server with root path and language configuration provided by user
19
20 MultilspyConfig: A class that helps to configure Language Server for multiple languages
21 MultilspyLogger: A class that helps to Log LSP operations and Debugging
22 """
23 self.root_path = root_path
24 self.language = language
25 self.server = SyncLanguageServer.create(MultilspyConfig(code_language=language), MultilspyLogger(), root_path)
26
27 def open_file(self, relative_path):
28 """

Callers

nothing calls this directly

Calls 3

MultilspyConfigClass · 0.90
MultilspyLoggerClass · 0.90
createMethod · 0.45

Tested by

no test coverage detected