(self, mode: str)
| 233 | raise RuntimeError("PostgreSQL manager not initialized") |
| 234 | |
| 235 | def _get_table_name(self, mode: str) -> str: |
| 236 | if mode == "antigravity": |
| 237 | return "antigravity_credentials" |
| 238 | elif mode == "geminicli": |
| 239 | return "credentials" |
| 240 | else: |
| 241 | raise ValueError(f"Invalid mode: {mode}. Must be 'geminicli' or 'antigravity'") |
| 242 | |
| 243 | # ============ 凭证查询方法 ============ |
| 244 |
no outgoing calls
no test coverage detected