mirror of
https://github.com/run-llama/semtools.git
synced 2026-07-21 11:15:24 -04:00
Compilation failure: Arrow version mismatch and missing async-openai features #15
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @romeromarcelo on GitHub (Nov 26, 2025).
Description
cargo install semtoolsfails to compile on version 1.4.0 due to dependency conflicts.Environment
Errors
1. Arrow Version Mismatch
The crate specifies
arrow-array = "55.2.0"butlancedb 0.22.3requiresarrow 56.2.0:2. Missing async-openai Feature Flags
The
askmodule imports fromasync-openaibut the required features aren't enabled:Reproduction
Workaround
Installing without the problematic features works:
Suggested Fix
Update
Cargo.toml:Full Error Log
Click to expand full compilation errors
@romeromarcelo commented on GitHub (Nov 26, 2025):
Complete Fix
I've identified and fixed all the issues. Here's the complete solution:
Fix 1: Update Arrow versions in
Cargo.tomlFix 2: Update async-openai dependency in
Cargo.tomlNote: The key insight is that
chat-completionandresponsesfeatures include both the types AND the API methods. Using justchat-completion-typesandresponse-typesonly provides the type definitions without theclient.chat()andclient.responses()methods.Fix 3: Update
src/ask/responses_agent.rsfor API changesThe
InputItem::text_message()helper method was removed in the alpha API. Update the imports and initialization:And update line 46:
Verification
After applying these fixes, all 4 binaries compile and install successfully:
All features now work:
parse,search,workspace, andask.@logan-markewich commented on GitHub (Nov 27, 2025):
This is pretty weird, since it installs fine for me 😅 but, I can apply these fixes, I appreciate the deep dive
@logan-markewich commented on GitHub (Nov 27, 2025):
Should be fixed in v1.5.1
@romeromarcelo commented on GitHub (Nov 27, 2025):
And thank you for the quick fix, @logan-markewich