16 unmodified lines171819202122232416 unmodified lines raise ValueError("API key 'groq_key' 未設定於環境變數中!") client.api_key = api_keyprint(f\"API Key: {api_key}\") def chat_with_groq(user_message): """與 Groq 模型進行互動"""