Import AITURK IDE 1.0.0-beta.1 from Hermes 63279301; preserve MIT license
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
from hermes_cli.model_switch import parse_model_flags, parse_model_flags_detailed
|
||||
|
||||
|
||||
def test_parse_model_flags_detailed_supports_once():
|
||||
parsed = parse_model_flags_detailed("sonnet --provider anthropic --once")
|
||||
|
||||
assert parsed.model_input == "sonnet"
|
||||
assert parsed.explicit_provider == "anthropic"
|
||||
assert parsed.is_global is False
|
||||
assert parsed.force_refresh is False
|
||||
assert parsed.is_session is False
|
||||
assert parsed.is_once is True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user