Skip to content

mohdel v3.8.0

Choose a tag to compare

@clbrge clbrge released this 03 Oct 17:53
· 77 commits to main since this release

Added

  • mo.use(model).evaluate(state, questions) asks binary, choice and
    score questions about one state and returns one answer per question:
    probability of yes, or probabilities with choice / score and an
    optional confidence. Result: answers, upstreamModel, inputTokens,
    outputTokens, cost.
  • typesafe provider (TYPESAFE_API_SK), evaluation only. answer() on it
    fails with PROVIDER_TEXT_NOT_SUPPORTED.
  • Gate route POST /v1/evaluate, dispatch_evaluate / handle_evaluate;
    callEvaluation from mohdel/client; evaluate() on the Rust client.
  • Catalog type: "evaluation" and evaluationTypes, the question types an
    entry answers; another type fails with EVALUATE_QUESTION_TYPE_UNSUPPORTED.

Changed

  • The gate keeps JSON object key order when it relays an envelope, so tool
    parameters schemas reach the provider in the caller's order.

Fixed

  • An HTTP error from an embedding provider (openai, gemini, cohere,
    local) no longer puts the caller's API key in TypedError.detail; a key
    echoed in the provider's response body is masked.