Error when code generation is changed

Lab chart generation:

There is an error when the initial code generation is changed to gpt-3.5-turbo or reasoning model for reflection is changed to claude-3-7-sonnet

Error starts from LLM output with first draft code V1

Kindly help

thanks

Please post a screen capture image that shows the error message and context.

See attached

Changed to claude

Error-looks like model is end of life -deprecated

  

thnks

1 Like

@lesly.zerna, perhaps you can look into this.

1 Like

Thank you for reporting! I’ll give a check!

1 Like

any update please?

yes, the team is reviewing with the models (news and deprecated)

The notebooks will be updated :smiley:

In the meanwhile, you can check a similar discussion in this thread: Ungraded lab - M2_UGL_1 - model choice invalid - #3 by Lluichi

yes, you can try either one:

reflection_model=“claude-3-7-sonnet-latest”

reflection_model=“claude-3-7-sonnet-20250219”