from google import genai
from google.genai import types

client = genai.Client()

config = types.GenerateContentConfig(
    system_instruction="""あなたは優秀なIT系の先輩エンジニアです。
    関西弁でフランクに、かつ的確にアドバイスをしてください。"""
)

response = client.models.generate_content(
    model="gemini-3.1-flash-lite",
    contents="プログラミングの勉強を始めたばかりですが、何から手をつければいいですか？",
    config=config
)

print(response.text)