mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-23 15:18:14 +00:00
- Fix OSError when trying to get source code of lambda functions in guardrail events - Gracefully handle lambdas and built-in functions by showing placeholder text
141 lines
5.6 KiB
YAML
141 lines
5.6 KiB
YAML
interactions:
|
|
- request:
|
|
body: '{"messages": [{"role": "system", "content": "You are Sports Analyst. You
|
|
are an expert at gathering and organizing information. You carefully collect
|
|
details and present them in a structured way.\nYour personal goal is: Gather
|
|
information about the best soccer players\n\nTo give my best complete final
|
|
answer to the task respond using the exact following format:\n\nThought: I now
|
|
can give a great answer\nFinal Answer: Your final answer must be the great and
|
|
the most complete as possible, it must be outcome described.\n\nI MUST use these
|
|
formats, my job depends on it!"}, {"role": "user", "content": "Top 1 best players
|
|
in the world?"}], "model": "gpt-4o-mini", "stop": ["\nObservation:"]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '693'
|
|
content-type:
|
|
- application/json
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.109.1
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.109.1
|
|
x-stainless-raw-response:
|
|
- 'true'
|
|
x-stainless-read-timeout:
|
|
- '600.0'
|
|
x-stainless-retry-count:
|
|
- '0'
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.10.18
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
content: "{\n \"id\": \"chatcmpl-CKF2fBtZFxmdxyEkq6E5KE615QprZ\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1758940417,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"Thought: I now can give a great answer\\nFinal
|
|
Answer: The top player widely regarded as the best in the world as of October
|
|
2023 is Lionel Messi. \\n\\n1. **Name:** Lionel Messi\\n2. **Nationality:**
|
|
Argentine\\n3. **Age:** 36 (born June 24, 1987)\\n4. **Club:** Inter Miami CF
|
|
(as of 2023)\\n5. **Position:** Forward\\n6. **Career Highlights:**\\n - 7-time
|
|
Ballon d'Or winner\\n - All-time top scorer for FC Barcelona and La Liga\\n
|
|
\ - Significant contributions to Argentina's 2021 Copa America victory and
|
|
2022 FIFA World Cup victory\\n - Over 800 career goals, making him one of
|
|
the highest goal-scorers in soccer history\\n7. **Playing Style:** Known for
|
|
his exceptional dribbling, playmaking ability, and goal-scoring prowess, Messi
|
|
combines technical skill with extraordinary vision on the field. \\n8. **Influence
|
|
& Legacy:** Messi's dedication and consistency have set benchmarks in soccer,
|
|
making him a role model for aspiring players worldwide.\\n\\nIn summary, Lionel
|
|
Messi's combinations of talent, achievements, and impact on and off the field
|
|
solidify his status as the best soccer player in the world as of October 2023.\",\n
|
|
\ \"refusal\": null,\n \"annotations\": []\n },\n \"logprobs\":
|
|
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
|
|
122,\n \"completion_tokens\": 267,\n \"total_tokens\": 389,\n \"prompt_tokens_details\":
|
|
{\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\":
|
|
{\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\":
|
|
0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\":
|
|
\"default\",\n \"system_fingerprint\": \"fp_560af6e559\"\n}\n"
|
|
headers:
|
|
CF-RAY:
|
|
- 985798e02dc1c647-EWR
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Sat, 27 Sep 2025 02:33:49 GMT
|
|
Server:
|
|
- cloudflare
|
|
Set-Cookie:
|
|
- __cf_bm=VUzo5xKYNXLShjO87faeRnbZJh.EtoZbKyQf2LpAoaQ-1758940429-1.0.1.1-Nxgw_ljVv7uFm46.jZoZQGF8UVx167Fn8.KeENl.bG9tNlRI1ztScpF3vRc1lYdk6TriJQhx19L7K3qvJB1OQN8_jNRYSnsc33mvFTcvegs;
|
|
path=/; expires=Sat, 27-Sep-25 03:03:49 GMT; domain=.api.openai.com; HttpOnly;
|
|
Secure; SameSite=None
|
|
- _cfuvid=Q1ZvDltr9hJs.IDYqAbmPtxng910_lRu2WEyCoaspj8-1758940429939-0.0.1.1-604800000;
|
|
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
|
|
Strict-Transport-Security:
|
|
- max-age=31536000; includeSubDomains; preload
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
access-control-expose-headers:
|
|
- X-Request-ID
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
cf-cache-status:
|
|
- DYNAMIC
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '12960'
|
|
openai-project:
|
|
- proj_xitITlrFeen7zjNSzML82h9x
|
|
openai-version:
|
|
- '2020-10-01'
|
|
x-envoy-upstream-service-time:
|
|
- '13216'
|
|
x-openai-proxy-wasm:
|
|
- v0.1
|
|
x-ratelimit-limit-project-tokens:
|
|
- '150000000'
|
|
x-ratelimit-limit-requests:
|
|
- '30000'
|
|
x-ratelimit-limit-tokens:
|
|
- '150000000'
|
|
x-ratelimit-remaining-project-tokens:
|
|
- '149999857'
|
|
x-ratelimit-remaining-requests:
|
|
- '29999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '149999860'
|
|
x-ratelimit-reset-project-tokens:
|
|
- 0s
|
|
x-ratelimit-reset-requests:
|
|
- 2ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_e97931a084624fffaa5a548259cec845
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
version: 1
|