Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: FormulaMonks/kurt
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @formula-monks/kurt-open-ai-v1.8.1
Choose a base ref
...
head repository: FormulaMonks/kurt
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 20 commits
  • 34 files changed
  • 1 contributor

Commits on Nov 27, 2024

  1. fix: system prompt formatting for Vertex AI

    Prior to this commit, system prompt messages were included
    by the `KurtVertexAI` as part of the `content` stream of messages.
    However, VertexAI requires system messages to be specified separately.
    This commit makes that change.
    jemc committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    4e5ab14 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #57 from FormulaMonks/fix/vertex-ai-system-prompt

    fix: system prompt formatting for Vertex AI
    jemc authored Nov 27, 2024
    Configuration menu
    Copy the full SHA
    02bd154 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2024

  1. feat: add kurt-cache package with KurtCache adapter

    This will make it easy to work with LLMs in tests, without requiring any LLM connectivity/usage for
    running existing tests whose inner LLM responses are already cached.
    jemc committed Dec 3, 2024
    Configuration menu
    Copy the full SHA
    3d654d0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f5d9348 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    97b6677 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #58 from FormulaMonks/add/kurt-cache

    feat: add `kurt-cache` package with `KurtCache` adapter
    jemc authored Dec 3, 2024
    Configuration menu
    Copy the full SHA
    c97ebd4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d0fc4cc View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2024

  1. fix: kurtCache handling of schemas - serialize as JSON Schema

    Prior to this commit, KurtCache would raise an unhandled YAML
    serializing exception when storing a cache entry that included
    structured data, because it was trying to serialize the Zod
    schema object directly. This commit fixes that problem by
    converting the schema to JSON schema (which is cleanly serializable)
    before writing the YAML cache entry.
    jemc committed Dec 4, 2024
    Configuration menu
    Copy the full SHA
    aca061a View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2024

  1. Merge pull request #59 from FormulaMonks/fix/kurt-cache-schema

    fix: KurtCache handling of schemas - serialize as JSON Schema
    jemc authored Dec 5, 2024
    Configuration menu
    Copy the full SHA
    65a209d View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2024

  1. feat: add forceSchemaConstrainedTokens to KurtSamplingOptions

    This maps to the new-ish `strict: true` feature of OpenAI which
    enables constrained token sampling, but has certain caveats that
    make it undesirable to turn on by default.
    
    See issue #61 for more info.
    jemc committed Dec 6, 2024
    Configuration menu
    Copy the full SHA
    91dd0ba View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f0f384c View commit details
    Browse the repository at this point in the history
  3. Merge pull request #62 from FormulaMonks/add/schema-constrained-tokens

    feat: add `forceSchemaConstrainedTokens` to `KurtSamplingOptions`
    jemc authored Dec 6, 2024
    Configuration menu
    Copy the full SHA
    9ba8bdb View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2024

  1. feat: add support for schema-constrained tokens in KurtOpenAI

    This commit also updates the set of supported models to include the newer model snapshots. We also
    update the tests to allow for specifying different models per test, and to mostly use the newer
    models.
    jemc committed Dec 9, 2024
    Configuration menu
    Copy the full SHA
    a98877b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #63 from FormulaMonks/add/open-ai-schema-constrain…

    …ed-tokens
    
    feat: add support for schema-constrained tokens in `KurtOpenAI`
    jemc authored Dec 9, 2024
    Configuration menu
    Copy the full SHA
    c3a255d View commit details
    Browse the repository at this point in the history
  3. fix: make KurtVertexAI properly throw KurtCapabilityError for the sch…

    …ema-constrained tokens case
    
    Vertex AI is not yet capable of this feature, and we want to proactively warn the user that they
    cannot expect a schema conformance guarantee.
    jemc committed Dec 9, 2024
    Configuration menu
    Copy the full SHA
    623cfe7 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2024

  1. fix: ensure KurtCache hashes the new forceSchemaConstrainedTokens

    … option
    
    This ensures that changing the option will correctly cause a cache miss. But leaving it at the
    default value of `false` won't change existing hashes because `false` is treated as "missing" in the
    `mayHash` internal function.
    jemc committed Dec 10, 2024
    Configuration menu
    Copy the full SHA
    f3d86d6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #64 from FormulaMonks/fix/vertex-ai-schema-constra…

    …ined-tokens-error
    
    fix: make KurtVertexAI properly throw KurtCapabilityError for the schema-constrained tokens case
    jemc authored Dec 10, 2024
    Configuration menu
    Copy the full SHA
    3b223a8 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #65 from FormulaMonks/fix/cache-force-schema-const…

    …rained
    
    fix: ensure `KurtCache` hashes the new `forceSchemaConstrainedTokens` option
    jemc authored Dec 10, 2024
    Configuration menu
    Copy the full SHA
    2ac7233 View commit details
    Browse the repository at this point in the history
  4. fix: correctly pass through the forceTool option inside `KurtCache.…

    …generateRawEvents`
    
    Prior to this commit, that option was being silently dropped because it was neglected in the new
    object that gets sent to the internal adapter. This commit introduces a usage of the spread operator
    to ensure that no such options are dropped (while still allowing the replacement of other options).
    jemc committed Dec 10, 2024
    Configuration menu
    Copy the full SHA
    3de51b2 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #66 from FormulaMonks/fix/cache-force-tool

    fix: correctly pass through the `forceTool` option inside `KurtCache.generateRawEvents`
    jemc authored Dec 10, 2024
    Configuration menu
    Copy the full SHA
    93a974b View commit details
    Browse the repository at this point in the history
Loading