Steve
Steve
OpenRouter similarly needs this to choose & sort providers. https://openrouter.ai/docs/community/open-ai-sdk From the Python version of the OpenAI SDK docs: > \# pass extra_body to access OpenRouter-only arguments. The `extra_body` object...
Additional Error: Upon inserting `po=0` in between the 2 curly braces, the following exception is thrown: ``` java.util.EmptyStackException at org.antlr.v4.runtime.Lexer.popMode(Lexer.java:192) at org.antlr.v4.runtime.atn.LexerPopModeAction.execute(LexerPopModeAction.java:58) at org.antlr.v4.runtime.atn.LexerActionExecutor.execute(LexerActionExecutor.java:168) at org.antlr.v4.runtime.atn.LexerATNSimulator.accept(LexerATNSimulator.java:366) at org.antlr.v4.runtime.atn.LexerATNSimulator.failOrAccept(LexerATNSimulator.java:299) at org.antlr.v4.runtime.atn.LexerATNSimulator.execATN(LexerATNSimulator.java:230)...
``` CURLY_L : '{' { this.DeepenDepth(); } -> pushMode(DEFAULT_MODE); // TemplateCloseBrace : {this.IsInTemplateString()}? '}' {this.ProcessTemplateCloseBrace();} -> popMode; // Now commented out CURLY_R : '}' { this.ExitDepth(); } -> popMode;; ```...
#906 addresses this issue, but is still pending review from @sashabaranov