Skip to content

New dict-based Final Answer format - #162

Merged
alexzhang13 merged 1 commit into
mainfrom
new_final_answer_format
May 13, 2026
Merged

alexzhang13 merged 1 commit into
mainfrom
new_final_answer_format

Conversation

@alexzhang13

Copy link
Copy Markdown
Owner

Change the FINAL(...) / FINAL_VAR(...) answer format to be more principled.

Following DSPy.RLM & verifiers RLMEnv, we use the REPL as a place to store the final answer. We use a answer dictionary that is pre-populated / protected with 2 keys, "content" and "ready".

"content" is where answers are placed, and "ready" is set to True when the answer is ready to be submitted.

@alexzhang13
alexzhang13 merged commit a740331 into main May 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant