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: ollama/ollama
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.11.2
Choose a base ref
...
head repository: ollama/ollama
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.11.3
Choose a head ref
  • 6 commits
  • 10 files changed
  • 5 contributors

Commits on Aug 5, 2025

  1. Configuration menu
    Copy the full SHA
    ee92ca3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fcec04b View commit details
    Browse the repository at this point in the history
  3. win: static link msvc libs (#11612)

    This should help reduce the runtime dependencies on windows.
    dhiltgen authored Aug 5, 2025
    Configuration menu
    Copy the full SHA
    e378e33 View commit details
    Browse the repository at this point in the history
  4. tools: support anyOf types

    afaik gpt-oss is the first model that meaningfully transforms tool
    function definitions in its template. We found that relatively common
    definitions that include `anyOf` were not working because the template
    was assuming that types were always defined via a `type` field.
    
    anyOf allows for fully recursive types, so I exposed a
    `toTypeScriptType()` function to handle this recursive logic in go and
    keep the templates cleaner. The gpt-oss templates will need to be
    updated to use this.
    
    We should keep building out our function definition support to more
    fully support the parts of json schema that make sense for this use
    case, but in the meantime this will unblock some users (e.g., zed's
    ollama integration w/ gpt-oss). Probably the most urgent is proper array
    support
    drifkin committed Aug 5, 2025
    Configuration menu
    Copy the full SHA
    30f8a68 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2025

  1. Merge pull request #11705 from ollama/drifkin/fn-schema

    tools: support anyOf types
    drifkin authored Aug 6, 2025
    Configuration menu
    Copy the full SHA
    2d06977 View commit details
    Browse the repository at this point in the history
  2. 1 Configuration menu
    Copy the full SHA
    4742e12 View commit details
    Browse the repository at this point in the history
Loading