Skip to content

Commit 8bc628a

Browse files
authored
Merge pull request #23 from MLSAKIIT/revert-19-main
Revert "Updated google-genai sdk"
2 parents 08a8d74 + 3668670 commit 8bc628a

File tree

6 files changed

+140
-19
lines changed

6 files changed

+140
-19
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ build/
55
dist/
66
wheels/
77
*.egg-info
8-
uv.lock
98

109
# Virtual environments
1110
.venv

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.11

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ pixly/
181181

182182
- **UI/Frontend**: CustomTkinter (modern theming and widgets for Python GUIs)
183183
- **API/Backend**: FastAPI (async Python web framework) + Uvicorn (ASGI server)
184-
- **AI**: Google Gemini 2.5 Flash Lite via `google-genai`SDK.
184+
- **AI**: Google Gemini 2.5 Flash Lite via `google-generativeai`
185185
- **RAG**: Chroma (persistent local vector DB) + sentence-transformers (embeddings)
186186
- **Data**: CSV-based per-game knowledge; SQLite for screenshots; Fernet for encryption
187187
- **System**: psutil + pywin32 for Windows process/window info; Pillow for imaging

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ dependencies = [
1414
"keyboard>=0.13.5",
1515
"requests>=2.32.5",
1616
"uvicorn>=0.37.0",
17+
"google-generativeai>=0.8.3",
1718
"pillow>=10.0.0",
1819
"dotenv>=0.9.9",
1920
"psutil>=5.9.0",
20-
"pywin32>=306; sys_platform == 'win32'",
21+
"pywin32>=306",
2122
"cryptography>=41.0.0",
2223
"chromadb>=0.4.0",
2324
"sentence-transformers>=2.2.2",
2425
"beautifulsoup4>=4.12.0",
2526
"pandas>=2.0.0",
2627
"lxml>=4.9.0",
2728
"pytest>=8.4.2",
28-
"google-genai>=1.45.0",
2929
]
3030

3131
[project.optional-dependencies]

services/chatbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
""" Includes gemini chatbot integration"""
22
import os
3-
from google import genai
3+
import google.generativeai as genai
44
from dotenv import load_dotenv
55
from services.screenshot import get_recent_screenshots, get_screenshot_by_id, get_screenshot_stats
66
from services.game_detection import detect_current_game

uv.lock

Lines changed: 135 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)