---
name: Bug Report
about: Create a report to help us improve TESH-Query
title: "[BUG] "
labels: ["bug", "needs-triage"]
assignees: ""
---

# Bug Report

## Bug Description

**Please provide a clear and concise description of the bug.**

<!-- A clear and concise description of what the bug is -->

## Steps to Reproduce

**Please provide the steps to reproduce the behavior:**

1. Go to '...'
2. Run command '...'
3. Enter query '...'
4. See error

## Expected Behavior

**What did you expect to happen?**

<!-- A clear and concise description of what you expected to happen -->

## Actual Behavior

**What actually happened?**

<!-- A clear and concise description of what actually happened -->

## Error Messages/Logs

**If applicable, paste any error messages or logs.**

```
Paste error messages or logs here
```

## Environment

**Please complete the following information:**

- **Operating System:** [e.g. Windows 10, macOS 12.0, Ubuntu 20.04]
- **Python Version:** [e.g. 3.9.7, 3.10.2, 3.11.1]
- **TESH-Query Version:** [e.g. 1.2.3] (run `teshq --version`)
- **Database Type:** [e.g. PostgreSQL, MySQL, SQLite]
- **Database Version:** [e.g. PostgreSQL 14.2, MySQL 8.0.28]

## Configuration Details

**Please provide relevant configuration information:**

- **AI Model:** [Gemini model being used]
- **Database Connection Method:** [direct connection, connection string, etc.]
- **Query Type:** [e.g. simple select, complex join, aggregation]

## Additional Context

**Add any other context about the problem here.**

<!-- Any additional information, configuration, or data that might be necessary to reproduce the issue -->

## Checklist

- [ ] I have searched existing issues to ensure this is not a duplicate
- [ ] I have provided all the requested information above
- [ ] I have tested this with the latest version of TESH-Query
- [ ] I have verified my database connection works outside of TESH-Query
