LanguageBlobServiceOptions is now an object rather than a record, because you need a parameterless constructor to do IOptions.Value
Made OnFunctionInvoked back to non-async from async, and went back to calling GetAwaiter().GetResult(). For some reason, when being called async, it exhibited the behavior I was initially afraid of, not actually returning from retry invocations. Turning it back fixed this, but I'm curious as to why.
Removed the console-log plugin from the generateCode.yaml file, as that doesn't exist.
Removed the additional addition of the ANTLR grammar from directly being inserted into the conversation history, as with csharp having it in there twice ate up all the tokens just for that.
(more an enhancement) added the errors (conditionally) to the generateCode prompt, so the function is directly told "avoid these errors" when retrying. It seems to work better.