mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-22 23:00:00 +00:00
qxqx
This commit is contained in:
parent
906a0b2972
commit
caaa03c0a6
@ -31,10 +31,6 @@ class SuccessfulParseAfterRetries(BaseOutputParser[str]):
|
|||||||
return "parsed"
|
return "parsed"
|
||||||
|
|
||||||
|
|
||||||
def test_foo():
|
|
||||||
assert 1 == 1
|
|
||||||
|
|
||||||
|
|
||||||
def test_retry_output_parser_parse_with_prompt() -> None:
|
def test_retry_output_parser_parse_with_prompt() -> None:
|
||||||
n: int = 5 # Success on the (n+1)-th attempt
|
n: int = 5 # Success on the (n+1)-th attempt
|
||||||
base_parser = SuccessfulParseAfterRetries(attemp_count_before_success=n)
|
base_parser = SuccessfulParseAfterRetries(attemp_count_before_success=n)
|
||||||
|
Loading…
Reference in New Issue
Block a user