@ljoukov/llm 4.0.4 → 4.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -556,7 +556,7 @@ console.log(result.text);
556
556
  For read/search/write tasks in a workspace, enable `filesystemTool`. The library auto-selects a tool profile by model
557
557
  when `profile: "auto"`:
558
558
 
559
- - Codex-like models: Codex-compatible filesystem tool shape.
559
+ - Codex-like models (`gpt-5.4`, `chatgpt-gpt-5.4`, `chatgpt-gpt-5.4-fast`, and `*codex*` variants): Codex-compatible filesystem tool shape.
560
560
  - Gemini models: Gemini-compatible filesystem tool shape.
561
561
  - Other models: model-agnostic profile (currently Gemini-style).
562
562
 
package/dist/index.cjs CHANGED
@@ -9708,7 +9708,7 @@ async function runAccessHook2(runtime, context) {
9708
9708
  }
9709
9709
  function isCodexModel(model) {
9710
9710
  const normalized = model.startsWith("chatgpt-") ? model.slice("chatgpt-".length) : model;
9711
- return normalized.includes("codex");
9711
+ return normalized.includes("codex") || normalized === "gpt-5.4" || normalized === "gpt-5.4-fast";
9712
9712
  }
9713
9713
  function isGeminiModel(model) {
9714
9714
  return model.startsWith("gemini-");