-
Notifications
You must be signed in to change notification settings - Fork 306
Update jsonschema #1389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Update jsonschema #1389
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,23 +1,49 @@ | ||
| --- | ||
| version: 2 | ||
| interactions: | ||
| - id: 0 | ||
| request: | ||
| proto: HTTP/1.1 | ||
| proto_major: 1 | ||
| proto_minor: 1 | ||
| content_length: 0 | ||
| host: api.openai.com | ||
| body: "{\"messages\":[{\"content\":\"You are a multi-agent system, make sure to answer the user query in the most helpful way possible. You have access to these sub-agents:\\nName: web | Description: \\n\\nIMPORTANT: You can ONLY transfer tasks to the agents listed above using their ID. The valid agent names are: web. You MUST NOT attempt to transfer to any other agent IDs - doing so will cause system errors.\\n\\nIf you are the best to answer the question according to your description, you can answer it.\\n\\nIf another agent is better for answering the question according to its description, call `transfer_task` function to transfer the question to that agent using the agent's ID. When transferring, do not generate any text other than the function call.\\n\\n\",\"role\":\"system\"},{\"content\":\"You are a knowledgeable assistant that helps users with various tasks.\\nBe helpful, accurate, and concise in your responses.\\n\",\"role\":\"system\"},{\"content\":\"Say hello.\",\"role\":\"user\"}],\"model\":\"gpt-5-mini\",\"stream_options\":{\"include_usage\":true},\"tools\":[{\"function\":{\"name\":\"transfer_task\",\"description\":\"Use this function to transfer a task to the selected team member.\\n You must provide a clear and concise description of the task the member should achieve AND the expected output.\",\"parameters\":{\"additionalProperties\":false,\"properties\":{\"agent\":{\"description\":\"The name of the agent to transfer the task to.\",\"type\":\"string\"},\"expected_output\":{\"description\":\"The expected output from the member (optional).\",\"type\":\"string\"},\"task\":{\"description\":\"A clear and concise description of the task the member should achieve.\",\"type\":\"string\"}},\"required\":[\"agent\",\"task\",\"expected_output\"],\"type\":\"object\"}},\"type\":\"function\"}],\"stream\":true}" | ||
| url: https://api.openai.com/v1/chat/completions | ||
| method: POST | ||
| response: | ||
| proto: HTTP/2.0 | ||
| proto_major: 2 | ||
| proto_minor: 0 | ||
| content_length: -1 | ||
| body: "data: {\"id\":\"chatcmpl-Cb1d503ZnlKSuEd0rxNJCKfhTY1i2\",\"object\":\"chat.completion.chunk\",\"created\":1762940435,\"model\":\"gpt-5-mini-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\",\"refusal\":null},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"aITD5\"}\n\ndata: {\"id\":\"chatcmpl-Cb1d503ZnlKSuEd0rxNJCKfhTY1i2\",\"object\":\"chat.completion.chunk\",\"created\":1762940435,\"model\":\"gpt-5-mini-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"Hello\"},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"Dv\"}\n\ndata: {\"id\":\"chatcmpl-Cb1d503ZnlKSuEd0rxNJCKfhTY1i2\",\"object\":\"chat.completion.chunk\",\"created\":1762940435,\"model\":\"gpt-5-mini-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"!\"},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"WcbBz6\"}\n\ndata: {\"id\":\"chatcmpl-Cb1d503ZnlKSuEd0rxNJCKfhTY1i2\",\"object\":\"chat.completion.chunk\",\"created\":1762940435,\"model\":\"gpt-5-mini-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" How\"},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"hAl\"}\n\ndata: {\"id\":\"chatcmpl-Cb1d503ZnlKSuEd0rxNJCKfhTY1i2\",\"object\":\"chat.completion.chunk\",\"created\":1762940435,\"model\":\"gpt-5-mini-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" can\"},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"wU9\"}\n\ndata: {\"id\":\"chatcmpl-Cb1d503ZnlKSuEd0rxNJCKfhTY1i2\",\"object\":\"chat.completion.chunk\",\"created\":1762940435,\"model\":\"gpt-5-mini-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" I\"},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"LRQIZ\"}\n\ndata: {\"id\":\"chatcmpl-Cb1d503ZnlKSuEd0rxNJCKfhTY1i2\",\"object\":\"chat.completion.chunk\",\"created\":1762940435,\"model\":\"gpt-5-mini-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" help\"},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"Yp\"}\n\ndata: {\"id\":\"chatcmpl-Cb1d503ZnlKSuEd0rxNJCKfhTY1i2\",\"object\":\"chat.completion.chunk\",\"created\":1762940435,\"model\":\"gpt-5-mini-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" you\"},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"Jgk\"}\n\ndata: {\"id\":\"chatcmpl-Cb1d503ZnlKSuEd0rxNJCKfhTY1i2\",\"object\":\"chat.completion.chunk\",\"created\":1762940435,\"model\":\"gpt-5-mini-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\" today\"},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"h\"}\n\ndata: {\"id\":\"chatcmpl-Cb1d503ZnlKSuEd0rxNJCKfhTY1i2\",\"object\":\"chat.completion.chunk\",\"created\":1762940435,\"model\":\"gpt-5-mini-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{\"content\":\"?\"},\"finish_reason\":null}],\"usage\":null,\"obfuscation\":\"gRANiH\"}\n\ndata: {\"id\":\"chatcmpl-Cb1d503ZnlKSuEd0rxNJCKfhTY1i2\",\"object\":\"chat.completion.chunk\",\"created\":1762940435,\"model\":\"gpt-5-mini-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}],\"usage\":null,\"obfuscation\":\"U\"}\n\ndata: {\"id\":\"chatcmpl-Cb1d503ZnlKSuEd0rxNJCKfhTY1i2\",\"object\":\"chat.completion.chunk\",\"created\":1762940435,\"model\":\"gpt-5-mini-2025-08-07\",\"service_tier\":\"default\",\"system_fingerprint\":null,\"choices\":[],\"usage\":{\"prompt_tokens\":377,\"completion_tokens\":18,\"total_tokens\":395,\"prompt_tokens_details\":{\"cached_tokens\":0,\"audio_tokens\":0},\"completion_tokens_details\":{\"reasoning_tokens\":0,\"audio_tokens\":0,\"accepted_prediction_tokens\":0,\"rejected_prediction_tokens\":0}},\"obfuscation\":\"Y9Pz\"}\n\ndata: [DONE]\n\n" | ||
| headers: {} | ||
| status: 200 OK | ||
| code: 200 | ||
| duration: 1.981831959s | ||
| - id: 0 | ||
| request: | ||
| proto: HTTP/1.1 | ||
| proto_major: 1 | ||
| proto_minor: 1 | ||
| content_length: 0 | ||
| host: api.openai.com | ||
| body: '{"messages":[{"content":"You are a multi-agent system, make sure to answer the user query in the most helpful way possible. You have access to these sub-agents:\nName: web | Description: \n\nIMPORTANT: You can ONLY transfer tasks to the agents listed above using their ID. The valid agent names are: web. You MUST NOT attempt to transfer to any other agent IDs - doing so will cause system errors.\n\nIf you are the best to answer the question according to your description, you can answer it.\n\nIf another agent is better for answering the question according to its description, call `transfer_task` function to transfer the question to that agent using the agent''s ID. When transferring, do not generate any text other than the function call.\n\n","role":"system"},{"content":"You are a knowledgeable assistant that helps users with various tasks.\nBe helpful, accurate, and concise in your responses.\n","role":"system"},{"content":"Say hello.","role":"user"}],"model":"gpt-5-mini","stream_options":{"include_usage":true},"tools":[{"function":{"name":"transfer_task","description":"Use this function to transfer a task to the selected team member.\n You must provide a clear and concise description of the task the member should achieve AND the expected output.","parameters":{"additionalProperties":false,"properties":{"agent":{"description":"The name of the agent to transfer the task to.","type":"string"},"expected_output":{"description":"The expected output from the member (optional).","type":"string"},"task":{"description":"A clear and concise description of the task the member should achieve.","type":"string"}},"required":["agent","expected_output","task"],"type":"object"}},"type":"function"}],"stream":true}' | ||
| url: https://api.openai.com/v1/chat/completions | ||
| method: POST | ||
| response: | ||
| proto: HTTP/2.0 | ||
| proto_major: 2 | ||
| proto_minor: 0 | ||
| content_length: -1 | ||
| body: |+ | ||
| data: {"id":"chatcmpl-Cyg4WkSjCDUBxPviMs09eFjYBD3x1","object":"chat.completion.chunk","created":1768577440,"model":"gpt-5-mini-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"c186g"} | ||
|
|
||
| data: {"id":"chatcmpl-Cyg4WkSjCDUBxPviMs09eFjYBD3x1","object":"chat.completion.chunk","created":1768577440,"model":"gpt-5-mini-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Hello"},"finish_reason":null}],"usage":null,"obfuscation":"57"} | ||
|
|
||
| data: {"id":"chatcmpl-Cyg4WkSjCDUBxPviMs09eFjYBD3x1","object":"chat.completion.chunk","created":1768577440,"model":"gpt-5-mini-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"!"},"finish_reason":null}],"usage":null,"obfuscation":"XDOJHR"} | ||
|
|
||
| data: {"id":"chatcmpl-Cyg4WkSjCDUBxPviMs09eFjYBD3x1","object":"chat.completion.chunk","created":1768577440,"model":"gpt-5-mini-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" How"},"finish_reason":null}],"usage":null,"obfuscation":"i1G"} | ||
|
|
||
| data: {"id":"chatcmpl-Cyg4WkSjCDUBxPviMs09eFjYBD3x1","object":"chat.completion.chunk","created":1768577440,"model":"gpt-5-mini-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" can"},"finish_reason":null}],"usage":null,"obfuscation":"yFM"} | ||
|
|
||
| data: {"id":"chatcmpl-Cyg4WkSjCDUBxPviMs09eFjYBD3x1","object":"chat.completion.chunk","created":1768577440,"model":"gpt-5-mini-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" I"},"finish_reason":null}],"usage":null,"obfuscation":"L8FUi"} | ||
|
|
||
| data: {"id":"chatcmpl-Cyg4WkSjCDUBxPviMs09eFjYBD3x1","object":"chat.completion.chunk","created":1768577440,"model":"gpt-5-mini-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" help"},"finish_reason":null}],"usage":null,"obfuscation":"b0"} | ||
|
|
||
| data: {"id":"chatcmpl-Cyg4WkSjCDUBxPviMs09eFjYBD3x1","object":"chat.completion.chunk","created":1768577440,"model":"gpt-5-mini-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" you"},"finish_reason":null}],"usage":null,"obfuscation":"UmQ"} | ||
|
|
||
| data: {"id":"chatcmpl-Cyg4WkSjCDUBxPviMs09eFjYBD3x1","object":"chat.completion.chunk","created":1768577440,"model":"gpt-5-mini-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" today"},"finish_reason":null}],"usage":null,"obfuscation":"7"} | ||
|
|
||
| data: {"id":"chatcmpl-Cyg4WkSjCDUBxPviMs09eFjYBD3x1","object":"chat.completion.chunk","created":1768577440,"model":"gpt-5-mini-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"?"},"finish_reason":null}],"usage":null,"obfuscation":"36Ullb"} | ||
|
|
||
| data: {"id":"chatcmpl-Cyg4WkSjCDUBxPviMs09eFjYBD3x1","object":"chat.completion.chunk","created":1768577440,"model":"gpt-5-mini-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"usage":null,"obfuscation":"2"} | ||
|
|
||
| data: {"id":"chatcmpl-Cyg4WkSjCDUBxPviMs09eFjYBD3x1","object":"chat.completion.chunk","created":1768577440,"model":"gpt-5-mini-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":373,"completion_tokens":18,"total_tokens":391,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"NkWx"} | ||
|
|
||
| data: [DONE] | ||
|
|
||
| headers: {} | ||
| status: 200 OK | ||
| code: 200 | ||
| duration: 2.448987709s |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😂