Initial commit: AI Shell v0.1.0
- AI-powered shell command generator using DeepSeek V3 - Support for natural language to shell command conversion - Secure configuration management with .env files - Package structure with uv tool installation support - Chinese and English language support - Configuration validation and error handling
This commit is contained in:
13
ai_shell/models.py
Normal file
13
ai_shell/models.py
Normal file
@ -0,0 +1,13 @@
|
||||
"""
|
||||
Data models for AI Shell
|
||||
"""
|
||||
|
||||
from dataclasses import dataclass
|
||||
from typing import Optional
|
||||
|
||||
@dataclass
|
||||
class Answer:
|
||||
"""Response model for AI-generated shell commands"""
|
||||
success: bool
|
||||
cmd: Optional[str]
|
||||
failure: Optional[str]
|
Reference in New Issue
Block a user