Skip to content

Commit

Permalink
show all response fields by default because its confusing
Browse files Browse the repository at this point in the history
  • Loading branch information
devxpy committed Feb 27, 2024
1 parent 11b3812 commit 1bac929
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions daras_ai_v2/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1873,11 +1873,7 @@ def get_example_response_body(
run_id=run_id,
uid=self.request.user and self.request.user.uid,
)
output = extract_model_fields(
self.ResponseModel,
state,
include_all=include_all,
)
output = extract_model_fields(self.ResponseModel, state, include_all=True)
if as_async:
return dict(
run_id=run_id,
Expand Down

0 comments on commit 1bac929

Please sign in to comment.