stock-lab: Gemini 모델 gemini-2.5-pro로 변경
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -30,7 +30,7 @@ services:
|
||||
- TZ=${TZ:-Asia/Seoul}
|
||||
- WINDOWS_AI_SERVER_URL=${WINDOWS_AI_SERVER_URL:-http://192.168.0.5:8000}
|
||||
- GEMINI_API_KEY=${GEMINI_API_KEY:-}
|
||||
- GEMINI_MODEL=${GEMINI_MODEL:-gemini-1.5-pro-latest}
|
||||
- GEMINI_MODEL=${GEMINI_MODEL:-gemini-2.5-pro}
|
||||
volumes:
|
||||
- ${STOCK_DATA_PATH:-./data/stock}:/app/data
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ def _get_model():
|
||||
import google.generativeai as genai # lazy import (설치 안 된 경우 대비)
|
||||
|
||||
genai.configure(api_key=api_key)
|
||||
model_name = os.getenv("GEMINI_MODEL", "gemini-1.5-pro-latest")
|
||||
model_name = os.getenv("GEMINI_MODEL", "gemini-2.5-pro")
|
||||
return genai.GenerativeModel(
|
||||
model_name,
|
||||
generation_config={
|
||||
|
||||
Reference in New Issue
Block a user