mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-31 17:27:42 +00:00
fix: direct_exp_gen to json_target_type in DSExpGen class (#661)
* refactor: Rename direct_exp_gen to json_target_type in DSExpGen class * fix type
This commit is contained in:
@@ -420,7 +420,7 @@ class DSExpGen(ExpGen):
|
||||
user_prompt=user_prompt,
|
||||
system_prompt=system_prompt,
|
||||
json_mode=True,
|
||||
direct_exp_gen=Dict[str, Dict[str, str]],
|
||||
json_target_type=dict[str, dict[str, str] | str], # workflow_update may be a string
|
||||
)
|
||||
)
|
||||
assert "hypothesis_proposal" in resp_dict, "Hypothesis proposal not provided."
|
||||
|
||||
Reference in New Issue
Block a user