diff --git a/lib/crewai/src/crewai/agent/core.py b/lib/crewai/src/crewai/agent/core.py index 3e925cef6..835fc2f87 100644 --- a/lib/crewai/src/crewai/agent/core.py +++ b/lib/crewai/src/crewai/agent/core.py @@ -1,7 +1,7 @@ from __future__ import annotations import asyncio -from collections.abc import Sequence +from collections.abc import Callable, Sequence import json import shutil import subprocess @@ -314,14 +314,14 @@ class Agent(BaseAgent): # Generate the schema based on the output format if task.output_json: schema_dict = generate_model_description(task.output_json) - schema = json.dumps(schema_dict["json_schema"]["schema"], indent=2) + schema = json.dumps(schema_dict, indent=2) task_prompt += "\n" + self.i18n.slice( "formatted_task_instructions" ).format(output_format=schema) elif task.output_pydantic: schema_dict = generate_model_description(task.output_pydantic) - schema = json.dumps(schema_dict["json_schema"]["schema"], indent=2) + schema = json.dumps(schema_dict, indent=2) task_prompt += "\n" + self.i18n.slice( "formatted_task_instructions" ).format(output_format=schema) @@ -612,7 +612,7 @@ class Agent(BaseAgent): ) self.agent_executor = CrewAgentExecutor( - llm=self.llm, + llm=self.llm, # type: ignore[arg-type] task=task, # type: ignore[arg-type] agent=self, crew=self.crew, @@ -762,7 +762,7 @@ class Agent(BaseAgent): path = parsed.path.replace("/", "_").strip("_") return f"{domain}_{path}" if path else domain - def _get_mcp_tool_schemas(self, server_params: dict) -> dict[str, dict]: + def _get_mcp_tool_schemas(self, server_params: dict[str, Any]) -> Any: """Get tool schemas from MCP server for wrapper creation with caching.""" server_url = server_params["url"] @@ -794,7 +794,7 @@ class Agent(BaseAgent): async def _get_mcp_tool_schemas_async( self, server_params: dict[str, Any] - ) -> dict[str, dict]: + ) -> dict[str, dict[str, Any]]: """Async implementation of MCP tool schema retrieval with timeouts and retries.""" server_url = server_params["url"] return await self._retry_mcp_discovery( @@ -802,7 +802,7 @@ class Agent(BaseAgent): ) async def _retry_mcp_discovery( - self, operation_func, server_url: str + self, operation_func: Callable[[Any], Any], server_url: str ) -> dict[str, dict[str, Any]]: """Retry MCP discovery operation with exponential backoff, avoiding try-except in loop.""" last_error = None @@ -833,7 +833,7 @@ class Agent(BaseAgent): @staticmethod async def _attempt_mcp_discovery( - operation_func, server_url: str + operation_func: Callable[[Any], Any], server_url: str ) -> tuple[dict[str, dict[str, Any]] | None, str, bool]: """Attempt single MCP discovery operation and return (result, error_message, should_retry).""" try: @@ -937,13 +937,13 @@ class Agent(BaseAgent): Field(..., description=field_description), ) else: - field_definitions[field_name] = ( + field_definitions[field_name] = ( # type: ignore[assignment] field_type | None, Field(default=None, description=field_description), ) model_name = f"{tool_name.replace('-', '_').replace(' ', '_')}Schema" - return create_model(model_name, **field_definitions) + return create_model(model_name, **field_definitions) # type: ignore[call-overload,no-any-return] def _json_type_to_python(self, field_schema: dict[str, Any]) -> type: """Convert JSON Schema type to Python type. @@ -963,12 +963,12 @@ class Agent(BaseAgent): if "const" in option: types.append(str) else: - types.append(self._json_type_to_python(option)) + types.append(self._json_type_to_python(option)) # type: ignore[arg-type] unique_types = list(set(types)) if len(unique_types) > 1: result = unique_types[0] for t in unique_types[1:]: - result = result | t + result = result | t # type: ignore[assignment] return result return unique_types[0] @@ -981,10 +981,10 @@ class Agent(BaseAgent): "object": dict, } - return type_mapping.get(json_type, Any) + return type_mapping.get(json_type, Any) # type: ignore[arg-type] @staticmethod - def _fetch_amp_mcp_servers(mcp_name: str) -> list[dict]: + def _fetch_amp_mcp_servers(mcp_name: str) -> list[dict[str, Any]]: """Fetch MCP server configurations from CrewAI AMP API.""" # TODO: Implement AMP API call to "integrations/mcps" endpoint # Should return list of server configs with URLs @@ -1211,11 +1211,11 @@ class Agent(BaseAgent): if self.apps: platform_tools = self.get_platform_tools(self.apps) if platform_tools: - self.tools.extend(platform_tools) + self.tools.extend(platform_tools) # type: ignore[union-attr] if self.mcps: mcps = self.get_mcp_tools(self.mcps) if mcps: - self.tools.extend(mcps) + self.tools.extend(mcps) # type: ignore[union-attr] lite_agent = LiteAgent( id=self.id, diff --git a/lib/crewai/src/crewai/translations/en.json b/lib/crewai/src/crewai/translations/en.json index f9a5414b3..2c2f737a5 100644 --- a/lib/crewai/src/crewai/translations/en.json +++ b/lib/crewai/src/crewai/translations/en.json @@ -22,7 +22,7 @@ "summarize_instruction": "Summarize the following text, make sure to include all the important information: {group}", "summary": "This is a summary of our conversation so far:\n{merged_summary}", "manager_request": "Your best answer to your coworker asking you this, accounting for the context shared.", - "formatted_task_instructions": "Ensure your final answer contains only the content in the following format: {output_format}\n\nEnsure the final output does not include any code block markers like ```json or ```python.", + "formatted_task_instructions": "Ensure your final answer strictly adheres to the following OpenAPI schema: {output_format}\n\nDo not include the OpenAPI schema in the final output. Ensure the final output does not include any code block markers like ```json or ```python.", "conversation_history_instruction": "You are a member of a crew collaborating to achieve a common goal. Your task is a specific action that contributes to this larger objective. For additional context, please review the conversation history between you and the user that led to the initiation of this crew. Use any relevant information or feedback from the conversation to inform your task execution and ensure your response aligns with both the immediate task and the crew's overall goals.", "feedback_instructions": "User feedback: {feedback}\nInstructions: Use this feedback to enhance the next output iteration.\nNote: Do not respond or add commentary.", "lite_agent_system_prompt_with_tools": "You are {role}. {backstory}\nYour personal goal is: {goal}\n\nYou ONLY have access to the following tools, and should NEVER make up tools that are not listed here:\n\n{tools}\n\nIMPORTANT: Use the following format in your response:\n\n```\nThought: you should always think about what to do\nAction: the action to take, only one name of [{tool_names}], just the name, exactly as it's written.\nAction Input: the input to the action, just a simple JSON object, enclosed in curly braces, using \" to wrap keys and values.\nObservation: the result of the action\n```\n\nOnce all necessary information is gathered, return the following format:\n\n```\nThought: I now know the final answer\nFinal Answer: the final answer to the original input question\n```", diff --git a/lib/crewai/tests/cassettes/test_agent_use_specific_tasks_output_as_context.yaml b/lib/crewai/tests/cassettes/test_agent_use_specific_tasks_output_as_context.yaml index 29f7fe33b..528c1e02d 100644 --- a/lib/crewai/tests/cassettes/test_agent_use_specific_tasks_output_as_context.yaml +++ b/lib/crewai/tests/cassettes/test_agent_use_specific_tasks_output_as_context.yaml @@ -1,367 +1,88 @@ interactions: - request: - body: '{"messages": [{"role": "system", "content": "You are test role. test backstory\nYour - personal goal is: test goal\nTo give my best complete final answer to the task - use 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": "\nCurrent Task: Just say hi.\n\nThis is - the expect criteria for your final answer: Your greeting.\nyou MUST return the - actual complete content as the final answer, not a summary.\n\nBegin! This is - VERY important to you, use the tools available and give your best Final Answer, - your job depends on it!\n\nThought:"}], "model": "gpt-4o"}' - headers: - accept: - - application/json - accept-encoding: - - gzip, deflate - connection: - - keep-alive - content-length: - - '772' - content-type: - - application/json - cookie: - - __cf_bm=rb61BZH2ejzD5YPmLaEJqI7km71QqyNJGTVdNxBq6qk-1727213194-1.0.1.1-pJ49onmgX9IugEMuYQMralzD7oj_6W.CHbSu4Su1z3NyjTGYg.rhgJZWng8feFYah._oSnoYlkTjpK1Wd2C9FA; - _cfuvid=lbRdAddVWV6W3f5Dm9SaOPWDUOxqtZBSPr_fTW26nEA-1727213194587-0.0.1.1-604800000 - host: - - api.openai.com - user-agent: - - OpenAI/Python 1.47.0 - x-stainless-arch: - - arm64 - x-stainless-async: - - 'false' - x-stainless-lang: - - python - x-stainless-os: - - MacOS - x-stainless-package-version: - - 1.47.0 - x-stainless-raw-response: - - 'true' - x-stainless-runtime: - - CPython - x-stainless-runtime-version: - - 3.11.7 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - content: "{\n \"id\": \"chatcmpl-AB7OJYO5S0oxXqdh7OsU7deFaG6Mp\",\n \"object\": - \"chat.completion\",\n \"created\": 1727213383,\n \"model\": \"gpt-4o-2024-05-13\",\n - \ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": - \"assistant\",\n \"content\": \"Thought: I now can give a great answer\\nFinal - Answer: Hi!\",\n \"refusal\": null\n },\n \"logprobs\": null,\n - \ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": - 154,\n \"completion_tokens\": 15,\n \"total_tokens\": 169,\n \"completion_tokens_details\": - {\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n" - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 8c85df1cbb761cf3-GRU - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Tue, 24 Sep 2024 21:29:43 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - openai-organization: - - crewai-iuxna1 - openai-processing-ms: - - '406' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '30000000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '29999817' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 0s - x-request-id: - - req_bd5e677909453f9d761345dcd1b7af96 - http_version: HTTP/1.1 - status_code: 200 -- request: - body: '{"messages": [{"role": "system", "content": "You are test role. test backstory\nYour - personal goal is: test goal\nTo give my best complete final answer to the task - use 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": "\nCurrent Task: Just say bye.\n\nThis is - the expect criteria for your final answer: Your farewell.\nyou MUST return the - actual complete content as the final answer, not a summary.\n\nThis is the context - you''re working with:\nHi!\n\nBegin! This is VERY important to you, use the - tools available and give your best Final Answer, your job depends on it!\n\nThought:"}], - "model": "gpt-4o"}' - headers: - accept: - - application/json - accept-encoding: - - gzip, deflate - connection: - - keep-alive - content-length: - - '822' - content-type: - - application/json - cookie: - - __cf_bm=rb61BZH2ejzD5YPmLaEJqI7km71QqyNJGTVdNxBq6qk-1727213194-1.0.1.1-pJ49onmgX9IugEMuYQMralzD7oj_6W.CHbSu4Su1z3NyjTGYg.rhgJZWng8feFYah._oSnoYlkTjpK1Wd2C9FA; - _cfuvid=lbRdAddVWV6W3f5Dm9SaOPWDUOxqtZBSPr_fTW26nEA-1727213194587-0.0.1.1-604800000 - host: - - api.openai.com - user-agent: - - OpenAI/Python 1.47.0 - x-stainless-arch: - - arm64 - x-stainless-async: - - 'false' - x-stainless-lang: - - python - x-stainless-os: - - MacOS - x-stainless-package-version: - - 1.47.0 - x-stainless-raw-response: - - 'true' - x-stainless-runtime: - - CPython - x-stainless-runtime-version: - - 3.11.7 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - content: "{\n \"id\": \"chatcmpl-AB7OKjfY4W3Sb91r1R3lwbNaWrYBW\",\n \"object\": - \"chat.completion\",\n \"created\": 1727213384,\n \"model\": \"gpt-4o-2024-05-13\",\n - \ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": - \"assistant\",\n \"content\": \"Thought: I now can give a great answer\\nFinal - Answer: Bye!\",\n \"refusal\": null\n },\n \"logprobs\": null,\n - \ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": - 164,\n \"completion_tokens\": 15,\n \"total_tokens\": 179,\n \"completion_tokens_details\": - {\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n" - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 8c85df2119c01cf3-GRU - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Tue, 24 Sep 2024 21:29:44 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - openai-organization: - - crewai-iuxna1 - openai-processing-ms: - - '388' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '30000000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '29999806' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 0s - x-request-id: - - req_4fb7c6a4aee0c29431cc41faf56b6e6b - http_version: HTTP/1.1 - status_code: 200 -- request: - body: '{"messages": [{"role": "system", "content": "You are test role2. test backstory2\nYour - personal goal is: test goal2\nTo give my best complete final answer to the task - use 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": "\nCurrent Task: Answer accordingly to the - context you got.\n\nThis is the expect criteria for your final answer: Your - answer.\nyou MUST return the actual complete content as the final answer, not - a summary.\n\nThis is the context you''re working with:\nHi!\n\nBegin! This - is VERY important to you, use the tools available and give your best Final Answer, - your job depends on it!\n\nThought:"}], "model": "gpt-4o"}' - headers: - accept: - - application/json - accept-encoding: - - gzip, deflate - connection: - - keep-alive - content-length: - - '852' - content-type: - - application/json - cookie: - - __cf_bm=rb61BZH2ejzD5YPmLaEJqI7km71QqyNJGTVdNxBq6qk-1727213194-1.0.1.1-pJ49onmgX9IugEMuYQMralzD7oj_6W.CHbSu4Su1z3NyjTGYg.rhgJZWng8feFYah._oSnoYlkTjpK1Wd2C9FA; - _cfuvid=lbRdAddVWV6W3f5Dm9SaOPWDUOxqtZBSPr_fTW26nEA-1727213194587-0.0.1.1-604800000 - host: - - api.openai.com - user-agent: - - OpenAI/Python 1.47.0 - x-stainless-arch: - - arm64 - x-stainless-async: - - 'false' - x-stainless-lang: - - python - x-stainless-os: - - MacOS - x-stainless-package-version: - - 1.47.0 - x-stainless-raw-response: - - 'true' - x-stainless-runtime: - - CPython - x-stainless-runtime-version: - - 3.11.7 - method: POST - uri: https://api.openai.com/v1/chat/completions - response: - content: "{\n \"id\": \"chatcmpl-AB7OK8oHq66mHii53aw3gUNsAZLow\",\n \"object\": - \"chat.completion\",\n \"created\": 1727213384,\n \"model\": \"gpt-4o-2024-05-13\",\n - \ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": - \"assistant\",\n \"content\": \"Thought: I now can give a great answer\\nFinal - Answer: Hi!\",\n \"refusal\": null\n },\n \"logprobs\": null,\n - \ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": - 171,\n \"completion_tokens\": 15,\n \"total_tokens\": 186,\n \"completion_tokens_details\": - {\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n" - headers: - CF-Cache-Status: - - DYNAMIC - CF-RAY: - - 8c85df25383c1cf3-GRU - Connection: - - keep-alive - Content-Encoding: - - gzip - Content-Type: - - application/json - Date: - - Tue, 24 Sep 2024 21:29:45 GMT - Server: - - cloudflare - Transfer-Encoding: - - chunked - X-Content-Type-Options: - - nosniff - access-control-expose-headers: - - X-Request-ID - openai-organization: - - crewai-iuxna1 - openai-processing-ms: - - '335' - openai-version: - - '2020-10-01' - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - x-ratelimit-limit-requests: - - '10000' - x-ratelimit-limit-tokens: - - '30000000' - x-ratelimit-remaining-requests: - - '9999' - x-ratelimit-remaining-tokens: - - '29999797' - x-ratelimit-reset-requests: - - 6ms - x-ratelimit-reset-tokens: - - 0s - x-request-id: - - req_0e03176bfa219d7bf47910ebd0041e1e - http_version: HTTP/1.1 - status_code: 200 -- request: - body: '{"trace_id": "71ed9e01-5013-496d-bb6a-72cea8f389b8", "execution_type": + body: '{"trace_id": "7edc0060-87a6-47c3-b96b-c9210a139a7a", "execution_type": "crew", "user_identifier": null, "execution_context": {"crew_fingerprint": null, - "crew_name": "crew", "flow_name": null, "crewai_version": "0.193.2", "privacy_level": + "crew_name": "crew", "flow_name": null, "crewai_version": "1.3.0", "privacy_level": "standard"}, "execution_metadata": {"expected_duration_estimate": 300, "agent_count": - 0, "task_count": 0, "flow_method_count": 0, "execution_started_at": "2025-09-23T20:11:00.405361+00:00"}, - "ephemeral_trace_id": "71ed9e01-5013-496d-bb6a-72cea8f389b8"}' + 0, "task_count": 0, "flow_method_count": 0, "execution_started_at": "2025-11-04T20:08:56.306623+00:00"}, + "ephemeral_trace_id": "7edc0060-87a6-47c3-b96b-c9210a139a7a"}' headers: Accept: - '*/*' Accept-Encoding: - - gzip, deflate + - gzip, deflate, zstd Connection: - keep-alive Content-Length: - - '490' + - '488' Content-Type: - application/json User-Agent: - - CrewAI-CLI/0.193.2 + - CrewAI-CLI/1.3.0 + X-Crewai-Organization-Id: + - 73c2b193-f579-422c-84c7-76a39a1da77f X-Crewai-Version: - - 0.193.2 + - 1.3.0 method: POST - uri: http://localhost:3000/crewai_plus/api/v1/tracing/ephemeral/batches + uri: https://app.crewai.com/crewai_plus/api/v1/tracing/ephemeral/batches response: body: - string: '{"id":"d0adab5b-7d5b-4096-b6da-33cd2eb86628","ephemeral_trace_id":"71ed9e01-5013-496d-bb6a-72cea8f389b8","execution_type":"crew","crew_name":"crew","flow_name":null,"status":"running","duration_ms":null,"crewai_version":"0.193.2","total_events":0,"execution_context":{"crew_fingerprint":null,"crew_name":"crew","flow_name":null,"crewai_version":"0.193.2","privacy_level":"standard"},"created_at":"2025-09-23T20:11:00.473Z","updated_at":"2025-09-23T20:11:00.473Z","access_code":"TRACE-b8851ea500","user_identifier":null}' + string: '{"id":"87697bbc-0b06-407b-bb1b-926dbe11c3d7","ephemeral_trace_id":"7edc0060-87a6-47c3-b96b-c9210a139a7a","execution_type":"crew","crew_name":"crew","flow_name":null,"status":"running","duration_ms":null,"crewai_version":"1.3.0","total_events":0,"execution_context":{"crew_fingerprint":null,"crew_name":"crew","flow_name":null,"crewai_version":"1.3.0","privacy_level":"standard"},"created_at":"2025-11-04T20:08:56.579Z","updated_at":"2025-11-04T20:08:56.579Z","access_code":"TRACE-240d23a1f6","user_identifier":null}' headers: + Connection: + - keep-alive Content-Length: - - '519' - cache-control: - - max-age=0, private, must-revalidate - content-security-policy: - - 'default-src ''self'' *.crewai.com crewai.com; script-src ''self'' ''unsafe-inline'' - *.crewai.com crewai.com https://cdn.jsdelivr.net/npm/apexcharts https://www.gstatic.com - https://run.pstmn.io https://share.descript.com/; style-src ''self'' ''unsafe-inline'' - *.crewai.com crewai.com https://cdn.jsdelivr.net/npm/apexcharts; img-src ''self'' - data: *.crewai.com crewai.com https://zeus.tools.crewai.com https://dashboard.tools.crewai.com - https://cdn.jsdelivr.net; font-src ''self'' data: *.crewai.com crewai.com; - connect-src ''self'' *.crewai.com crewai.com https://zeus.tools.crewai.com - https://connect.useparagon.com/ https://zeus.useparagon.com/* https://*.useparagon.com/* - https://run.pstmn.io https://connect.tools.crewai.com/ ws://localhost:3036 - wss://localhost:3036; frame-src ''self'' *.crewai.com crewai.com https://connect.useparagon.com/ - https://zeus.tools.crewai.com https://zeus.useparagon.com/* https://connect.tools.crewai.com/ - https://www.youtube.com https://share.descript.com' - content-type: + - '515' + Content-Type: - application/json; charset=utf-8 + Date: + - Tue, 04 Nov 2025 20:08:56 GMT + cache-control: + - no-store + content-security-policy: + - 'default-src ''self'' *.app.crewai.com app.crewai.com; script-src ''self'' + ''unsafe-inline'' *.app.crewai.com app.crewai.com https://cdn.jsdelivr.net/npm/apexcharts + https://www.gstatic.com https://run.pstmn.io https://apis.google.com https://apis.google.com/js/api.js + https://accounts.google.com https://accounts.google.com/gsi/client https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css.map + https://*.google.com https://docs.google.com https://slides.google.com https://js.hs-scripts.com + https://js.sentry-cdn.com https://browser.sentry-cdn.com https://www.googletagmanager.com + https://js-na1.hs-scripts.com https://js.hubspot.com http://js-na1.hs-scripts.com + https://bat.bing.com https://cdn.amplitude.com https://cdn.segment.com https://d1d3n03t5zntha.cloudfront.net/ + https://descriptusercontent.com https://edge.fullstory.com https://googleads.g.doubleclick.net + https://js.hs-analytics.net https://js.hs-banner.com https://js.hsadspixel.net + https://js.hscollectedforms.net https://js.usemessages.com https://snap.licdn.com + https://static.cloudflareinsights.com https://static.reo.dev https://www.google-analytics.com + https://share.descript.com/; style-src ''self'' ''unsafe-inline'' *.app.crewai.com + app.crewai.com https://cdn.jsdelivr.net/npm/apexcharts; img-src ''self'' data: + *.app.crewai.com app.crewai.com https://zeus.tools.crewai.com https://dashboard.tools.crewai.com + https://cdn.jsdelivr.net https://forms.hsforms.com https://track.hubspot.com + https://px.ads.linkedin.com https://px4.ads.linkedin.com https://www.google.com + https://www.google.com.br; font-src ''self'' data: *.app.crewai.com app.crewai.com; + connect-src ''self'' *.app.crewai.com app.crewai.com https://zeus.tools.crewai.com + https://connect.useparagon.com/ https://zeus.useparagon.com/* https://*.useparagon.com/* + https://run.pstmn.io https://connect.tools.crewai.com/ https://*.sentry.io + https://www.google-analytics.com https://edge.fullstory.com https://rs.fullstory.com + https://api.hubspot.com https://forms.hscollectedforms.net https://api.hubapi.com + https://px.ads.linkedin.com https://px4.ads.linkedin.com https://google.com/pagead/form-data/16713662509 + https://google.com/ccm/form-data/16713662509 https://www.google.com/ccm/collect + https://worker-actionkit.tools.crewai.com https://api.reo.dev; frame-src ''self'' + *.app.crewai.com app.crewai.com https://connect.useparagon.com/ https://zeus.tools.crewai.com + https://zeus.useparagon.com/* https://connect.tools.crewai.com/ https://docs.google.com + https://drive.google.com https://slides.google.com https://accounts.google.com + https://*.google.com https://app.hubspot.com/ https://td.doubleclick.net https://www.googletagmanager.com/ + https://www.youtube.com https://share.descript.com' etag: - - W/"01011533361876418a081ce43467041b" + - W/"13fec6fa7979b33d0abfb48b953ca568" + expires: + - '0' permissions-policy: - camera=(), microphone=(self), geolocation=() + pragma: + - no-cache referrer-policy: - strict-origin-when-cross-origin - server-timing: - - cache_read.active_support;dur=0.12, sql.active_record;dur=11.40, cache_generate.active_support;dur=5.40, - cache_write.active_support;dur=0.16, cache_read_multi.active_support;dur=0.18, - start_processing.action_controller;dur=0.00, start_transaction.active_record;dur=0.00, - transaction.active_record;dur=6.25, process_action.action_controller;dur=9.16 + strict-transport-security: + - max-age=63072000; includeSubDomains vary: - Accept x-content-type-options: @@ -371,702 +92,364 @@ interactions: x-permitted-cross-domain-policies: - none x-request-id: - - 52ce5948-cc0a-414c-8fcc-19e33590ada0 + - 595d27b3-7185-4606-acc1-97d5654ef453 x-runtime: - - '0.066923' + - '0.047789' x-xss-protection: - 1; mode=block status: code: 201 message: Created - request: - body: '{"events": [{"event_id": "c26a941f-6e16-4589-958e-b0d869ce2f6d", "timestamp": - "2025-09-23T20:11:00.478420+00:00", "type": "crew_kickoff_started", "event_data": - {"timestamp": "2025-09-23T20:11:00.404684+00:00", "type": "crew_kickoff_started", - "source_fingerprint": null, "source_type": null, "fingerprint_metadata": null, - "task_id": null, "task_name": null, "agent_id": null, "agent_role": null, "crew_name": - "crew", "crew": null, "inputs": null}}, {"event_id": "7a185f1a-4fe3-4f4d-8653-81185e858be2", - "timestamp": "2025-09-23T20:11:00.479625+00:00", "type": "task_started", "event_data": - {"task_description": "Just say hi.", "expected_output": "Your greeting.", "task_name": - "Just say hi.", "context": "", "agent_role": "test role", "task_id": "19b2ccd8-6500-4332-a1b0-0e317a6cdcdd"}}, - {"event_id": "6972e01c-2f6f-4f0b-8f21-373e5fe62972", "timestamp": "2025-09-23T20:11:00.479889+00:00", - "type": "agent_execution_started", "event_data": {"agent_role": "test role", - "agent_goal": "test goal", "agent_backstory": "test backstory"}}, {"event_id": - "84c1d1bb-9a32-4490-8846-e0a1b1b07eab", "timestamp": "2025-09-23T20:11:00.479946+00:00", - "type": "llm_call_started", "event_data": {"timestamp": "2025-09-23T20:11:00.479930+00:00", - "type": "llm_call_started", "source_fingerprint": null, "source_type": null, - "fingerprint_metadata": null, "task_id": "19b2ccd8-6500-4332-a1b0-0e317a6cdcdd", - "task_name": "Just say hi.", "agent_id": null, "agent_role": null, "from_task": - null, "from_agent": null, "model": "gpt-4o-mini", "messages": [{"role": "system", - "content": "You are test role. test backstory\nYour personal goal is: test goal\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": "\nCurrent Task: Just say hi.\n\nThis is the expected criteria for - your final answer: Your greeting.\nyou MUST return the actual complete content - as the final answer, not a summary.\n\nBegin! This is VERY important to you, - use the tools available and give your best Final Answer, your job depends on - it!\n\nThought:"}], "tools": null, "callbacks": [""], "available_functions": null}}, {"event_id": "9da5663d-6cc1-4bf6-b0fe-1baf3f8f2c73", - "timestamp": "2025-09-23T20:11:00.480836+00:00", "type": "llm_call_completed", - "event_data": {"timestamp": "2025-09-23T20:11:00.480820+00:00", "type": "llm_call_completed", - "source_fingerprint": null, "source_type": null, "fingerprint_metadata": null, - "task_id": "19b2ccd8-6500-4332-a1b0-0e317a6cdcdd", "task_name": "Just say hi.", - "agent_id": null, "agent_role": null, "from_task": null, "from_agent": null, - "messages": [{"role": "system", "content": "You are test role. test backstory\nYour + body: '{"messages":[{"role":"system","content":"You are test role. test backstory\nYour personal goal is: test goal\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": "\nCurrent Task: Just say hi.\n\nThis + depends on it!"},{"role":"user","content":"\nCurrent Task: Just say hi.\n\nThis is the expected criteria for your final answer: Your greeting.\nyou MUST return the actual complete content as the final answer, not a summary.\n\nBegin! This is VERY important to you, use the tools available and give your best Final Answer, - your job depends on it!\n\nThought:"}], "response": "Thought: I now can give - a great answer\nFinal Answer: Hi!", "call_type": "", - "model": "gpt-4o-mini"}}, {"event_id": "9680ac56-8e34-4966-b223-c0fdbccf55b9", - "timestamp": "2025-09-23T20:11:00.480913+00:00", "type": "agent_execution_completed", - "event_data": {"agent_role": "test role", "agent_goal": "test goal", "agent_backstory": - "test backstory"}}, {"event_id": "39d5beec-c46d-450b-9611-dfc730a65099", "timestamp": - "2025-09-23T20:11:00.480963+00:00", "type": "task_completed", "event_data": - {"task_description": "Just say hi.", "task_name": "Just say hi.", "task_id": - "19b2ccd8-6500-4332-a1b0-0e317a6cdcdd", "output_raw": "Hi!", "output_format": - "OutputFormat.RAW", "agent_role": "test role"}}, {"event_id": "c2f4befb-e82f-450a-9e8f-959e4b121389", - "timestamp": "2025-09-23T20:11:00.481631+00:00", "type": "task_started", "event_data": - {"task_description": "Just say bye.", "expected_output": "Your farewell.", "task_name": - "Just say bye.", "context": "Hi!", "agent_role": "test role", "task_id": "e2044f89-7d6d-4136-b8f9-de15f25ae48a"}}, - {"event_id": "14b72e1a-1460-485d-9b58-f6bbf0e1ba26", "timestamp": "2025-09-23T20:11:00.481955+00:00", - "type": "agent_execution_started", "event_data": {"agent_role": "test role", - "agent_goal": "test goal", "agent_backstory": "test backstory"}}, {"event_id": - "2a3852b9-049a-4c51-a32e-a02720b1d6bb", "timestamp": "2025-09-23T20:11:00.481994+00:00", - "type": "llm_call_started", "event_data": {"timestamp": "2025-09-23T20:11:00.481984+00:00", - "type": "llm_call_started", "source_fingerprint": null, "source_type": null, - "fingerprint_metadata": null, "task_id": "e2044f89-7d6d-4136-b8f9-de15f25ae48a", - "task_name": "Just say bye.", "agent_id": null, "agent_role": null, "from_task": - null, "from_agent": null, "model": "gpt-4o-mini", "messages": [{"role": "system", - "content": "You are test role. test backstory\nYour personal goal is: test goal\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": "\nCurrent Task: Just say bye.\n\nThis is the expected criteria for - your final answer: Your farewell.\nyou MUST return the actual complete content - as the final answer, not a summary.\n\nThis is the context you''re working with:\nHi!\n\nBegin! - This is VERY important to you, use the tools available and give your best Final - Answer, your job depends on it!\n\nThought:"}], "tools": null, "callbacks": - [""], - "available_functions": null}}, {"event_id": "5b7492f6-1e3f-4cdb-9efe-a9f69a5ea808", - "timestamp": "2025-09-23T20:11:00.482639+00:00", "type": "llm_call_completed", - "event_data": {"timestamp": "2025-09-23T20:11:00.482627+00:00", "type": "llm_call_completed", - "source_fingerprint": null, "source_type": null, "fingerprint_metadata": null, - "task_id": "e2044f89-7d6d-4136-b8f9-de15f25ae48a", "task_name": "Just say bye.", - "agent_id": null, "agent_role": null, "from_task": null, "from_agent": null, - "messages": [{"role": "system", "content": "You are test role. test backstory\nYour + your job depends on it!\n\nThought:"}],"model":"gpt-4.1-mini"}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate, zstd + connection: + - keep-alive + content-length: + - '780' + 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-read-timeout: + - '600' + x-stainless-retry-count: + - '0' + x-stainless-runtime: + - CPython + x-stainless-runtime-version: + - 3.12.10 + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: !!binary | + H4sIAAAAAAAAAwAAAP//jFLLbtwwDLz7K1id18Ha8T7qW5GiSIoifaCXog0MRaZtJrIkSHTSIth/ + D+TdrL19AL0YMIczmiH5lAAIqkUJQnWSVe90evHtUvVvi6vN+R29zz7neO2Li0/3Xz5ef0AUi8iw + t3eo+IV1pmzvNDJZs4eVR8kYVbPNOs+369fn6xHobY060lrHaXGWpT0ZSvNlvkqXRZoVB3pnSWEQ + JXxPAACexm80amr8KUpYLl4qPYYgWxTlsQlAeKtjRcgQKLA0LBYTqKxhNKP3r50d2o5LuAJjH0FJ + Ay09IEhoYwCQJjyi/2HekZEa3ox/JVzSq7mex2YIMoYyg9YzQBpjWcahjEluDsju6F3b1nl7G36j + ioYMha7yKIM10Wdg68SI7hKAm3FGw0ls4bztHVds73F8Llut9npi2s0cPYBsWepZfXOY7KleVSNL + 0mE2ZaGk6rCeqNNK5FCTnQHJLPWfbv6mvU9Opv0f+QlQCh1jXTmPNanTxFObx3i6/2o7Tnk0LAL6 + B1JYMaGPm6ixkYPe35MIvwJjXzVkWvTO0/6oGlcVKt+usma7zkWyS54BAAD//wMAKT0wHWMDAAA= + headers: + CF-RAY: + - 9996bf091859eda1-EWR + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 04 Nov 2025 20:08:57 GMT + Server: + - cloudflare + Set-Cookie: + - __cf_bm=oe9g_8ncIagy7QUbtZsDvzjCAQLsQ4E9_yEuLIVbpQI-1762286937-1.0.1.1-Y5vDnd3miIQVZTfVKnT24B9uFxmRa9d5eovIFtA9fiTzTD2nAwcnFQqaB0INj1qdWu55rORso5zUfjLGbpab60kVfXrod27VgxLwtfFzGcI; + path=/; expires=Tue, 04-Nov-25 20:38:57 GMT; domain=.api.openai.com; HttpOnly; + Secure; SameSite=None + - _cfuvid=FmZm5u6vgVYCfrG.ms8MG2HShckkc8LuwT_L9ao9vYY-1762286937031-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: + - user-ey7th29prfg7qkhriu5kkphq + openai-processing-ms: + - '401' + openai-project: + - proj_E14YUf6ccBtOzz2aSr0CLtB7 + openai-version: + - '2020-10-01' + x-envoy-upstream-service-time: + - '459' + x-openai-proxy-wasm: + - v0.1 + x-ratelimit-limit-requests: + - '200' + x-ratelimit-limit-tokens: + - '100000' + x-ratelimit-remaining-requests: + - '198' + x-ratelimit-remaining-tokens: + - '95283' + x-ratelimit-reset-requests: + - 10m24.276s + x-ratelimit-reset-tokens: + - 33h57m29.556s + x-request-id: + - req_36657d4f3882471e97c5b759c783a157 + status: + code: 200 + message: OK +- request: + body: '{"messages":[{"role":"system","content":"You are test role. test backstory\nYour personal goal is: test goal\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": "\nCurrent Task: Just say bye.\n\nThis + depends on it!"},{"role":"user","content":"\nCurrent Task: Just say bye.\n\nThis is the expected criteria for your final answer: Your farewell.\nyou MUST return the actual complete content as the final answer, not a summary.\n\nThis is the context you''re working with:\nHi!\n\nBegin! This is VERY important to you, use the tools available and give your best Final Answer, your job depends on - it!\n\nThought:"}], "response": "Thought: I now can give a great answer\nFinal - Answer: Bye!", "call_type": "", "model": - "gpt-4o-mini"}}, {"event_id": "7b76e037-e4f3-49e6-a33b-95b6ea143939", "timestamp": - "2025-09-23T20:11:00.482696+00:00", "type": "agent_execution_completed", "event_data": - {"agent_role": "test role", "agent_goal": "test goal", "agent_backstory": "test - backstory"}}, {"event_id": "a27cfa17-86f6-4dbe-ab24-9f4ace8183b4", "timestamp": - "2025-09-23T20:11:00.482722+00:00", "type": "task_completed", "event_data": - {"task_description": "Just say bye.", "task_name": "Just say bye.", "task_id": - "e2044f89-7d6d-4136-b8f9-de15f25ae48a", "output_raw": "Bye!", "output_format": - "OutputFormat.RAW", "agent_role": "test role"}}, {"event_id": "cd969d89-4134-4d0d-99bb-8cecf815f723", - "timestamp": "2025-09-23T20:11:00.483244+00:00", "type": "task_started", "event_data": - {"task_description": "Answer accordingly to the context you got.", "expected_output": - "Your answer.", "task_name": "Answer accordingly to the context you got.", "context": - "Hi!", "agent_role": "test role2", "task_id": "8b3d52c7-ebc8-4099-9f88-cb70a61c5d74"}}, - {"event_id": "b0aa94a9-a27b-436f-84ea-fc7fa011496c", "timestamp": "2025-09-23T20:11:00.483439+00:00", - "type": "agent_execution_started", "event_data": {"agent_role": "test role2", - "agent_goal": "test goal2", "agent_backstory": "test backstory2"}}, {"event_id": - "441248e6-0368-42e8-91e1-988cd43f41d6", "timestamp": "2025-09-23T20:11:00.483475+00:00", - "type": "llm_call_started", "event_data": {"timestamp": "2025-09-23T20:11:00.483465+00:00", - "type": "llm_call_started", "source_fingerprint": null, "source_type": null, - "fingerprint_metadata": null, "task_id": "8b3d52c7-ebc8-4099-9f88-cb70a61c5d74", - "task_name": "Answer accordingly to the context you got.", "agent_id": null, - "agent_role": null, "from_task": null, "from_agent": null, "model": "gpt-4o-mini", - "messages": [{"role": "system", "content": "You are test role2. test backstory2\nYour + it!\n\nThought:"}],"model":"gpt-4.1-mini"}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate, zstd + connection: + - keep-alive + content-length: + - '830' + content-type: + - application/json + cookie: + - __cf_bm=oe9g_8ncIagy7QUbtZsDvzjCAQLsQ4E9_yEuLIVbpQI-1762286937-1.0.1.1-Y5vDnd3miIQVZTfVKnT24B9uFxmRa9d5eovIFtA9fiTzTD2nAwcnFQqaB0INj1qdWu55rORso5zUfjLGbpab60kVfXrod27VgxLwtfFzGcI; + _cfuvid=FmZm5u6vgVYCfrG.ms8MG2HShckkc8LuwT_L9ao9vYY-1762286937031-0.0.1.1-604800000 + 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-read-timeout: + - '600' + x-stainless-retry-count: + - '0' + x-stainless-runtime: + - CPython + x-stainless-runtime-version: + - 3.12.10 + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: !!binary | + H4sIAAAAAAAAAwAAAP//jFLRatswFH33V9zqOS6xl6SJ38ZGu7K9FMIgbMXcSNe2GlkSktwslPz7 + kJPG7tbBXgTSuefonnPvSwLApGAFMN5g4K1V6afNF653+zrcfhWf7+TD5mn1/T7YjX9Yf0M2iQyz + fSIeXlnX3LRWUZBGn2DuCANF1exmkefLxerDTQ+0RpCKtNqGdHadpa3UMs2n+TydztJsdqY3RnLy + rIAfCQDAS3/GRrWgX6yA6eT1pSXvsSZWXIoAmDMqvjD0XvqAOrDJAHKjA+m+93VjuroJBdyDNnvg + qKGWzwQIdTQAqP2e3E99KzUq+NjfCrgzRmwPdAVr3BFwdASoBTTYM/dGC3JVp0DgAbAhFFfj7x1V + nceYge6UGgGotQkYM+yNP56R48WqMrV1Zuv/oLJKaumb0hF6o6MtH4xlPXpMAB77SLs3KTHrTGtD + GcyO+u+yxfykx4ZRDmg+O4PBBFQj1nI1eUevFBRQKj8aCuPIGxIDdZggdkKaEZCMXP/dzXvaJ+dS + 1/8jPwCckw0kSutISP7W8VDmKG76v8ouKfcNM0/uWXIqgyQXJyGowk6d1o/5gw/UlpXUNTnr5GkH + K1vOeL6cZ9VykbPkmPwGAAD//wMAVJBrW5IDAAA= + headers: + CF-RAY: + - 9996bf0d3b0deda1-EWR + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 04 Nov 2025 20:08:57 GMT + Server: + - cloudflare + 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: + - user-ey7th29prfg7qkhriu5kkphq + openai-processing-ms: + - '384' + openai-project: + - proj_E14YUf6ccBtOzz2aSr0CLtB7 + openai-version: + - '2020-10-01' + x-envoy-upstream-service-time: + - '396' + x-openai-proxy-wasm: + - v0.1 + x-ratelimit-limit-requests: + - '200' + x-ratelimit-limit-tokens: + - '100000' + x-ratelimit-remaining-requests: + - '197' + x-ratelimit-remaining-tokens: + - '95101' + x-ratelimit-reset-requests: + - 17m35.687s + x-ratelimit-reset-tokens: + - 35h16m6.407s + x-request-id: + - req_83d0dc3322094c6b877d8b1b5e9c4ee1 + status: + code: 200 + message: OK +- request: + body: '{"messages":[{"role":"system","content":"You are test role2. test backstory2\nYour personal goal is: test goal2\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": "\nCurrent Task: Answer accordingly + depends on it!"},{"role":"user","content":"\nCurrent Task: Answer accordingly to the context you got.\n\nThis is the expected criteria for your final answer: Your answer.\nyou MUST return the actual complete content as the final answer, not a summary.\n\nThis is the context you''re working with:\nHi!\n\nBegin! This is VERY important to you, use the tools available and give your best Final Answer, - your job depends on it!\n\nThought:"}], "tools": null, "callbacks": [""], "available_functions": null}}, {"event_id": "0ad6b11f-4576-4a7e-8ccd-41b3ad08df3a", - "timestamp": "2025-09-23T20:11:00.484148+00:00", "type": "llm_call_completed", - "event_data": {"timestamp": "2025-09-23T20:11:00.484134+00:00", "type": "llm_call_completed", - "source_fingerprint": null, "source_type": null, "fingerprint_metadata": null, - "task_id": "8b3d52c7-ebc8-4099-9f88-cb70a61c5d74", "task_name": "Answer accordingly - to the context you got.", "agent_id": null, "agent_role": null, "from_task": - null, "from_agent": null, "messages": [{"role": "system", "content": "You are - test role2. test backstory2\nYour personal goal is: test goal2\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": "\nCurrent - Task: Answer accordingly to the context you got.\n\nThis is the expected criteria - for your final answer: Your answer.\nyou MUST return the actual complete content - as the final answer, not a summary.\n\nThis is the context you''re working with:\nHi!\n\nBegin! - This is VERY important to you, use the tools available and give your best Final - Answer, your job depends on it!\n\nThought:"}], "response": "Thought: I now - can give a great answer\nFinal Answer: Hi!", "call_type": "", "model": "gpt-4o-mini"}}, {"event_id": "1c524823-fba6-40a2-97f5-40879ab72f3f", - "timestamp": "2025-09-23T20:11:00.484211+00:00", "type": "agent_execution_completed", - "event_data": {"agent_role": "test role2", "agent_goal": "test goal2", "agent_backstory": - "test backstory2"}}, {"event_id": "798dad64-1d7d-4f7b-8cff-5d60e4a81323", "timestamp": - "2025-09-23T20:11:00.484240+00:00", "type": "task_completed", "event_data": - {"task_description": "Answer accordingly to the context you got.", "task_name": - "Answer accordingly to the context you got.", "task_id": "8b3d52c7-ebc8-4099-9f88-cb70a61c5d74", - "output_raw": "Hi!", "output_format": "OutputFormat.RAW", "agent_role": "test - role2"}}, {"event_id": "05599cf9-612d-42c0-9212-10c3a38802e3", "timestamp": - "2025-09-23T20:11:00.484900+00:00", "type": "crew_kickoff_completed", "event_data": - {"timestamp": "2025-09-23T20:11:00.484885+00:00", "type": "crew_kickoff_completed", - "source_fingerprint": null, "source_type": null, "fingerprint_metadata": null, - "task_id": null, "task_name": null, "agent_id": null, "agent_role": null, "crew_name": - "crew", "crew": null, "output": {"description": "Answer accordingly to the context - you got.", "name": "Answer accordingly to the context you got.", "expected_output": - "Your answer.", "summary": "Answer accordingly to the context you got....", - "raw": "Hi!", "pydantic": null, "json_dict": null, "agent": "test role2", "output_format": - "raw"}, "total_tokens": 534}}], "batch_metadata": {"events_count": 20, "batch_sequence": - 1, "is_final_batch": false}}' + your job depends on it!\n\nThought:"}],"model":"gpt-4.1-mini"}' headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13594' - Content-Type: + accept: - application/json - User-Agent: - - CrewAI-CLI/0.193.2 - X-Crewai-Version: - - 0.193.2 + accept-encoding: + - gzip, deflate, zstd + connection: + - keep-alive + content-length: + - '860' + 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-read-timeout: + - '600' + x-stainless-retry-count: + - '0' + x-stainless-runtime: + - CPython + x-stainless-runtime-version: + - 3.12.10 method: POST - uri: http://localhost:3000/crewai_plus/api/v1/tracing/ephemeral/batches/71ed9e01-5013-496d-bb6a-72cea8f389b8/events + uri: https://api.openai.com/v1/chat/completions response: body: - string: '{"events_created":20,"ephemeral_trace_batch_id":"d0adab5b-7d5b-4096-b6da-33cd2eb86628"}' + string: !!binary | + H4sIAAAAAAAAAwAAAP//jFNNb9swDL3nV3A6x0Hspmnmy1AMK5Jhh2LYDvsoDEWiba2yqEqys6DI + fy9kp3G6dcAuAsTH90Q+Uo8TAKYky4GJmgfRWJ28/7YWpK585z+HDzefrm+3H79386/Ci4f2nk0j + g7a/UIRn1kxQYzUGRWaAhUMeMKqmV8ssWy3fXqx6oCGJOtIqG5LFLE0aZVSSzbPLZL5I0sWRXpMS + 6FkOPyYAAI/9GQs1En+zHObT50iD3vMKWX5KAmCOdIww7r3ygZvApiMoyAQ0fe1famqrOuSwAUM7 + ENxApToEDlVsALjxO3Q/zY0yXMN1f8thrd7A+pi+geEN2FMLgSTfv4NbjdwjWEedkgjc7EFi4Ep7 + IAcPLfpolO8pNe9wCtxI2MBOaQ2SoNnDFn2AQFCjtjFvdt6Aw7L1PLpoWq3PAG4MBd6LR+vujsjh + ZJamyjra+j+orFRG+bpwyD2ZaIwPZFmPHiYAd/1Q2hc+M+uosaEIdI/9c+lVNuixcRlGdJEewUCB + 6zGepRfTV/SKo2FnY2WCixrlSB13gLdS0RkwOev672pe0x46V6b6H/kREAJtQFlYh1KJlx2PaQ7j + X/lX2snlvmDm0XVKYBEUujgJiSVv9bDAzO99wKYolanQWaeGLS5tsRDZ6jItV8uMTQ6TJwAAAP// + AwAJlU391AMAAA== headers: - Content-Length: - - '87' - cache-control: - - max-age=0, private, must-revalidate - content-security-policy: - - 'default-src ''self'' *.crewai.com crewai.com; script-src ''self'' ''unsafe-inline'' - *.crewai.com crewai.com https://cdn.jsdelivr.net/npm/apexcharts https://www.gstatic.com - https://run.pstmn.io https://share.descript.com/; style-src ''self'' ''unsafe-inline'' - *.crewai.com crewai.com https://cdn.jsdelivr.net/npm/apexcharts; img-src ''self'' - data: *.crewai.com crewai.com https://zeus.tools.crewai.com https://dashboard.tools.crewai.com - https://cdn.jsdelivr.net; font-src ''self'' data: *.crewai.com crewai.com; - connect-src ''self'' *.crewai.com crewai.com https://zeus.tools.crewai.com - https://connect.useparagon.com/ https://zeus.useparagon.com/* https://*.useparagon.com/* - https://run.pstmn.io https://connect.tools.crewai.com/ ws://localhost:3036 - wss://localhost:3036; frame-src ''self'' *.crewai.com crewai.com https://connect.useparagon.com/ - https://zeus.tools.crewai.com https://zeus.useparagon.com/* https://connect.tools.crewai.com/ - https://www.youtube.com https://share.descript.com' - content-type: - - application/json; charset=utf-8 - etag: - - W/"6c7add3a44bf9ea84525163bb3f2a80d" - permissions-policy: - - camera=(), microphone=(self), geolocation=() - referrer-policy: - - strict-origin-when-cross-origin - server-timing: - - cache_read.active_support;dur=0.05, cache_fetch_hit.active_support;dur=0.00, - cache_read_multi.active_support;dur=0.09, start_processing.action_controller;dur=0.00, - sql.active_record;dur=35.89, instantiation.active_record;dur=0.03, start_transaction.active_record;dur=0.00, - transaction.active_record;dur=74.58, process_action.action_controller;dur=80.92 - vary: - - Accept - x-content-type-options: - - nosniff - x-frame-options: - - SAMEORIGIN - x-permitted-cross-domain-policies: - - none - x-request-id: - - 5d5d4c21-504e-41db-861f-056aa17d5c1d - x-runtime: - - '0.106026' - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"status": "completed", "duration_ms": 194, "final_event_count": 20}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate + CF-RAY: + - 9996bf106bb3c32f-EWR Connection: - keep-alive - Content-Length: - - '68' + Content-Encoding: + - gzip Content-Type: - application/json - User-Agent: - - CrewAI-CLI/0.193.2 - X-Crewai-Version: - - 0.193.2 - method: PATCH - uri: http://localhost:3000/crewai_plus/api/v1/tracing/ephemeral/batches/71ed9e01-5013-496d-bb6a-72cea8f389b8/finalize - response: - body: - string: '{"id":"d0adab5b-7d5b-4096-b6da-33cd2eb86628","ephemeral_trace_id":"71ed9e01-5013-496d-bb6a-72cea8f389b8","execution_type":"crew","crew_name":"crew","flow_name":null,"status":"completed","duration_ms":194,"crewai_version":"0.193.2","total_events":20,"execution_context":{"crew_name":"crew","flow_name":null,"privacy_level":"standard","crewai_version":"0.193.2","crew_fingerprint":null},"created_at":"2025-09-23T20:11:00.473Z","updated_at":"2025-09-23T20:11:00.624Z","access_code":"TRACE-b8851ea500","user_identifier":null}' - headers: - Content-Length: - - '521' - cache-control: - - max-age=0, private, must-revalidate - content-security-policy: - - 'default-src ''self'' *.crewai.com crewai.com; script-src ''self'' ''unsafe-inline'' - *.crewai.com crewai.com https://cdn.jsdelivr.net/npm/apexcharts https://www.gstatic.com - https://run.pstmn.io https://share.descript.com/; style-src ''self'' ''unsafe-inline'' - *.crewai.com crewai.com https://cdn.jsdelivr.net/npm/apexcharts; img-src ''self'' - data: *.crewai.com crewai.com https://zeus.tools.crewai.com https://dashboard.tools.crewai.com - https://cdn.jsdelivr.net; font-src ''self'' data: *.crewai.com crewai.com; - connect-src ''self'' *.crewai.com crewai.com https://zeus.tools.crewai.com - https://connect.useparagon.com/ https://zeus.useparagon.com/* https://*.useparagon.com/* - https://run.pstmn.io https://connect.tools.crewai.com/ ws://localhost:3036 - wss://localhost:3036; frame-src ''self'' *.crewai.com crewai.com https://connect.useparagon.com/ - https://zeus.tools.crewai.com https://zeus.useparagon.com/* https://connect.tools.crewai.com/ - https://www.youtube.com https://share.descript.com' - content-type: - - application/json; charset=utf-8 - etag: - - W/"1a105461707298d2ec8406427e40c9fc" - permissions-policy: - - camera=(), microphone=(self), geolocation=() - referrer-policy: - - strict-origin-when-cross-origin - server-timing: - - cache_read.active_support;dur=0.03, cache_fetch_hit.active_support;dur=0.00, - cache_read_multi.active_support;dur=0.06, start_processing.action_controller;dur=0.00, - sql.active_record;dur=2.03, instantiation.active_record;dur=0.03, unpermitted_parameters.action_controller;dur=0.00, - start_transaction.active_record;dur=0.00, transaction.active_record;dur=1.31, - process_action.action_controller;dur=4.57 - vary: - - Accept - x-content-type-options: + Date: + - Tue, 04 Nov 2025 20:08:59 GMT + Server: + - cloudflare + Set-Cookie: + - __cf_bm=rm1GDlOGXpJOLWhyyrdwqqDS_pJFMVT7T79mRLGieJQ-1762286939-1.0.1.1-gl5Gc.AEpJuZK0WSX67YDEhRALhlbcmznHByU77tWa3rNH1qSyMXlFkB.OJVYoDzcQAlm50Uy8uSB8vcXYQE.0JmLTZBUQUBGhlXLGmz6XI; + path=/; expires=Tue, 04-Nov-25 20:38:59 GMT; domain=.api.openai.com; HttpOnly; + Secure; SameSite=None + - _cfuvid=xB89LrKBvkhEAEBreP09tD0SWChnodgw36q_HETZ9kQ-1762286939301-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 - x-frame-options: - - SAMEORIGIN - x-permitted-cross-domain-policies: - - none + access-control-expose-headers: + - X-Request-ID + alt-svc: + - h3=":443"; ma=86400 + cf-cache-status: + - DYNAMIC + openai-organization: + - user-ey7th29prfg7qkhriu5kkphq + openai-processing-ms: + - '1458' + openai-project: + - proj_E14YUf6ccBtOzz2aSr0CLtB7 + openai-version: + - '2020-10-01' + x-envoy-upstream-service-time: + - '1558' + x-openai-proxy-wasm: + - v0.1 + x-ratelimit-limit-requests: + - '200' + x-ratelimit-limit-tokens: + - '100000' + x-ratelimit-remaining-requests: + - '197' + x-ratelimit-remaining-tokens: + - '95093' + x-ratelimit-reset-requests: + - 17m35.077s + x-ratelimit-reset-tokens: + - 35h19m33.157s x-request-id: - - c5cb7cbc-c3fb-45d9-8b39-fe6d6ebe4207 - x-runtime: - - '0.019069' - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"trace_id": "909da497-c8ba-4fc0-a3db-090c507811d9", "execution_type": - "crew", "user_identifier": null, "execution_context": {"crew_fingerprint": null, - "crew_name": "crew", "flow_name": null, "crewai_version": "0.193.2", "privacy_level": - "standard"}, "execution_metadata": {"expected_duration_estimate": 300, "agent_count": - 0, "task_count": 0, "flow_method_count": 0, "execution_started_at": "2025-09-24T05:26:00.269467+00:00"}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '428' - Content-Type: - - application/json - User-Agent: - - CrewAI-CLI/0.193.2 - X-Crewai-Organization-Id: - - d3a3d10c-35db-423f-a7a4-c026030ba64d - X-Crewai-Version: - - 0.193.2 - method: POST - uri: http://localhost:3000/crewai_plus/api/v1/tracing/batches - response: - body: - string: '{"id":"65aa0065-5140-4310-b3b3-216fb21f5f6f","trace_id":"909da497-c8ba-4fc0-a3db-090c507811d9","execution_type":"crew","crew_name":"crew","flow_name":null,"status":"running","duration_ms":null,"crewai_version":"0.193.2","privacy_level":"standard","total_events":0,"execution_context":{"crew_fingerprint":null,"crew_name":"crew","flow_name":null,"crewai_version":"0.193.2","privacy_level":"standard"},"created_at":"2025-09-24T05:26:00.560Z","updated_at":"2025-09-24T05:26:00.560Z"}' - headers: - Content-Length: - - '480' - cache-control: - - max-age=0, private, must-revalidate - content-security-policy: - - 'default-src ''self'' *.crewai.com crewai.com; script-src ''self'' ''unsafe-inline'' - *.crewai.com crewai.com https://cdn.jsdelivr.net/npm/apexcharts https://www.gstatic.com - https://run.pstmn.io https://share.descript.com/; style-src ''self'' ''unsafe-inline'' - *.crewai.com crewai.com https://cdn.jsdelivr.net/npm/apexcharts; img-src ''self'' - data: *.crewai.com crewai.com https://zeus.tools.crewai.com https://dashboard.tools.crewai.com - https://cdn.jsdelivr.net; font-src ''self'' data: *.crewai.com crewai.com; - connect-src ''self'' *.crewai.com crewai.com https://zeus.tools.crewai.com - https://connect.useparagon.com/ https://zeus.useparagon.com/* https://*.useparagon.com/* - https://run.pstmn.io https://connect.tools.crewai.com/ ws://localhost:3036 - wss://localhost:3036; frame-src ''self'' *.crewai.com crewai.com https://connect.useparagon.com/ - https://zeus.tools.crewai.com https://zeus.useparagon.com/* https://connect.tools.crewai.com/ - https://www.youtube.com https://share.descript.com' - content-type: - - application/json; charset=utf-8 - etag: - - W/"f35b137a9b756c03919d69e8a8529996" - permissions-policy: - - camera=(), microphone=(self), geolocation=() - referrer-policy: - - strict-origin-when-cross-origin - server-timing: - - cache_read.active_support;dur=0.04, cache_fetch_hit.active_support;dur=0.00, - cache_read_multi.active_support;dur=0.06, start_processing.action_controller;dur=0.00, - sql.active_record;dur=21.59, instantiation.active_record;dur=0.44, feature_operation.flipper;dur=0.03, - start_transaction.active_record;dur=0.00, transaction.active_record;dur=4.89, - process_action.action_controller;dur=273.31 - vary: - - Accept - x-content-type-options: - - nosniff - x-frame-options: - - SAMEORIGIN - x-permitted-cross-domain-policies: - - none - x-request-id: - - f970d54c-d95a-4318-8c31-dd003fd53481 - x-runtime: - - '0.293412' - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"events": [{"event_id": "14ef810b-9334-4707-bd7a-68786e0e7886", "timestamp": - "2025-09-24T05:26:00.565895+00:00", "type": "crew_kickoff_started", "event_data": - {"timestamp": "2025-09-24T05:26:00.268163+00:00", "type": "crew_kickoff_started", - "source_fingerprint": null, "source_type": null, "fingerprint_metadata": null, - "task_id": null, "task_name": null, "agent_id": null, "agent_role": null, "crew_name": - "crew", "crew": null, "inputs": null}}, {"event_id": "b9ab6c5e-c9d5-4d17-a4b5-0f1e4a15b546", - "timestamp": "2025-09-24T05:26:00.568072+00:00", "type": "task_started", "event_data": - {"task_description": "Just say hi.", "expected_output": "Your greeting.", "task_name": - "Just say hi.", "context": "", "agent_role": "test role", "task_id": "95f73383-c971-4f0d-bc1d-3baf104d5bb0"}}, - {"event_id": "62ae7533-a350-4c9c-8813-5345ec9bbede", "timestamp": "2025-09-24T05:26:00.568845+00:00", - "type": "agent_execution_started", "event_data": {"agent_role": "test role", - "agent_goal": "test goal", "agent_backstory": "test backstory"}}, {"event_id": - "9033feee-854e-404d-b33a-f5186d038b0a", "timestamp": "2025-09-24T05:26:00.568950+00:00", - "type": "llm_call_started", "event_data": {"timestamp": "2025-09-24T05:26:00.568922+00:00", - "type": "llm_call_started", "source_fingerprint": null, "source_type": null, - "fingerprint_metadata": null, "task_id": "95f73383-c971-4f0d-bc1d-3baf104d5bb0", - "task_name": "Just say hi.", "agent_id": "bef969a6-8694-408f-957c-170d254cc4f4", - "agent_role": "test role", "from_task": null, "from_agent": null, "model": "gpt-4o-mini", - "messages": [{"role": "system", "content": "You are test role. test backstory\nYour - personal goal is: test goal\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": "\nCurrent Task: Just say hi.\n\nThis - is the expected criteria for your final answer: Your greeting.\nyou MUST return - the actual complete content as the final answer, not a summary.\n\nBegin! This - is VERY important to you, use the tools available and give your best Final Answer, - your job depends on it!\n\nThought:"}], "tools": null, "callbacks": [""], "available_functions": null}}, {"event_id": "fb20475c-da15-44c4-9d01-718c71613d08", - "timestamp": "2025-09-24T05:26:00.570494+00:00", "type": "llm_call_completed", - "event_data": {"timestamp": "2025-09-24T05:26:00.570462+00:00", "type": "llm_call_completed", - "source_fingerprint": null, "source_type": null, "fingerprint_metadata": null, - "task_id": "95f73383-c971-4f0d-bc1d-3baf104d5bb0", "task_name": "Just say hi.", - "agent_id": "bef969a6-8694-408f-957c-170d254cc4f4", "agent_role": "test role", - "from_task": null, "from_agent": null, "messages": [{"role": "system", "content": - "You are test role. test backstory\nYour personal goal is: test goal\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": "\nCurrent Task: Just say hi.\n\nThis is the expected criteria for - your final answer: Your greeting.\nyou MUST return the actual complete content - as the final answer, not a summary.\n\nBegin! This is VERY important to you, - use the tools available and give your best Final Answer, your job depends on - it!\n\nThought:"}], "response": "Thought: I now can give a great answer\nFinal - Answer: Hi!", "call_type": "", "model": - "gpt-4o-mini"}}, {"event_id": "b0f700fb-e49c-4914-88b3-f348fe4663e2", "timestamp": - "2025-09-24T05:26:00.570634+00:00", "type": "agent_execution_completed", "event_data": - {"agent_role": "test role", "agent_goal": "test goal", "agent_backstory": "test - backstory"}}, {"event_id": "b0c9b846-ff58-48ce-ab14-1d0204b90f31", "timestamp": - "2025-09-24T05:26:00.570689+00:00", "type": "task_completed", "event_data": - {"task_description": "Just say hi.", "task_name": "Just say hi.", "task_id": - "95f73383-c971-4f0d-bc1d-3baf104d5bb0", "output_raw": "Hi!", "output_format": - "OutputFormat.RAW", "agent_role": "test role"}}, {"event_id": "28a1293a-e579-4fc5-a6f9-f9ceff4dbde9", - "timestamp": "2025-09-24T05:26:00.571888+00:00", "type": "task_started", "event_data": - {"task_description": "Just say bye.", "expected_output": "Your farewell.", "task_name": - "Just say bye.", "context": "Hi!", "agent_role": "test role", "task_id": "a43474f8-cc92-42d4-92cb-0ab853675bd6"}}, - {"event_id": "1d44cabc-9958-4822-8144-69eb74f1b828", "timestamp": "2025-09-24T05:26:00.572295+00:00", - "type": "agent_execution_started", "event_data": {"agent_role": "test role", - "agent_goal": "test goal", "agent_backstory": "test backstory"}}, {"event_id": - "9aaff984-495f-4254-b03e-85d274393056", "timestamp": "2025-09-24T05:26:00.572391+00:00", - "type": "llm_call_started", "event_data": {"timestamp": "2025-09-24T05:26:00.572366+00:00", - "type": "llm_call_started", "source_fingerprint": null, "source_type": null, - "fingerprint_metadata": null, "task_id": "a43474f8-cc92-42d4-92cb-0ab853675bd6", - "task_name": "Just say bye.", "agent_id": "bef969a6-8694-408f-957c-170d254cc4f4", - "agent_role": "test role", "from_task": null, "from_agent": null, "model": "gpt-4o-mini", - "messages": [{"role": "system", "content": "You are test role. test backstory\nYour - personal goal is: test goal\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": "\nCurrent Task: Just say bye.\n\nThis - is the expected criteria for your final answer: Your farewell.\nyou MUST return - the actual complete content as the final answer, not a summary.\n\nThis is the - context you''re working with:\nHi!\n\nBegin! This is VERY important to you, - use the tools available and give your best Final Answer, your job depends on - it!\n\nThought:"}], "tools": null, "callbacks": [""], "available_functions": null}}, {"event_id": "9677effe-16b2-4715-a449-829c1afd956f", - "timestamp": "2025-09-24T05:26:00.573792+00:00", "type": "llm_call_completed", - "event_data": {"timestamp": "2025-09-24T05:26:00.573765+00:00", "type": "llm_call_completed", - "source_fingerprint": null, "source_type": null, "fingerprint_metadata": null, - "task_id": "a43474f8-cc92-42d4-92cb-0ab853675bd6", "task_name": "Just say bye.", - "agent_id": "bef969a6-8694-408f-957c-170d254cc4f4", "agent_role": "test role", - "from_task": null, "from_agent": null, "messages": [{"role": "system", "content": - "You are test role. test backstory\nYour personal goal is: test goal\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": "\nCurrent Task: Just say bye.\n\nThis is the expected criteria for - your final answer: Your farewell.\nyou MUST return the actual complete content - as the final answer, not a summary.\n\nThis is the context you''re working with:\nHi!\n\nBegin! - This is VERY important to you, use the tools available and give your best Final - Answer, your job depends on it!\n\nThought:"}], "response": "Thought: I now - can give a great answer\nFinal Answer: Bye!", "call_type": "", "model": "gpt-4o-mini"}}, {"event_id": "ddb74fd4-aa8b-42d0-90bd-d98d40c89a1f", - "timestamp": "2025-09-24T05:26:00.573921+00:00", "type": "agent_execution_completed", - "event_data": {"agent_role": "test role", "agent_goal": "test goal", "agent_backstory": - "test backstory"}}, {"event_id": "196bb5af-b989-4d8c-add0-3c42107d2477", "timestamp": - "2025-09-24T05:26:00.573973+00:00", "type": "task_completed", "event_data": - {"task_description": "Just say bye.", "task_name": "Just say bye.", "task_id": - "a43474f8-cc92-42d4-92cb-0ab853675bd6", "output_raw": "Bye!", "output_format": - "OutputFormat.RAW", "agent_role": "test role"}}, {"event_id": "79c24125-2a5c-455d-b6ca-4f66cc5cb205", - "timestamp": "2025-09-24T05:26:00.575233+00:00", "type": "task_started", "event_data": - {"task_description": "Answer accordingly to the context you got.", "expected_output": - "Your answer.", "task_name": "Answer accordingly to the context you got.", "context": - "Hi!", "agent_role": "test role2", "task_id": "43436548-60e0-4508-8737-e377c1a011d1"}}, - {"event_id": "3a8beb12-d2ee-483c-94e4-5db3cd9d39cd", "timestamp": "2025-09-24T05:26:00.575602+00:00", - "type": "agent_execution_started", "event_data": {"agent_role": "test role2", - "agent_goal": "test goal2", "agent_backstory": "test backstory2"}}, {"event_id": - "70629109-cfb0-432c-8dc5-c2f5047f4eda", "timestamp": "2025-09-24T05:26:00.575676+00:00", - "type": "llm_call_started", "event_data": {"timestamp": "2025-09-24T05:26:00.575656+00:00", - "type": "llm_call_started", "source_fingerprint": null, "source_type": null, - "fingerprint_metadata": null, "task_id": "43436548-60e0-4508-8737-e377c1a011d1", - "task_name": "Answer accordingly to the context you got.", "agent_id": "e08baa88-db5f-452c-853a-75f12a458690", - "agent_role": "test role2", "from_task": null, "from_agent": null, "model": - "gpt-4o-mini", "messages": [{"role": "system", "content": "You are test role2. - test backstory2\nYour personal goal is: test goal2\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": "\nCurrent - Task: Answer accordingly to the context you got.\n\nThis is the expected criteria - for your final answer: Your answer.\nyou MUST return the actual complete content - as the final answer, not a summary.\n\nThis is the context you''re working with:\nHi!\n\nBegin! - This is VERY important to you, use the tools available and give your best Final - Answer, your job depends on it!\n\nThought:"}], "tools": null, "callbacks": - [""], - "available_functions": null}}, {"event_id": "4f8b661c-e3e0-4836-b6f0-2059a6ea49a3", - "timestamp": "2025-09-24T05:26:00.576811+00:00", "type": "llm_call_completed", - "event_data": {"timestamp": "2025-09-24T05:26:00.576790+00:00", "type": "llm_call_completed", - "source_fingerprint": null, "source_type": null, "fingerprint_metadata": null, - "task_id": "43436548-60e0-4508-8737-e377c1a011d1", "task_name": "Answer accordingly - to the context you got.", "agent_id": "e08baa88-db5f-452c-853a-75f12a458690", - "agent_role": "test role2", "from_task": null, "from_agent": null, "messages": - [{"role": "system", "content": "You are test role2. test backstory2\nYour personal - goal is: test goal2\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": "\nCurrent Task: Answer accordingly to the - context you got.\n\nThis is the expected criteria for your final answer: Your - answer.\nyou MUST return the actual complete content as the final answer, not - a summary.\n\nThis is the context you''re working with:\nHi!\n\nBegin! This - is VERY important to you, use the tools available and give your best Final Answer, - your job depends on it!\n\nThought:"}], "response": "Thought: I now can give - a great answer\nFinal Answer: Hi!", "call_type": "", - "model": "gpt-4o-mini"}}, {"event_id": "c58a895d-c733-4a31-875b-5d9ba096621b", - "timestamp": "2025-09-24T05:26:00.576912+00:00", "type": "agent_execution_completed", - "event_data": {"agent_role": "test role2", "agent_goal": "test goal2", "agent_backstory": - "test backstory2"}}, {"event_id": "2b32e0bc-273b-47cb-9b0b-d2dd3e183051", "timestamp": - "2025-09-24T05:26:00.576958+00:00", "type": "task_completed", "event_data": - {"task_description": "Answer accordingly to the context you got.", "task_name": - "Answer accordingly to the context you got.", "task_id": "43436548-60e0-4508-8737-e377c1a011d1", - "output_raw": "Hi!", "output_format": "OutputFormat.RAW", "agent_role": "test - role2"}}, {"event_id": "9dcbe60a-fff1-41d0-8a3c-02e708f25745", "timestamp": - "2025-09-24T05:26:00.578046+00:00", "type": "crew_kickoff_completed", "event_data": - {"timestamp": "2025-09-24T05:26:00.578009+00:00", "type": "crew_kickoff_completed", - "source_fingerprint": null, "source_type": null, "fingerprint_metadata": null, - "task_id": null, "task_name": null, "agent_id": null, "agent_role": null, "crew_name": - "crew", "crew": null, "output": {"description": "Answer accordingly to the context - you got.", "name": "Answer accordingly to the context you got.", "expected_output": - "Your answer.", "summary": "Answer accordingly to the context you got....", - "raw": "Hi!", "pydantic": null, "json_dict": null, "agent": "test role2", "output_format": - "raw"}, "total_tokens": 534}}], "batch_metadata": {"events_count": 20, "batch_sequence": - 1, "is_final_batch": false}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '13842' - Content-Type: - - application/json - User-Agent: - - CrewAI-CLI/0.193.2 - X-Crewai-Organization-Id: - - d3a3d10c-35db-423f-a7a4-c026030ba64d - X-Crewai-Version: - - 0.193.2 - method: POST - uri: http://localhost:3000/crewai_plus/api/v1/tracing/batches/909da497-c8ba-4fc0-a3db-090c507811d9/events - response: - body: - string: '{"events_created":20,"trace_batch_id":"65aa0065-5140-4310-b3b3-216fb21f5f6f"}' - headers: - Content-Length: - - '77' - cache-control: - - max-age=0, private, must-revalidate - content-security-policy: - - 'default-src ''self'' *.crewai.com crewai.com; script-src ''self'' ''unsafe-inline'' - *.crewai.com crewai.com https://cdn.jsdelivr.net/npm/apexcharts https://www.gstatic.com - https://run.pstmn.io https://share.descript.com/; style-src ''self'' ''unsafe-inline'' - *.crewai.com crewai.com https://cdn.jsdelivr.net/npm/apexcharts; img-src ''self'' - data: *.crewai.com crewai.com https://zeus.tools.crewai.com https://dashboard.tools.crewai.com - https://cdn.jsdelivr.net; font-src ''self'' data: *.crewai.com crewai.com; - connect-src ''self'' *.crewai.com crewai.com https://zeus.tools.crewai.com - https://connect.useparagon.com/ https://zeus.useparagon.com/* https://*.useparagon.com/* - https://run.pstmn.io https://connect.tools.crewai.com/ ws://localhost:3036 - wss://localhost:3036; frame-src ''self'' *.crewai.com crewai.com https://connect.useparagon.com/ - https://zeus.tools.crewai.com https://zeus.useparagon.com/* https://connect.tools.crewai.com/ - https://www.youtube.com https://share.descript.com' - content-type: - - application/json; charset=utf-8 - etag: - - W/"c6a8603f43137accf9b346098c6aab36" - permissions-policy: - - camera=(), microphone=(self), geolocation=() - referrer-policy: - - strict-origin-when-cross-origin - server-timing: - - cache_read.active_support;dur=0.04, sql.active_record;dur=57.54, cache_generate.active_support;dur=1.96, - cache_write.active_support;dur=0.10, cache_read_multi.active_support;dur=0.06, - start_processing.action_controller;dur=0.00, instantiation.active_record;dur=0.38, - start_transaction.active_record;dur=0.01, transaction.active_record;dur=84.53, - process_action.action_controller;dur=718.33 - vary: - - Accept - x-content-type-options: - - nosniff - x-frame-options: - - SAMEORIGIN - x-permitted-cross-domain-policies: - - none - x-request-id: - - cc94adb6-627c-4674-9052-c1c300ca9367 - x-runtime: - - '0.742701' - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"status": "completed", "duration_ms": 1060, "final_event_count": 20}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '69' - Content-Type: - - application/json - User-Agent: - - CrewAI-CLI/0.193.2 - X-Crewai-Organization-Id: - - d3a3d10c-35db-423f-a7a4-c026030ba64d - X-Crewai-Version: - - 0.193.2 - method: PATCH - uri: http://localhost:3000/crewai_plus/api/v1/tracing/batches/909da497-c8ba-4fc0-a3db-090c507811d9/finalize - response: - body: - string: '{"id":"65aa0065-5140-4310-b3b3-216fb21f5f6f","trace_id":"909da497-c8ba-4fc0-a3db-090c507811d9","execution_type":"crew","crew_name":"crew","flow_name":null,"status":"completed","duration_ms":1060,"crewai_version":"0.193.2","privacy_level":"standard","total_events":20,"execution_context":{"crew_name":"crew","flow_name":null,"privacy_level":"standard","crewai_version":"0.193.2","crew_fingerprint":null},"created_at":"2025-09-24T05:26:00.560Z","updated_at":"2025-09-24T05:26:01.785Z"}' - headers: - Content-Length: - - '483' - cache-control: - - max-age=0, private, must-revalidate - content-security-policy: - - 'default-src ''self'' *.crewai.com crewai.com; script-src ''self'' ''unsafe-inline'' - *.crewai.com crewai.com https://cdn.jsdelivr.net/npm/apexcharts https://www.gstatic.com - https://run.pstmn.io https://share.descript.com/; style-src ''self'' ''unsafe-inline'' - *.crewai.com crewai.com https://cdn.jsdelivr.net/npm/apexcharts; img-src ''self'' - data: *.crewai.com crewai.com https://zeus.tools.crewai.com https://dashboard.tools.crewai.com - https://cdn.jsdelivr.net; font-src ''self'' data: *.crewai.com crewai.com; - connect-src ''self'' *.crewai.com crewai.com https://zeus.tools.crewai.com - https://connect.useparagon.com/ https://zeus.useparagon.com/* https://*.useparagon.com/* - https://run.pstmn.io https://connect.tools.crewai.com/ ws://localhost:3036 - wss://localhost:3036; frame-src ''self'' *.crewai.com crewai.com https://connect.useparagon.com/ - https://zeus.tools.crewai.com https://zeus.useparagon.com/* https://connect.tools.crewai.com/ - https://www.youtube.com https://share.descript.com' - content-type: - - application/json; charset=utf-8 - etag: - - W/"b9124c02e95cf0041ebb1e86b50e0264" - permissions-policy: - - camera=(), microphone=(self), geolocation=() - referrer-policy: - - strict-origin-when-cross-origin - server-timing: - - cache_read.active_support;dur=0.04, cache_fetch_hit.active_support;dur=0.00, - cache_read_multi.active_support;dur=0.05, start_processing.action_controller;dur=0.00, - sql.active_record;dur=6.37, instantiation.active_record;dur=0.59, unpermitted_parameters.action_controller;dur=0.00, - start_transaction.active_record;dur=0.00, transaction.active_record;dur=1.94, - process_action.action_controller;dur=436.41 - vary: - - Accept - x-content-type-options: - - nosniff - x-frame-options: - - SAMEORIGIN - x-permitted-cross-domain-policies: - - none - x-request-id: - - afc16366-577c-4638-b72d-33021439222c - x-runtime: - - '0.451670' - x-xss-protection: - - 1; mode=block + - req_3d9befd5062040ffb0c7319500cab142 status: code: 200 message: OK diff --git a/lib/crewai/tests/cassettes/test_json_property_without_output_json.yaml b/lib/crewai/tests/cassettes/test_json_property_without_output_json.yaml index 14ae50654..52f1bdbe1 100644 --- a/lib/crewai/tests/cassettes/test_json_property_without_output_json.yaml +++ b/lib/crewai/tests/cassettes/test_json_property_without_output_json.yaml @@ -510,4 +510,139 @@ interactions: status: code: 200 message: OK +- request: + body: '{"messages":[{"role":"system","content":"You are Scorer. You''re an expert + scorer, specialized in scoring titles.\nYour personal goal is: Score the title\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":"\nCurrent + Task: Give me an integer score between 1-5 for the following title: ''The impact + of AI in the future of work''\n\nThis is the expected criteria for your final + answer: The score of the title.\nyou MUST return the actual complete content + as the final answer, not a summary.\nEnsure your final answer strictly adheres + to the following OpenAPI schema: {\n \"type\": \"json_schema\",\n \"json_schema\": + {\n \"name\": \"ScoreOutput\",\n \"strict\": true,\n \"schema\": {\n \"properties\": + {\n \"score\": {\n \"title\": \"Score\",\n \"type\": + \"integer\"\n }\n },\n \"required\": [\n \"score\"\n ],\n \"title\": + \"ScoreOutput\",\n \"type\": \"object\",\n \"additionalProperties\": + false\n }\n }\n}\n\nDo not include the OpenAPI schema in the final output. + Ensure the final output does not include any code block markers like ```json + or ```python.\n\nBegin! This is VERY important to you, use the tools available + and give your best Final Answer, your job depends on it!\n\nThought:"},{"role":"user","content":"I + did it wrong. Invalid Format: I missed the ''Action:'' after ''Thought:''. I + will do right next, and don''t use a tool I have already used.\n\nIf you don''t + need to use any more tools, you must give your best complete final answer, make + sure it satisfies the expected criteria, use the EXACT format below:\n\n```\nThought: + I now can give a great answer\nFinal Answer: my best complete final answer to + the task.\n\n```"}],"model":"gpt-4.1-mini"}' + headers: + accept: + - application/json + accept-encoding: + - gzip, deflate, zstd + connection: + - keep-alive + content-length: + - '2022' + content-type: + - application/json + cookie: + - _cfuvid=TvP4GePeQO8E5c_xWNGzJb84f940MFRG_lZ_0hWAc5M-1761895510432-0.0.1.1-604800000 + 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-read-timeout: + - '600' + x-stainless-retry-count: + - '0' + x-stainless-runtime: + - CPython + x-stainless-runtime-version: + - 3.12.10 + method: POST + uri: https://api.openai.com/v1/chat/completions + response: + body: + string: !!binary | + H4sIAAAAAAAAA4xSy27bMBC86ysWPFuBJciuqlsQtEhyyKVFi7YKBJpaSUyoJUFScQPD/15Qciy5 + D6AXAuTsLGdm9xABMFmzApjouBe9UfHNt9vb73n/gV6/mJvd+6+f2vyBP1w/5fv9/R1bBYbePaHw + b6wroXuj0EtNEywsco+ha/Jum6b5ZpsmI9DrGlWgtcbH2VUS95JknK7TTbzO4iQ70TstBTpWwI8I + AOAwnkEo1fiTFbBevb306BxvkRXnIgBmtQovjDsnnefk2WoGhSaPNGr/3Omh7XwBd0B6D4ITtPIF + gUMbDAAnt0db0kdJXMH1eCvgUBJAyZzQFktWQFbScfmBxWZwPLikQakFwIm05yGl0drjCTmezSjd + Gqt37jcqayRJ11UWudMUhDuvDRvRYwTwOIY2XOTAjNW98ZXXzzh+l6X51I/Nw5rRND2BXnuuFqzN + KerLflWNnkvlFrEzwUWH9UydZ8SHWuoFEC1c/6nmb70n55La/2k/A0Kg8VhXxmItxaXjucxi2OV/ + lZ1THgUzh/ZFCqy8RBsmUWPDBzUtGHOvzmNfNZJatMbKacsaU2UizTdJk29TFh2jXwAAAP//AwAL + 5hHUdAMAAA== + headers: + CF-RAY: + - 99969eea9b25729f-EWR + Connection: + - keep-alive + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 04 Nov 2025 19:47:01 GMT + Server: + - cloudflare + Set-Cookie: + - __cf_bm=95CW5iG5JJkPq3T3uSAojHQikclJ8zeoTBbUbVKeEZw-1762285621-1.0.1.1-GDrBsREnZ2WqnXLl1wbeEZyDawYzgkp7WjNDRMOG5ahazKEbl19SVYAEj.SnDW7_zTUYE1D0FYrVW68WEBoI.Ze0dJfqcNyslfKHGMLDmt4; + path=/; expires=Tue, 04-Nov-25 20:17:01 GMT; domain=.api.openai.com; HttpOnly; + Secure; SameSite=None + - _cfuvid=0Y3evxGyH4NLhrIyVY8e6YT_Dizu7Rnyth1.rBGY.BQ-1762285621491-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: + - user-ey7th29prfg7qkhriu5kkphq + openai-processing-ms: + - '449' + openai-project: + - proj_E14YUf6ccBtOzz2aSr0CLtB7 + openai-version: + - '2020-10-01' + x-envoy-upstream-service-time: + - '542' + x-openai-proxy-wasm: + - v0.1 + x-ratelimit-limit-requests: + - '200' + x-ratelimit-limit-tokens: + - '100000' + x-ratelimit-remaining-requests: + - '196' + x-ratelimit-remaining-tokens: + - '95395' + x-ratelimit-reset-requests: + - 25m7.889s + x-ratelimit-reset-tokens: + - 33h9m0.209s + x-request-id: + - req_e6e321397f9c41da9d1e45d3a66384be + status: + code: 200 + message: OK version: 1 diff --git a/lib/crewai/tests/cassettes/test_task_allow_crewai_trigger_context_no_payload.yaml b/lib/crewai/tests/cassettes/test_task_allow_crewai_trigger_context_no_payload.yaml index 564295b89..28f2ec33d 100644 --- a/lib/crewai/tests/cassettes/test_task_allow_crewai_trigger_context_no_payload.yaml +++ b/lib/crewai/tests/cassettes/test_task_allow_crewai_trigger_context_no_payload.yaml @@ -1,15 +1,116 @@ interactions: - request: - body: '{"messages": [{"role": "system", "content": "You are test role. test backstory\nYour + body: '{"trace_id": "c5fee2b4-f922-4531-83d2-c94e39867213", "execution_type": + "crew", "user_identifier": null, "execution_context": {"crew_fingerprint": null, + "crew_name": "crew", "flow_name": null, "crewai_version": "1.3.0", "privacy_level": + "standard"}, "execution_metadata": {"expected_duration_estimate": 300, "agent_count": + 0, "task_count": 0, "flow_method_count": 0, "execution_started_at": "2025-11-04T20:10:15.693576+00:00"}, + "ephemeral_trace_id": "c5fee2b4-f922-4531-83d2-c94e39867213"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate, zstd + Connection: + - keep-alive + Content-Length: + - '488' + Content-Type: + - application/json + User-Agent: + - CrewAI-CLI/1.3.0 + X-Crewai-Organization-Id: + - 73c2b193-f579-422c-84c7-76a39a1da77f + X-Crewai-Version: + - 1.3.0 + method: POST + uri: https://app.crewai.com/crewai_plus/api/v1/tracing/ephemeral/batches + response: + body: + string: '{"id":"1f8684dc-a5a5-49a3-9e53-02521d3f66ce","ephemeral_trace_id":"c5fee2b4-f922-4531-83d2-c94e39867213","execution_type":"crew","crew_name":"crew","flow_name":null,"status":"running","duration_ms":null,"crewai_version":"1.3.0","total_events":0,"execution_context":{"crew_fingerprint":null,"crew_name":"crew","flow_name":null,"crewai_version":"1.3.0","privacy_level":"standard"},"created_at":"2025-11-04T20:10:15.987Z","updated_at":"2025-11-04T20:10:15.987Z","access_code":"TRACE-6762bf804f","user_identifier":null}' + headers: + Connection: + - keep-alive + Content-Length: + - '515' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 04 Nov 2025 20:10:15 GMT + cache-control: + - no-store + content-security-policy: + - 'default-src ''self'' *.app.crewai.com app.crewai.com; script-src ''self'' + ''unsafe-inline'' *.app.crewai.com app.crewai.com https://cdn.jsdelivr.net/npm/apexcharts + https://www.gstatic.com https://run.pstmn.io https://apis.google.com https://apis.google.com/js/api.js + https://accounts.google.com https://accounts.google.com/gsi/client https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css.map + https://*.google.com https://docs.google.com https://slides.google.com https://js.hs-scripts.com + https://js.sentry-cdn.com https://browser.sentry-cdn.com https://www.googletagmanager.com + https://js-na1.hs-scripts.com https://js.hubspot.com http://js-na1.hs-scripts.com + https://bat.bing.com https://cdn.amplitude.com https://cdn.segment.com https://d1d3n03t5zntha.cloudfront.net/ + https://descriptusercontent.com https://edge.fullstory.com https://googleads.g.doubleclick.net + https://js.hs-analytics.net https://js.hs-banner.com https://js.hsadspixel.net + https://js.hscollectedforms.net https://js.usemessages.com https://snap.licdn.com + https://static.cloudflareinsights.com https://static.reo.dev https://www.google-analytics.com + https://share.descript.com/; style-src ''self'' ''unsafe-inline'' *.app.crewai.com + app.crewai.com https://cdn.jsdelivr.net/npm/apexcharts; img-src ''self'' data: + *.app.crewai.com app.crewai.com https://zeus.tools.crewai.com https://dashboard.tools.crewai.com + https://cdn.jsdelivr.net https://forms.hsforms.com https://track.hubspot.com + https://px.ads.linkedin.com https://px4.ads.linkedin.com https://www.google.com + https://www.google.com.br; font-src ''self'' data: *.app.crewai.com app.crewai.com; + connect-src ''self'' *.app.crewai.com app.crewai.com https://zeus.tools.crewai.com + https://connect.useparagon.com/ https://zeus.useparagon.com/* https://*.useparagon.com/* + https://run.pstmn.io https://connect.tools.crewai.com/ https://*.sentry.io + https://www.google-analytics.com https://edge.fullstory.com https://rs.fullstory.com + https://api.hubspot.com https://forms.hscollectedforms.net https://api.hubapi.com + https://px.ads.linkedin.com https://px4.ads.linkedin.com https://google.com/pagead/form-data/16713662509 + https://google.com/ccm/form-data/16713662509 https://www.google.com/ccm/collect + https://worker-actionkit.tools.crewai.com https://api.reo.dev; frame-src ''self'' + *.app.crewai.com app.crewai.com https://connect.useparagon.com/ https://zeus.tools.crewai.com + https://zeus.useparagon.com/* https://connect.tools.crewai.com/ https://docs.google.com + https://drive.google.com https://slides.google.com https://accounts.google.com + https://*.google.com https://app.hubspot.com/ https://td.doubleclick.net https://www.googletagmanager.com/ + https://www.youtube.com https://share.descript.com' + etag: + - W/"9f608fc76333784b9bcf26a737b13a4c" + expires: + - '0' + permissions-policy: + - camera=(), microphone=(self), geolocation=() + pragma: + - no-cache + referrer-policy: + - strict-origin-when-cross-origin + strict-transport-security: + - max-age=63072000; includeSubDomains + vary: + - Accept + x-content-type-options: + - nosniff + x-frame-options: + - SAMEORIGIN + x-permitted-cross-domain-policies: + - none + x-request-id: + - 74f66b2a-09eb-49ba-bde2-9622a962d2c1 + x-runtime: + - '0.054317' + x-xss-protection: + - 1; mode=block + status: + code: 201 + message: Created +- request: + body: '{"messages":[{"role":"system","content":"You are test role. test backstory\nYour personal goal is: test goal\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": "\nCurrent Task: Analyze the data\n\nThis + depends on it!"},{"role":"user","content":"\nCurrent Task: Analyze the data\n\nThis is the expected criteria for your final answer: Analysis report\nyou MUST return the actual complete content as the final answer, not a summary.\n\nBegin! This is VERY important to you, use the tools available and give your best Final Answer, - your job depends on it!\n\nThought:"}], "model": "gpt-4o-mini", "stop": ["\nObservation:"]}' + your job depends on it!\n\nThought:"}],"model":"gpt-4.1-mini"}' headers: accept: - application/json @@ -18,15 +119,13 @@ interactions: connection: - keep-alive content-length: - - '822' + - '785' content-type: - application/json - cookie: - - _cfuvid=wu1mwFBixM_Cn8wLLh.nRacWi8OMVBrEyBNuF_Htz6I-1743463498282-0.0.1.1-604800000 host: - api.openai.com user-agent: - - OpenAI/Python 1.93.0 + - OpenAI/Python 1.109.1 x-stainless-arch: - arm64 x-stainless-async: @@ -36,62 +135,49 @@ interactions: x-stainless-os: - MacOS x-stainless-package-version: - - 1.93.0 - x-stainless-raw-response: - - 'true' + - 1.109.1 x-stainless-read-timeout: - - '600.0' + - '600' x-stainless-retry-count: - '0' x-stainless-runtime: - CPython x-stainless-runtime-version: - - 3.11.12 + - 3.12.10 method: POST uri: https://api.openai.com/v1/chat/completions response: body: string: !!binary | - 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 - dhEAAA== + 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 headers: CF-RAY: - - 97144c27cad01abc-GRU + - 9996c0f94ca6227d-EWR Connection: - keep-alive Content-Encoding: @@ -99,14 +185,14 @@ interactions: Content-Type: - application/json Date: - - Mon, 18 Aug 2025 20:53:07 GMT + - Tue, 04 Nov 2025 20:10:21 GMT Server: - cloudflare Set-Cookie: - - __cf_bm=gumItH7ZRtD4GgE2NL8KJd5b0g0ukzMySphsV0ru1LE-1755550387-1.0.1.1-iwCn2q9kDpJVTaZu1Swtv1kYCiM39NBeviV1R9awG4XHHMKnojkbu6T7jh_Z3UxfNbluVCsI6RMKj.2rEPp1IcH63gHUQdJfHF71CdCZ3Uc; - path=/; expires=Mon, 18-Aug-25 21:23:07 GMT; domain=.api.openai.com; HttpOnly; + - __cf_bm=Zz95t.6HBO6NiBit.gpgMTLYdJBipfSa_iY6V69NgwU-1762287021-1.0.1.1-wJ0tJaeb7D3q7rcbm8l9SbDk1R2A.QvpoplnPqI_K8rw4i._UhYoSkQzz0oCdhdZK938w4fgHLvq0zeZwsUr8jVVKRwuL384MJ3y62STLMQ; + path=/; expires=Tue, 04-Nov-25 20:40:21 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - - _cfuvid=d7iU8FXLKWOoICtn52jYIApBpBp20kALP6yQjOvXHvQ-1755550387858-0.0.1.1-604800000; + - _cfuvid=8p4cva_UMqpX8AelVfP90CMUitHWznQDwsHts.Z_8j4-1762287021106-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None Strict-Transport-Security: - max-age=31536000; includeSubDomains; preload @@ -121,449 +207,31 @@ interactions: cf-cache-status: - DYNAMIC openai-organization: - - crewai-iuxna1 + - user-ey7th29prfg7qkhriu5kkphq openai-processing-ms: - - '14516' + - '5111' openai-project: - - proj_xitITlrFeen7zjNSzML82h9x + - proj_E14YUf6ccBtOzz2aSr0CLtB7 openai-version: - '2020-10-01' x-envoy-upstream-service-time: - - '14596' - x-ratelimit-limit-project-tokens: - - '150000000' + - '5175' + x-openai-proxy-wasm: + - v0.1 x-ratelimit-limit-requests: - - '30000' + - '200' x-ratelimit-limit-tokens: - - '150000000' - x-ratelimit-remaining-project-tokens: - - '149999830' + - '100000' x-ratelimit-remaining-requests: - - '29999' + - '195' x-ratelimit-remaining-tokens: - - '149999827' - x-ratelimit-reset-project-tokens: - - 0s + - '94712' x-ratelimit-reset-requests: - - 2ms + - 30m40.919s x-ratelimit-reset-tokens: - - 0s + - 38h4m8.279s x-request-id: - - req_3c1af5f5590a4b76b33f3fbf7d3a3288 - status: - code: 200 - message: OK -- request: - body: '{"trace_id": "ebe3e255-33a6-4b40-8c73-acc782e2cb2e", "execution_type": - "crew", "user_identifier": null, "execution_context": {"crew_fingerprint": null, - "crew_name": "crew", "flow_name": null, "crewai_version": "0.193.2", "privacy_level": - "standard"}, "execution_metadata": {"expected_duration_estimate": 300, "agent_count": - 0, "task_count": 0, "flow_method_count": 0, "execution_started_at": "2025-09-23T20:22:48.851064+00:00"}, - "ephemeral_trace_id": "ebe3e255-33a6-4b40-8c73-acc782e2cb2e"}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '490' - Content-Type: - - application/json - User-Agent: - - CrewAI-CLI/0.193.2 - X-Crewai-Version: - - 0.193.2 - method: POST - uri: http://localhost:3000/crewai_plus/api/v1/tracing/ephemeral/batches - response: - body: - string: '{"id":"dcf37266-a30f-4a61-9084-293f108becab","ephemeral_trace_id":"ebe3e255-33a6-4b40-8c73-acc782e2cb2e","execution_type":"crew","crew_name":"crew","flow_name":null,"status":"running","duration_ms":null,"crewai_version":"0.193.2","total_events":0,"execution_context":{"crew_fingerprint":null,"crew_name":"crew","flow_name":null,"crewai_version":"0.193.2","privacy_level":"standard"},"created_at":"2025-09-23T20:22:48.921Z","updated_at":"2025-09-23T20:22:48.921Z","access_code":"TRACE-20af0f540e","user_identifier":null}' - headers: - Content-Length: - - '519' - cache-control: - - max-age=0, private, must-revalidate - content-security-policy: - - 'default-src ''self'' *.crewai.com crewai.com; script-src ''self'' ''unsafe-inline'' - *.crewai.com crewai.com https://cdn.jsdelivr.net/npm/apexcharts https://www.gstatic.com - https://run.pstmn.io https://share.descript.com/; style-src ''self'' ''unsafe-inline'' - *.crewai.com crewai.com https://cdn.jsdelivr.net/npm/apexcharts; img-src ''self'' - data: *.crewai.com crewai.com https://zeus.tools.crewai.com https://dashboard.tools.crewai.com - https://cdn.jsdelivr.net; font-src ''self'' data: *.crewai.com crewai.com; - connect-src ''self'' *.crewai.com crewai.com https://zeus.tools.crewai.com - https://connect.useparagon.com/ https://zeus.useparagon.com/* https://*.useparagon.com/* - https://run.pstmn.io https://connect.tools.crewai.com/ ws://localhost:3036 - wss://localhost:3036; frame-src ''self'' *.crewai.com crewai.com https://connect.useparagon.com/ - https://zeus.tools.crewai.com https://zeus.useparagon.com/* https://connect.tools.crewai.com/ - https://www.youtube.com https://share.descript.com' - content-type: - - application/json; charset=utf-8 - etag: - - W/"e3802608dd0afa467b9006ae28a09ac0" - permissions-policy: - - camera=(), microphone=(self), geolocation=() - referrer-policy: - - strict-origin-when-cross-origin - server-timing: - - cache_read.active_support;dur=0.08, sql.active_record;dur=17.40, cache_generate.active_support;dur=5.00, - cache_write.active_support;dur=0.23, cache_read_multi.active_support;dur=0.23, - start_processing.action_controller;dur=0.00, start_transaction.active_record;dur=0.00, - transaction.active_record;dur=10.40, process_action.action_controller;dur=15.72 - vary: - - Accept - x-content-type-options: - - nosniff - x-frame-options: - - SAMEORIGIN - x-permitted-cross-domain-policies: - - none - x-request-id: - - 86297c99-3a4e-4797-8ce9-79442128fefd - x-runtime: - - '0.072605' - x-xss-protection: - - 1; mode=block - status: - code: 201 - message: Created -- request: - body: '{"events": [{"event_id": "fcb0a361-b236-47a2-8ae5-613d404a433a", "timestamp": - "2025-09-23T20:22:48.928654+00:00", "type": "crew_kickoff_started", "event_data": - {"timestamp": "2025-09-23T20:22:48.850336+00:00", "type": "crew_kickoff_started", - "source_fingerprint": null, "source_type": null, "fingerprint_metadata": null, - "task_id": null, "task_name": null, "agent_id": null, "agent_role": null, "crew_name": - "crew", "crew": null, "inputs": {"other_input": "other data"}}}, {"event_id": - "0850c159-2cf7-40d7-af41-dbafc4ec361d", "timestamp": "2025-09-23T20:22:48.930041+00:00", - "type": "task_started", "event_data": {"task_description": "Analyze the data", - "expected_output": "Analysis report", "task_name": "Analyze the data", "context": - "", "agent_role": "test role", "task_id": "7ef853e5-b583-450e-85f4-14f773feab58"}}, - {"event_id": "c06bbca6-f2d9-4f66-a696-f0c201bb3587", "timestamp": "2025-09-23T20:22:48.930693+00:00", - "type": "agent_execution_started", "event_data": {"agent_role": "test role", - "agent_goal": "test goal", "agent_backstory": "test backstory"}}, {"event_id": - "a2f3bd4a-f298-4aec-90c7-fce24533c211", "timestamp": "2025-09-23T20:22:48.930847+00:00", - "type": "llm_call_started", "event_data": {"timestamp": "2025-09-23T20:22:48.930805+00:00", - "type": "llm_call_started", "source_fingerprint": null, "source_type": null, - "fingerprint_metadata": null, "task_id": "7ef853e5-b583-450e-85f4-14f773feab58", - "task_name": "Analyze the data", "agent_id": null, "agent_role": null, "from_task": - null, "from_agent": null, "model": "gpt-4o-mini", "messages": [{"role": "system", - "content": "You are test role. test backstory\nYour personal goal is: test goal\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": "\nCurrent Task: Analyze the data\n\nThis is the expected criteria - for your final answer: Analysis report\nyou MUST return the actual complete - content as the final answer, not a summary.\n\nBegin! This is VERY important - to you, use the tools available and give your best Final Answer, your job depends - on it!\n\nThought:"}], "tools": null, "callbacks": [""], "available_functions": null}}, {"event_id": "37cccb0f-facb-4b5b-a28d-31820381e77c", - "timestamp": "2025-09-23T20:22:49.029070+00:00", "type": "llm_call_completed", - "event_data": {"timestamp": "2025-09-23T20:22:49.028732+00:00", "type": "llm_call_completed", - "source_fingerprint": null, "source_type": null, "fingerprint_metadata": null, - "task_id": "7ef853e5-b583-450e-85f4-14f773feab58", "task_name": "Analyze the - data", "agent_id": null, "agent_role": null, "from_task": null, "from_agent": - null, "messages": [{"role": "system", "content": "You are test role. test backstory\nYour - personal goal is: test goal\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": "\nCurrent Task: Analyze the data\n\nThis - is the expected criteria for your final answer: Analysis report\nyou MUST return - the actual complete content as the final answer, not a summary.\n\nBegin! This - is VERY important to you, use the tools available and give your best Final Answer, - your job depends on it!\n\nThought:"}], "response": "I now can give a great - answer \nFinal Answer: \n\n**Analysis Report**\n\n**1. Introduction** \nThis - report presents a comprehensive analysis of the data collected over the last - quarter. The goal of this analysis is to derive actionable insights, identify - trends, and inform decision-making processes for future strategies.\n\n**2. - Data Overview** \nThe data set comprises multiple parameters including sales - figures, customer demographics, product categories, and geographical distribution. - Key variables analyzed include:\n\n- **Sales Figures**: Total sales revenue, - average transaction value, units sold.\n- **Customer Demographics**: Age, gender, - location, and purchasing behavior.\n- **Product Categories**: Performance across - different categories, including most and least popular products.\n- **Geographical - Distribution**: Sales performance across various regions.\n\n**3. Key Findings** \n- - **Sales Trends**: \n - Sales increased by 15% compared to the previous quarter, - with a notable spike during the holiday season.\n - The average transaction - value also rose by 10%, attributed to higher customer awareness and targeted - marketing campaigns.\n\n- **Customer Demographics**:\n - The primary customer - base consists of individuals aged 25-34, accounting for 40% of total purchases.\n - - Female customers outpaced male customers by 20% in overall spending.\n - Online - shopping surged, particularly among urban customers, indicating a shift towards - digital engagement.\n\n- **Product Category Performance**:\n - Electronics - emerged as the leading category with a 30% market share in total sales.\n - - Home and garden products saw a decline in sales by 5%, prompting a review of - marketing strategies within this segment.\n - Seasonal products during the - holidays significantly boosted sales figures by 25%.\n\n- **Geographical Insights**:\n - - Major urban centers, especially in the Northeast and West Coast, showed the - highest revenue generation.\n - Rural areas, while stable, revealed untapped - potential, demonstrating only a 5% increase in sales, indicating a need for - targeted outreach.\n\n**4. Recommendations** \n- **Marketing Strategy**: Enhance - digital marketing efforts targeting younger demographics with personalized content - and promotions. Utilize social media platforms for engagement, especially considering - the demographic insights gathered from the data.\n\n- **Product Focus**: Reassess - the home and garden product offerings to cater to the evolving preferences of - consumers. Consider bundling products or creating seasonal promotions to reignite - interest.\n\n- **Geographical Expansion**: Develop a strategic plan focusing - on rural area penetration. Initiate campaigns tailored to local preferences - and potential influencers to enhance brand presence.\n\n- **Continuous Data - Monitoring**: Implement a regular data review process to keep track of changing - customer behaviors and market trends. Leverage analytics tools to automate insights - generation for timely decision-making.\n\n**5. Conclusion** \nOverall, the - analysis identifies significant growth potential and areas requiring immediate - attention. By adopting the recommended strategies, the organization can enhance - overall performance, increase customer satisfaction, and ultimately drive more - significant revenue growth.\n\n**6. Appendix** \n- Data tables and charts illustrating - sales growth, customer demographics, and product category performance. \n- - Methodology used for data collection and analysis.\n\nThis report serves as - a foundational tool for understanding the current landscape and guiding future - actions to achieve the outlined business objectives.", "call_type": "", "model": "gpt-4o-mini"}}, {"event_id": "d25a6a5f-f75f-42c4-b3be-fe540479d514", - "timestamp": "2025-09-23T20:22:49.029404+00:00", "type": "agent_execution_completed", - "event_data": {"agent_role": "test role", "agent_goal": "test goal", "agent_backstory": - "test backstory"}}, {"event_id": "bd4ec3c9-b8e9-45da-bf46-d15de6e7d0a7", "timestamp": - "2025-09-23T20:22:49.029547+00:00", "type": "task_completed", "event_data": - {"task_description": "Analyze the data", "task_name": "Analyze the data", "task_id": - "7ef853e5-b583-450e-85f4-14f773feab58", "output_raw": "**Analysis Report**\n\n**1. - Introduction** \nThis report presents a comprehensive analysis of the data - collected over the last quarter. The goal of this analysis is to derive actionable - insights, identify trends, and inform decision-making processes for future strategies.\n\n**2. - Data Overview** \nThe data set comprises multiple parameters including sales - figures, customer demographics, product categories, and geographical distribution. - Key variables analyzed include:\n\n- **Sales Figures**: Total sales revenue, - average transaction value, units sold.\n- **Customer Demographics**: Age, gender, - location, and purchasing behavior.\n- **Product Categories**: Performance across - different categories, including most and least popular products.\n- **Geographical - Distribution**: Sales performance across various regions.\n\n**3. Key Findings** \n- - **Sales Trends**: \n - Sales increased by 15% compared to the previous quarter, - with a notable spike during the holiday season.\n - The average transaction - value also rose by 10%, attributed to higher customer awareness and targeted - marketing campaigns.\n\n- **Customer Demographics**:\n - The primary customer - base consists of individuals aged 25-34, accounting for 40% of total purchases.\n - - Female customers outpaced male customers by 20% in overall spending.\n - Online - shopping surged, particularly among urban customers, indicating a shift towards - digital engagement.\n\n- **Product Category Performance**:\n - Electronics - emerged as the leading category with a 30% market share in total sales.\n - - Home and garden products saw a decline in sales by 5%, prompting a review of - marketing strategies within this segment.\n - Seasonal products during the - holidays significantly boosted sales figures by 25%.\n\n- **Geographical Insights**:\n - - Major urban centers, especially in the Northeast and West Coast, showed the - highest revenue generation.\n - Rural areas, while stable, revealed untapped - potential, demonstrating only a 5% increase in sales, indicating a need for - targeted outreach.\n\n**4. Recommendations** \n- **Marketing Strategy**: Enhance - digital marketing efforts targeting younger demographics with personalized content - and promotions. Utilize social media platforms for engagement, especially considering - the demographic insights gathered from the data.\n\n- **Product Focus**: Reassess - the home and garden product offerings to cater to the evolving preferences of - consumers. Consider bundling products or creating seasonal promotions to reignite - interest.\n\n- **Geographical Expansion**: Develop a strategic plan focusing - on rural area penetration. Initiate campaigns tailored to local preferences - and potential influencers to enhance brand presence.\n\n- **Continuous Data - Monitoring**: Implement a regular data review process to keep track of changing - customer behaviors and market trends. Leverage analytics tools to automate insights - generation for timely decision-making.\n\n**5. Conclusion** \nOverall, the - analysis identifies significant growth potential and areas requiring immediate - attention. By adopting the recommended strategies, the organization can enhance - overall performance, increase customer satisfaction, and ultimately drive more - significant revenue growth.\n\n**6. Appendix** \n- Data tables and charts illustrating - sales growth, customer demographics, and product category performance. \n- - Methodology used for data collection and analysis.\n\nThis report serves as - a foundational tool for understanding the current landscape and guiding future - actions to achieve the outlined business objectives.", "output_format": "OutputFormat.RAW", - "agent_role": "test role"}}, {"event_id": "af918c94-ee6a-4699-9519-d01f6314cb87", - "timestamp": "2025-09-23T20:22:49.030535+00:00", "type": "crew_kickoff_completed", - "event_data": {"timestamp": "2025-09-23T20:22:49.030516+00:00", "type": "crew_kickoff_completed", - "source_fingerprint": null, "source_type": null, "fingerprint_metadata": null, - "task_id": null, "task_name": null, "agent_id": null, "agent_role": null, "crew_name": - "crew", "crew": null, "output": {"description": "Analyze the data", "name": - "Analyze the data", "expected_output": "Analysis report", "summary": "Analyze - the data...", "raw": "**Analysis Report**\n\n**1. Introduction** \nThis report - presents a comprehensive analysis of the data collected over the last quarter. - The goal of this analysis is to derive actionable insights, identify trends, - and inform decision-making processes for future strategies.\n\n**2. Data Overview** \nThe - data set comprises multiple parameters including sales figures, customer demographics, - product categories, and geographical distribution. Key variables analyzed include:\n\n- - **Sales Figures**: Total sales revenue, average transaction value, units sold.\n- - **Customer Demographics**: Age, gender, location, and purchasing behavior.\n- - **Product Categories**: Performance across different categories, including most - and least popular products.\n- **Geographical Distribution**: Sales performance - across various regions.\n\n**3. Key Findings** \n- **Sales Trends**: \n - - Sales increased by 15% compared to the previous quarter, with a notable spike - during the holiday season.\n - The average transaction value also rose by 10%, - attributed to higher customer awareness and targeted marketing campaigns.\n\n- - **Customer Demographics**:\n - The primary customer base consists of individuals - aged 25-34, accounting for 40% of total purchases.\n - Female customers outpaced - male customers by 20% in overall spending.\n - Online shopping surged, particularly - among urban customers, indicating a shift towards digital engagement.\n\n- **Product - Category Performance**:\n - Electronics emerged as the leading category with - a 30% market share in total sales.\n - Home and garden products saw a decline - in sales by 5%, prompting a review of marketing strategies within this segment.\n - - Seasonal products during the holidays significantly boosted sales figures by - 25%.\n\n- **Geographical Insights**:\n - Major urban centers, especially in - the Northeast and West Coast, showed the highest revenue generation.\n - Rural - areas, while stable, revealed untapped potential, demonstrating only a 5% increase - in sales, indicating a need for targeted outreach.\n\n**4. Recommendations** \n- - **Marketing Strategy**: Enhance digital marketing efforts targeting younger - demographics with personalized content and promotions. Utilize social media - platforms for engagement, especially considering the demographic insights gathered - from the data.\n\n- **Product Focus**: Reassess the home and garden product - offerings to cater to the evolving preferences of consumers. Consider bundling - products or creating seasonal promotions to reignite interest.\n\n- **Geographical - Expansion**: Develop a strategic plan focusing on rural area penetration. Initiate - campaigns tailored to local preferences and potential influencers to enhance - brand presence.\n\n- **Continuous Data Monitoring**: Implement a regular data - review process to keep track of changing customer behaviors and market trends. - Leverage analytics tools to automate insights generation for timely decision-making.\n\n**5. - Conclusion** \nOverall, the analysis identifies significant growth potential - and areas requiring immediate attention. By adopting the recommended strategies, - the organization can enhance overall performance, increase customer satisfaction, - and ultimately drive more significant revenue growth.\n\n**6. Appendix** \n- - Data tables and charts illustrating sales growth, customer demographics, and - product category performance. \n- Methodology used for data collection and - analysis.\n\nThis report serves as a foundational tool for understanding the - current landscape and guiding future actions to achieve the outlined business - objectives.", "pydantic": null, "json_dict": null, "agent": "test role", "output_format": - "raw"}, "total_tokens": 809}}], "batch_metadata": {"events_count": 8, "batch_sequence": - 1, "is_final_batch": false}}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '16042' - Content-Type: - - application/json - User-Agent: - - CrewAI-CLI/0.193.2 - X-Crewai-Version: - - 0.193.2 - method: POST - uri: http://localhost:3000/crewai_plus/api/v1/tracing/ephemeral/batches/ebe3e255-33a6-4b40-8c73-acc782e2cb2e/events - response: - body: - string: '{"events_created":8,"ephemeral_trace_batch_id":"dcf37266-a30f-4a61-9084-293f108becab"}' - headers: - Content-Length: - - '86' - cache-control: - - max-age=0, private, must-revalidate - content-security-policy: - - 'default-src ''self'' *.crewai.com crewai.com; script-src ''self'' ''unsafe-inline'' - *.crewai.com crewai.com https://cdn.jsdelivr.net/npm/apexcharts https://www.gstatic.com - https://run.pstmn.io https://share.descript.com/; style-src ''self'' ''unsafe-inline'' - *.crewai.com crewai.com https://cdn.jsdelivr.net/npm/apexcharts; img-src ''self'' - data: *.crewai.com crewai.com https://zeus.tools.crewai.com https://dashboard.tools.crewai.com - https://cdn.jsdelivr.net; font-src ''self'' data: *.crewai.com crewai.com; - connect-src ''self'' *.crewai.com crewai.com https://zeus.tools.crewai.com - https://connect.useparagon.com/ https://zeus.useparagon.com/* https://*.useparagon.com/* - https://run.pstmn.io https://connect.tools.crewai.com/ ws://localhost:3036 - wss://localhost:3036; frame-src ''self'' *.crewai.com crewai.com https://connect.useparagon.com/ - https://zeus.tools.crewai.com https://zeus.useparagon.com/* https://connect.tools.crewai.com/ - https://www.youtube.com https://share.descript.com' - content-type: - - application/json; charset=utf-8 - etag: - - W/"5365b7d51712464f7429104b4339a428" - permissions-policy: - - camera=(), microphone=(self), geolocation=() - referrer-policy: - - strict-origin-when-cross-origin - server-timing: - - cache_read.active_support;dur=0.06, sql.active_record;dur=34.08, cache_generate.active_support;dur=2.20, - cache_write.active_support;dur=0.16, cache_read_multi.active_support;dur=0.10, - start_processing.action_controller;dur=0.00, instantiation.active_record;dur=0.06, - start_transaction.active_record;dur=0.00, transaction.active_record;dur=48.40, - process_action.action_controller;dur=55.37 - vary: - - Accept - x-content-type-options: - - nosniff - x-frame-options: - - SAMEORIGIN - x-permitted-cross-domain-policies: - - none - x-request-id: - - dd950cf1-62f1-4126-b8b0-9e4629b5f5b6 - x-runtime: - - '0.100871' - x-xss-protection: - - 1; mode=block - status: - code: 200 - message: OK -- request: - body: '{"status": "completed", "duration_ms": 291, "final_event_count": 8}' - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '67' - Content-Type: - - application/json - User-Agent: - - CrewAI-CLI/0.193.2 - X-Crewai-Version: - - 0.193.2 - method: PATCH - uri: http://localhost:3000/crewai_plus/api/v1/tracing/ephemeral/batches/ebe3e255-33a6-4b40-8c73-acc782e2cb2e/finalize - response: - body: - string: '{"id":"dcf37266-a30f-4a61-9084-293f108becab","ephemeral_trace_id":"ebe3e255-33a6-4b40-8c73-acc782e2cb2e","execution_type":"crew","crew_name":"crew","flow_name":null,"status":"completed","duration_ms":291,"crewai_version":"0.193.2","total_events":8,"execution_context":{"crew_name":"crew","flow_name":null,"privacy_level":"standard","crewai_version":"0.193.2","crew_fingerprint":null},"created_at":"2025-09-23T20:22:48.921Z","updated_at":"2025-09-23T20:22:49.192Z","access_code":"TRACE-20af0f540e","user_identifier":null}' - headers: - Content-Length: - - '520' - cache-control: - - max-age=0, private, must-revalidate - content-security-policy: - - 'default-src ''self'' *.crewai.com crewai.com; script-src ''self'' ''unsafe-inline'' - *.crewai.com crewai.com https://cdn.jsdelivr.net/npm/apexcharts https://www.gstatic.com - https://run.pstmn.io https://share.descript.com/; style-src ''self'' ''unsafe-inline'' - *.crewai.com crewai.com https://cdn.jsdelivr.net/npm/apexcharts; img-src ''self'' - data: *.crewai.com crewai.com https://zeus.tools.crewai.com https://dashboard.tools.crewai.com - https://cdn.jsdelivr.net; font-src ''self'' data: *.crewai.com crewai.com; - connect-src ''self'' *.crewai.com crewai.com https://zeus.tools.crewai.com - https://connect.useparagon.com/ https://zeus.useparagon.com/* https://*.useparagon.com/* - https://run.pstmn.io https://connect.tools.crewai.com/ ws://localhost:3036 - wss://localhost:3036; frame-src ''self'' *.crewai.com crewai.com https://connect.useparagon.com/ - https://zeus.tools.crewai.com https://zeus.useparagon.com/* https://connect.tools.crewai.com/ - https://www.youtube.com https://share.descript.com' - content-type: - - application/json; charset=utf-8 - etag: - - W/"c260c7a5c5e94132d69ede0da4a3cc45" - permissions-policy: - - camera=(), microphone=(self), geolocation=() - referrer-policy: - - strict-origin-when-cross-origin - server-timing: - - cache_read.active_support;dur=0.07, sql.active_record;dur=10.48, cache_generate.active_support;dur=2.79, - cache_write.active_support;dur=0.14, cache_read_multi.active_support;dur=0.10, - start_processing.action_controller;dur=0.00, instantiation.active_record;dur=0.04, - unpermitted_parameters.action_controller;dur=0.00, start_transaction.active_record;dur=0.00, - transaction.active_record;dur=4.50, process_action.action_controller;dur=10.46 - vary: - - Accept - x-content-type-options: - - nosniff - x-frame-options: - - SAMEORIGIN - x-permitted-cross-domain-policies: - - none - x-request-id: - - b38e7096-bfc4-46ea-ab8a-cecd09f0444b - x-runtime: - - '0.048311' - x-xss-protection: - - 1; mode=block + - req_f50dc467c6844bcf919bbf9e10ace039 status: code: 200 message: OK