Index | Thread | Search

From:
Kirill A. Korinsky <kirill@korins.ky>
Subject:
Re: NEW: devel/codex
To:
chris@nmedia.net, ports@openbsd.org
Date:
Tue, 20 Jan 2026 15:23:10 +0100

Download raw body.

Thread
On Mon, 19 Jan 2026 23:40:27 +0100,
Kirill A. Korinsky <kirill@korins.ky> wrote:
> 
> On Fri, 16 Jan 2026 16:29:55 +0100,
> Chris Cappuccio <chris@nmedia.net> wrote:
> > 
> > Stuart Henderson [stu@spacehopper.org] wrote:
> > > 
> > > Also missing some WANTLIB/LIB_DEPENDS, license markers in crates.inc.
> > > Tar attached. (I installed docs too).
> > > 
> > 
> > Very nice
> > 
> > Crates went like this for me:
> > 
> > make modcargo-gen-crates | grep '^MODCARGO_CRATES' > crates.inc
> > 
> > Is there an easy way to get the licenses in too?
> > 
> > > It could do with DESCR fleshing out a bit, and perhaps a pkg-readme
> > > explaining how to use it locally?
> > > 
> > 
> > Can do.
> > 
> 
> 
> I actually played a bit with codex. Future remarks.
> 
> 1. It founds and uses rg (textproc/ripgrep)
> 
> 2. It says, let me quote:
> 
> ✘ Failed to apply patch
>   └ failed to determine codex exe: no current exe available (short)
> 
> • Since apply_patch fails due to environment issues, I'll switch to a Python script to rewrite or reconstruct the target file for precise edits, prioritizing
>   correctness over incremental patching.
> 
> After that it tries to use python, and when it failed, swithced to python3.
> 

Here a version where I:
1. added runtime dependency on textproc/ripgrep
2. patched required current_exe() usage
3. added README with sample how it can be used against llama.cpp server

-- 
wbr, Kirill