"Structured Prompt" feature not functioning as expected

The “Structured Prompt” feature in Google AI Studio is not functioning as expected.
When providing input and output pairs in a structured format, the model is unable to differentiate between the two, treating them as a continuous string. Consequently, the generated outputs are nonsensical and do not align with the provided examples.
''Get code" appears to share the issue showing no delineation between ‘input’ and ‘output’. ‘Output’ is the sum of ‘Input’ +1. Code snippet:

response = model.generate_content([ "2", "3", "23", "24", "112", "113", "334", "335",…)]