I couldn’t recover the previous indexing checkpoint. This chat can query an existing Source Index, but it has no control to estimate, start, or resume indexing. I also couldn’t verify the exact resume controls in the CodeBot documentation. No paid embeddings were enabled or generated.
so how do i let it resume or rebuild that source indexing?
leave the same project open, check that CodeBot → Settings → General → Semantic source search is enabled, then start a new CodeBot chat and let it connect. The Delphi plugin will retry the missing files automatically. It reuses cached embeddings for unchanged code, so you can leave the existing index in place. Any passages still missing embeddings can use credits.
If it stops again, please send us the detailed error line immediately below the Semantic source indexing failed file count, plus the local time and time zone. You can redact file paths. That will let us match the failure to the server logs or identify a file the IDE couldn’t read.
Perfect. i have identified a gap on the client side, where requesting embeddings did not seamlessly reauthenticate as needed, if a request failed due to a lost session (eg timeout or server restart). This most likely explains the errors. I’m getting that fixed now and will get a new build out soon.
That is a separate bug; it seems the indexer doesn’t know about .dfm files. I’ll get that fixed as well, in the same round. Thanx!
When you say hangs, it just takes longer than expected, but resumes eventually?
While a .dfm is showing in the indexing progress, can you still type in the editor or open a menu, or does the whole IDE stop responding for that second? i.e. does it stall main()?
no no, the visual progress shows the .dfm name, the indexing ‘waits’ for a second and then proceeds
like it’s reading or analysing more then pas files…
ps: i just asked codebot to come up with a better helper function that already exists and asked the same question in both codebot and xAI (grok), and they both came up with literally the exact same answer… i didn’t expect that
simple one, array of string and array of variant to fill field values of a mem dataset
>References: Delphi Florence Documentation, Open Array Parameters; Data Abstract Documentation, Inserting a Row (Step 3), for the Append → FieldByName → Post sequence.
generated code:
type
TDAFieldValue = record
Name: string;
Value: Variant;
end;
function FieldValue(const AName: string; const AValue: Variant): TDAFieldValue;
begin
Result.Name := AName;
Result.Value := AValue;
end;
procedure HelperAddRecord(const ATable: TDADataTable; const AFields: array of TDAFieldValue);
begin
ATable.Append;
try
for var I := Low(AFields) to High(AFields) do begin
ATable.FieldByName(AFields[I].Name).Value := AFields[I].Value;
end;
ATable.Post;
except
ATable.Cancel;
raise;
end;
end;