Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for model configuration editing with Mira #61

Merged
merged 3 commits into from
Jan 26, 2024

Conversation

brandomr
Copy link
Contributor

@brandomr brandomr commented Jan 24, 2024

This implements a new context called mira_config_edit which fetches a model configuration from HMI server on setup, lets the user ask for 3 basic things:

  1. what are the current parameters?
  2. what are the current initial conditions?
  3. update the parameter values

It accepts a custom message called save_model_config_request which does a PUT to update the model configuration in place.

No actions except for loading/saving the configuration occur "behind the scenes". For the 3 items above Beaker generates code that the user must then confirm and execute. The user is not constrained in this environment and can make freeform edits to the model configuration beyond those supported by the LLM.

Note: the env.example is now updated to support HMI-Server URL and auth information.

Questions

  1. Should this create a new configuration or overwrite the existing one?
  2. Does any provenance information need to be stored?
  3. Should initial condition expressions be editable via LLM support?

@brandomr brandomr linked an issue Jan 24, 2024 that may be closed by this pull request
@brandomr brandomr merged commit 38ba68e into main Jan 26, 2024
2 checks passed
@mwdchang mwdchang deleted the 35-support-for-model-configuration-editing branch August 15, 2024 16:52
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.

Support for model configuration editing
1 participant