Skip to content

Update default model, OpenAI request options, and JET compat - #16

Merged
terasakisatoshi merged 1 commit into
mainfrom
bump-jet-and-compat
Sep 24, 2026
Merged

terasakisatoshi merged 1 commit into
mainfrom
bump-jet-and-compat

Conversation

@terasakisatoshi

Copy link
Copy Markdown
Member

Summary

  • Switch DEFAULT_MODEL to gpt-6-luna
  • Pass reasoning_effort = "none" to chat completions
  • Allow SHA 1.x
  • Bump JET compat to allow 0.12 and update the JET test to the non-deprecated target_modules API

Notes

  • The JET bump was needed so the package supports the latest JET (0.12.1). JET 0.12 removed the target_defined_modules config, so test/jet_tests.jl now uses target_modules = (DocstringTranslation,), which works on JET 0.9 / 0.11 / 0.12.
  • Tests pass on Julia 1.10 (JET 0.9.18) and Julia 1.13 (JET 0.12.1): 32/32.

- Switch DEFAULT_MODEL to gpt-6-luna
- Pass reasoning_effort="none" to chat completions
- Allow SHA 1.x
- Support JET 0.12 and use target_modules in tests
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-24T06:09:47.051883Z 1f67247 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1f67247a24

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/openai.jl
Dict("role" => "system", "content" => system_promptfn(lang)),
Dict("role" => "user", "content" => string(doc)),
];
reasoning_effort = "none",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Only send reasoning_effort to models that support it

This option is now attached to every request, including calls made after switchmodel! selects a non-reasoning model such as the previous gpt-4o-mini-2024-07-18, or when OPENAI_BASE_URL_OVERRIDE targets a compatible backend that does not implement this field. Such endpoints reject the request rather than translating, so the option should be conditional on a supporting model/provider or exposed as an opt-in request option.

Useful? React with 👍 / 👎.

@terasakisatoshi
terasakisatoshi merged commit f307a4c into main Sep 24, 2026
3 checks passed
@terasakisatoshi
terasakisatoshi deleted the bump-jet-and-compat branch September 24, 2026 06:10
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.

1 participant