Skip to content

Example of using earthly CI (Earthfile) to build Terraphim Axum server with cross-platform#25

Merged
AlexMikhalev merged 2 commits intomainfrom
Earthly
Jan 30, 2024
Merged

Example of using earthly CI (Earthfile) to build Terraphim Axum server with cross-platform#25
AlexMikhalev merged 2 commits intomainfrom
Earthly

Conversation

@AlexMikhalev
Copy link
Contributor

I am not sure Rust cross adds value to compilation.
Terraphim Cloud have an example of cross-compiling atomic server into slim binary (and even embedding it into Linux kernel).
Currently, I bumped into OpenSSL-sys dependency on one of the "-probe" crates; I know @joepio sorted it somehow.
@joepio any recommendations?

Signed-off-by: AlexMikhalev <alex@metacortex.engineer>
Signed-off-by: AlexMikhalev <alex@metacortex.engineer>
@AlexMikhalev AlexMikhalev requested a review from mre January 21, 2024 15:56
@joepio
Copy link

joepio commented Jan 22, 2024

I think switching to rustls did it for me!

See commit

@AlexMikhalev AlexMikhalev merged commit 16bb6d6 into main Jan 30, 2024
@AlexMikhalev AlexMikhalev deleted the Earthly branch March 6, 2026 07:39
AlexMikhalev added a commit that referenced this pull request Mar 20, 2026
Implements JudgeModelRouter for tier-based LLM model selection:
- TierConfig struct for provider+model pairs
- ModelMappingConfig for complete configuration
- JudgeModelRouter with methods:
  * from_config(path) - load from JSON file
  * resolve_tier(tier) - get provider/model for a tier
  * resolve_profile(profile) - get tier sequence for a profile
- Supports tiers: quick, deep, tiebreaker, oracle
- Supports profiles: default, thorough, critical, exhaustive
- Comprehensive tests for all functionality
- Updates automation/judge/model-mapping.json with profile definitions
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.

2 participants