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 Sheet,列为(基金名称、基金网站 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)