mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-24 15:48:23 +00:00
78 lines
2.4 KiB
YAML
78 lines
2.4 KiB
YAML
interactions:
|
|
- request:
|
|
body: '{"input": ["Brandon''s favorite color is red and he likes Mexican food."],
|
|
"model": "text-embedding-3-small", "encoding_format": "base64"}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '137'
|
|
content-type:
|
|
- application/json
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.61.0
|
|
x-stainless-arch:
|
|
- x64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- Linux
|
|
x-stainless-package-version:
|
|
- 1.61.0
|
|
x-stainless-retry-count:
|
|
- '0'
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.12.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/embeddings
|
|
response:
|
|
content: "{\n \"error\": {\n \"message\": \"Incorrect API key provided:
|
|
sk-proj-********************************************************************************************************************************************************sLcA.
|
|
You can find your API key at https://platform.openai.com/account/api-keys.\",\n
|
|
\ \"type\": \"invalid_request_error\",\n \"param\": null,\n \"code\":
|
|
\"invalid_api_key\"\n }\n}\n"
|
|
headers:
|
|
CF-RAY:
|
|
- 91ea5f13cd222805-SEA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Length:
|
|
- '414'
|
|
Content-Type:
|
|
- application/json; charset=utf-8
|
|
Date:
|
|
- Tue, 11 Mar 2025 10:29:33 GMT
|
|
Server:
|
|
- cloudflare
|
|
Set-Cookie:
|
|
- __cf_bm=kTdkN5AQIo9r0zvYCiKHoe2I4sc.05ujYaWUlEbBggg-1741688973-1.0.1.1-SDOx8RnzVUs6AsahjrVC7sGMQMc3OHXhXuso4pUPx0xW3HEskjyojGBWbBsgEg687GdTMNkmWPHdvIjspXErv9_fdk1NcTdMZJyPzlSFTSU;
|
|
path=/; expires=Tue, 11-Mar-25 10:59:33 GMT; domain=.api.openai.com; HttpOnly;
|
|
Secure; SameSite=None
|
|
- _cfuvid=wFljfHJacNcpPFKRXsyZIA0Uz3EiimAH6HAVFEqnNLE-1741688973493-0.0.1.1-604800000;
|
|
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
cf-cache-status:
|
|
- DYNAMIC
|
|
strict-transport-security:
|
|
- max-age=31536000; includeSubDomains; preload
|
|
vary:
|
|
- Origin
|
|
x-request-id:
|
|
- req_28fcdae6dfccbb341a3354d2de771194
|
|
http_version: HTTP/1.1
|
|
status_code: 401
|
|
version: 1
|