Skip to content

Commit

Permalink
Bugfix - send in output schema for refuel models (#910)
Browse files Browse the repository at this point in the history
  • Loading branch information
DhruvaBansal00 authored Oct 1, 2024
1 parent 5cedaff commit d1417b2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/autolabel/models/refuelV2.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,7 @@ def _prepare_output_schema(self, schema: Dict) -> Dict:
del curr_schema[key]
else:
curr_schema[key] = self._prepare_output_schema(curr_schema[key])
else:
return curr_schema
return curr_schema

def get_cost(self, prompt: str, label: Optional[str] = "") -> float:
return 0
Expand Down

0 comments on commit d1417b2

Please sign in to comment.