import httpximport osMODEL_ID = "abcd1234" # Replace with your model IDDEPLOYMENT_ID = "abcd1234" # [Optional] Replace with your deployment IDAPI_KEY = os.environ["BASETEN_API_KEY"]resp = httpx.post( f"https://model-{MODEL_ID}.api.baseten.co/environments/production/sync/v1/chat/completions", headers={"Authorization": f"Api-Key {API_KEY}"}, json={ "model": "deepseek_v3", "messages": [ {"role": "system", "content": "You are a helpful AI assistant."}, {"role": "user", "content": "What weighs more, a pound of bricks or a pound of feathers?"}, ], "max_tokens": 1024, }, timeout=None)print(resp.json())