chore: add ty + pre-commit hook and repeal even more ruff rules (#9504)
* auto fixes * auto fix pt2 and transitive deps and undefined var checking locals() * manual fixes (ignored or letta-code fixed) * fix circular import * remove all ignores, add FastAPI rules and Ruff rules * add ty and precommit * ruff stuff * ty check fixes * ty check fixes pt 2 * error on invalid
This commit is contained in:
@@ -143,7 +143,7 @@ class LettaLLMStreamAdapter(LettaLLMAdapter):
|
||||
# Extract tool call from the interface
|
||||
try:
|
||||
self.tool_call = self.interface.get_tool_call_object()
|
||||
except ValueError as e:
|
||||
except ValueError:
|
||||
# No tool call, handle upstream
|
||||
self.tool_call = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user