refactor: Enforce strict typed JsonSchema for all MCP tools
This commit is contained in:
1 parent
686fea683d
commit
2d3aaed289
31 files changed
+2892
-308
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import re
|
||||
|
||||
with open("server/src/search.rs", "r", encoding="utf-8") as f:
|
||||
content = f.read()
|
||||
|
||||
content = content.replace("let writer = self.writer.lock().unwrap();\n writer.commit()?;", "let mut writer = self.writer.lock().unwrap();\n writer.commit()?;")
|
||||
|
||||
with open("server/src/search.rs", "w", encoding="utf-8") as f:
|
||||
f.write(content)
|
||||
Reference in new issue
Block a user