Skip to content

Conversation

MasterOdin
Copy link
Member

PR modifies the GenerateSQLResponse.messages value such that it's now a list[tuple[ModelRequest, ModelResponse]], so that we capture both the request to the model as well as its response, where previously we were just capturing the response. This should make introspection of the generate process easier.

As part of this, I removed the GenerateSQLResponse.final_prompt value as this is just a duplicate of the final ModelRequest object that we have in the messages list.

@MasterOdin MasterOdin requested a review from jgpruitt June 20, 2025 18:22
@MasterOdin MasterOdin requested a review from a team as a code owner June 20, 2025 18:22
@MasterOdin MasterOdin temporarily deployed to internal-contributors June 20, 2025 18:22 — with GitHub Actions Inactive
@MasterOdin MasterOdin force-pushed the mpeveler/fix-messages branch from 69f0a35 to 713ac79 Compare June 20, 2025 18:46
@MasterOdin MasterOdin temporarily deployed to internal-contributors June 20, 2025 18:46 — with GitHub Actions Inactive
@MasterOdin MasterOdin force-pushed the mpeveler/fix-messages branch from 713ac79 to c1b9fd1 Compare June 20, 2025 18:47
@MasterOdin MasterOdin temporarily deployed to internal-contributors June 20, 2025 18:48 — with GitHub Actions Inactive
Signed-off-by: Matthew Peveler <mpeveler@timescale.com>
@MasterOdin MasterOdin force-pushed the mpeveler/fix-messages branch from c1b9fd1 to 61a96ed Compare June 20, 2025 18:50
@MasterOdin MasterOdin temporarily deployed to internal-contributors June 20, 2025 18:51 — with GitHub Actions Inactive
@MasterOdin MasterOdin merged commit 0dd09c0 into main Jun 20, 2025
15 checks passed
@MasterOdin MasterOdin deleted the mpeveler/fix-messages branch June 20, 2025 20:24
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.

2 participants