API_URL = 'https://api.olostep.com/v1/agents' # 仅供选择的客户使用的端点
API_KEY = '<YOUR_API_KEY>'
headers = {
'Authorization': f'Bearer {API_KEY}',
'Content-Type': 'application/json'
}
data = {
"prompt": """
从 https://www.vcsheet.com/funds 找到投资组合公司,并写入 Google 表格,包含列(基金名称、基金网站 URL、基金 LinkedIn URL、投资组合公司名称、投资组合公司 URL、投资组合公司 LinkedIn URL)。每周一上午 9:00 运行,并在添加新公司时发送邮件至 steve@example.com。
""",
"model": "gpt-4.1"
}
response = requests.post(API_URL, headers=headers, json=data)
result = response.json()
print(result)