Save configuration to file.
(self, config: Dict[str, Any])
| 75 | return {} |
| 76 | |
| 77 | def save_config(self, config: Dict[str, Any]): |
| 78 | """Save configuration to file.""" |
| 79 | config_path = self.get_config_path() |
| 80 | with open(config_path, 'w') as f: |
| 81 | json.dump(config, f, indent=2) |
| 82 | |
| 83 | def has_api_key(self) -> bool: |
| 84 | """Check if API key is configured and valid (not a placeholder).""" |