server: tests - fix passkey not using pre/suffix
This commit is contained in:
parent
3b8242a188
commit
ed60b97434
1 changed files with 2 additions and 2 deletions
|
@ -306,8 +306,8 @@ def step_prompt_passkey(context, passkey, i_pos):
|
||||||
prompt += context.prompt_passkey_template
|
prompt += context.prompt_passkey_template
|
||||||
prompt += context.prompt_junk_suffix
|
prompt += context.prompt_junk_suffix
|
||||||
if context.debug:
|
if context.debug:
|
||||||
print(f"ERRRRR Passkey challenge:\n```\n{prompt}\n```\n")
|
print(f"Passkey challenge:\n```\n{prompt}\n```\n")
|
||||||
context.prompts.append(prompt)
|
context.prompts.append(context.prompt_prefix + prompt + context.prompt_suffix)
|
||||||
|
|
||||||
|
|
||||||
@step(u'an OAI compatible chat completions request with {api_error} api error')
|
@step(u'an OAI compatible chat completions request with {api_error} api error')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue