広告
KAT-Coder-Air V2.5 is a flagship-level Agentic Coding model that can directly hand over an entire issue or an entire business workflow to it, allowing it to autonomously locate and make...
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="YOUR_API_KEY"
)
response = client.chat.completions.create(
model="kwaipilot/kat-coder-air-v2.5",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)