feat(types): Complete strict static analysis and typing track
This commit is contained in:
@@ -12,10 +12,10 @@ class GeminiCliAdapter:
|
||||
def __init__(self, binary_path: str = "gemini"):
|
||||
self.binary_path = binary_path
|
||||
self.session_id: Optional[str] = None
|
||||
self.last_usage: Optional[dict] = None
|
||||
self.last_usage: Optional[dict[str, Any]] = None
|
||||
self.last_latency: float = 0.0
|
||||
|
||||
def send(self, message: str, safety_settings: list | None = None, system_instruction: str | None = None,
|
||||
def send(self, message: str, safety_settings: list[Any] | None = None, system_instruction: str | None = None,
|
||||
model: str | None = None, stream_callback: Optional[Callable[[str], None]] = None) -> dict[str, Any]:
|
||||
"""
|
||||
Sends a message to the Gemini CLI and processes the streaming JSON output.
|
||||
|
||||
Reference in New Issue
Block a user