mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-25 16:15:55 +03:00
[GH-ISSUE #1849] After setting interception in the script, event stream will wait until all data is returned before executing onResponse #1842
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#1842
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lastIndexOf on GitHub (Nov 13, 2023).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1849
How to intercept only the Request?
I want to intercept the request of GPT and modify the request body. However, I found that after modifying it in this way, the event stream of the response must wait until it is completely received before onResponse is triggered. The corresponding app will also respond only then, instead of displaying data piece by piece. How should I solve this problem?
@NghiaTranUIT commented on GitHub (Nov 13, 2023):
Yes, it's a known issue because Proxyman doesn't support streaming data yet. When the connection is completed, Proxyman will show the data.
You can use
response_format={ "type": "json_object" }to tell the OpenAI to respond to a JSON instead of streaming data.Ref: https://community.openai.com/t/how-do-i-use-the-new-json-mode/475890
@lastIndexOf commented on GitHub (Nov 13, 2023):
Is there a supported plan?
@YisenFE commented on GitHub (Jan 8, 2026):
Is there a supported plan?