Skip to content

Conversation

@chrispcampbell
Copy link
Contributor

Fixes #302

@ToddFincannonEI: See issue for details. I don't know if you are relying on the string-based run_model API for EPS, but if you are, the changes to main.c demonstrate how to get the same behavior as before, so hopefully you could retrofit your code in a similar way. But let me know if any of this causes big problems for you.

I'm going to submit another PR shortly for changes that overlap slightly (adding parameters to runModelWithBuffers to support the "override constants" feature), so I suggest reviewing this one first. Once you approve both, I will merge this one first and will update the other to make the runModelWithBuffers changes consistent.

AI disclosure: I used Claude Code (Opus) to implement the first round of changes according to my detailed specification (recorded in the issue). I reviewed and edited the changes pretty heavily and rewrote the runModel[WithBuffers] docs for clarity.

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.

Revisit interface between JS runtime package and generated C model

2 participants