-
Notifications
You must be signed in to change notification settings - Fork 10
Comparing changes
Open a pull request
base repository: jetify-com/ai
base: v0.3.2
head repository: jetify-com/ai
compare: v0.4.0
- 18 commits
- 38 files changed
- 5 contributors
Commits on Aug 21, 2025
-
Update Internal Dependencies (#557)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: loreto <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2310934 - Browse repository at this point
Copy the full SHA 2310934View commit details
Commits on Aug 22, 2025
-
Update Internal Dependencies (#559)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: loreto <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 337956c - Browse repository at this point
Copy the full SHA 337956cView commit details
Commits on Aug 29, 2025
-
Update Internal Dependencies (#561)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: loreto <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 03a3417 - Browse repository at this point
Copy the full SHA 03a3417View commit details
Commits on Sep 4, 2025
-
[ai] Add TODO comments to AI SDK (#563)
## Summary Adds several TODOs of changes I'm considering to the AI SDK, and links to relevant codebases (in MCP or Vercel's version, for example). Just want to get these in quickly before I start making changes. ## How was it tested? N/A ## Community Contribution License All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 License](https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the [Community Contribution License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license).
Configuration menu - View commit details
-
Copy full SHA for 71dde86 - Browse repository at this point
Copy the full SHA 71dde86View commit details -
Update Internal Dependencies (#564)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: loreto <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a1fe74 - Browse repository at this point
Copy the full SHA 7a1fe74View commit details
Commits on Sep 19, 2025
-
Remove RedactedReasoning from code (#566)
## Summary Simplify the API by removing the need for "RedactedReasoning". Instead we have a single Reasoning block, and if there's fields related to a redaction, we keep them in the provider metadata. This follows the recent changes in the Vercel SDK. ## How was it tested? Updated tests and ran them. ## Community Contribution License All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 License](https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the [Community Contribution License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license).
Configuration menu - View commit details
-
Copy full SHA for 0ebc662 - Browse repository at this point
Copy the full SHA 0ebc662View commit details -
[aisdk] Move unused api surface to internal (#567)
## Summary The AI SDK has types defined for image models and embedding models ... but we've never really used those or implemented providers for those models. This PR moves those types to internal, so that end-users don't start depending on those types until we test them out and are ready to make them public. ## How was it tested? Ran tests. ## Community Contribution License All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 License](https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the [Community Contribution License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license).
Configuration menu - View commit details
-
Copy full SHA for aa70e32 - Browse repository at this point
Copy the full SHA aa70e32View commit details
Commits on Oct 17, 2025
-
[ai] add nil check for provider metadata (#568)
## Summary Ran into panic with this: ``` panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0x11a77a0] goroutine 561 [running]: go.jetify.com/ai/api.(*Response).GetProviderMetadata(0x0?) /home/runner/go/pkg/mod/go.jetify.com/[email protected]/api/llm_language_model.go:93 2025-10-17 03:26:09.667 go.jetify.com/ai/api.GetMetadata[...]({0x20f03cb, 0x9}, {0x23e0540, 0x0?}) 2025-10-17 03:26:09.667 /home/runner/go/pkg/mod/go.jetify.com/[email protected]/api/llm_provider_metadata.go:95 +0x5f 2025-10-17 03:26:09.667 go.jetify.com/ai/provider/anthropic/codec.GetMetadata(...) 2025-10-17 03:26:09.667 /home/runner/go/pkg/mod/go.jetify.com/[email protected]/provider/anthropic/codec/metadata.go:24 2025-10-17 03:26:09.667 ``` ## How was it tested? have not tested ## Community Contribution License All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 License](https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the [Community Contribution License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license).
Configuration menu - View commit details
-
Copy full SHA for 197be6f - Browse repository at this point
Copy the full SHA 197be6fView commit details
Commits on Oct 21, 2025
-
Revert "[ai] add nil check for provider metadata (#568)" (#569)
## Summary This reverts commit c6b33e126335c366c106eb5f28fcafab2887ae37. That was a silly no-op ## How was it tested? ## Community Contribution License All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 License](https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the [Community Contribution License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license).
Configuration menu - View commit details
-
Copy full SHA for dded26d - Browse repository at this point
Copy the full SHA dded26dView commit details
Commits on Oct 22, 2025
-
[aisdk] handle nil receiver in language model's Response.GetProviderM…
…etadata (#570) ## Summary This should fix the nil pointer seg-fault hit in #568 ## How was it tested? Exercised product code that hit this code path, and verified that the anthropic code.GetMetadata() call was able to return successfully ## Community Contribution License All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 License](https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the [Community Contribution License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license).
Configuration menu - View commit details
-
Copy full SHA for c3ab152 - Browse repository at this point
Copy the full SHA c3ab152View commit details
Commits on Nov 7, 2025
-
[openai] Set/expose tool IDs/names in constants (#572)
## Summary - Pulls out tool IDs and names into constants, to avoid using string literals in multiple places - Adds ComputerUsePreview as an available model - Fixes bug were ComputerUse ToolResults were not being encoded properly because we were comparing `toolCallID` (e.g. `cu_deadbeef`) against the tool name (`openai.computer_use_preview`) NOTE: we are setting the Tool ID into `api.ToolCallBlock.ToolName` and `api.ToolResultBlock.ToolName`. This seems like a bug. I didn't fix it in this PR; will fix in the future. I'm not sure if it makes more sense to expose the ToolID or the ToolName. I think ToolID but let me know if you have opinions. ## How was it tested? CICD ## Community Contribution License All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 License](https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the [Community Contribution License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license).
Configuration menu - View commit details
-
Copy full SHA for 0fccdd8 - Browse repository at this point
Copy the full SHA 0fccdd8View commit details -
Update Internal Dependencies (#575)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: loreto <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 651a729 - Browse repository at this point
Copy the full SHA 651a729View commit details
Commits on Nov 10, 2025
-
[openai] Include ResponseInfo in response (#571)
## Summary Populates `ResponseInfo` in the response object for openai calls. ## How was it tested? CICD ## Community Contribution License All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 License](https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the [Community Contribution License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license).
Configuration menu - View commit details
-
Copy full SHA for 702e557 - Browse repository at this point
Copy the full SHA 702e557View commit details -
Update Internal Dependencies (#577)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: ipince <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 494222e - Browse repository at this point
Copy the full SHA 494222eView commit details -
[aisdk] Set model config for CUA models (#576)
## Summary CUA models require auto-truncation. I also set `isReasoning` and `systemMessageMode` to match what Vercel's AISDK sets for them, but honestly I'm not sure how those fields are used... The inference calls worked just fine whether the roles were "system" or "developer". Also, it seems that CUA is indeed a "reasoning model", because we do get reasoning output from it, even if it's not listed as a reasoning model in OpenAI's docs. But, OpenAI's docs also say that reasoning models do _not_ support temperature, but we do set temperature (after loop-detection) and it does seem to work... so I'm a bit confused here. I might have to change some of the AISDK code that currently enforces that temperature is NOT set for reasoning models. ## How was it tested? Ran `testpilot test` while pulling these local changes. ## Community Contribution License All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 License](https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the [Community Contribution License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license).
Configuration menu - View commit details
-
Copy full SHA for edcfad5 - Browse repository at this point
Copy the full SHA edcfad5View commit details -
[aisdk] Pass correct CallID and args on computer use tool call (#578)
## Summary TSIA ## How was it tested? Unit test; running testpitot locally ## Community Contribution License All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 License](https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the [Community Contribution License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license).
Configuration menu - View commit details
-
Copy full SHA for f28bf50 - Browse repository at this point
Copy the full SHA f28bf50View commit details
Commits on Nov 13, 2025
-
[aisdk] Allow for empty reasoning blocks (observed behavior) (#580)
## Summary Sometimes the model does return an empty reasoning block... Let's let it through instead of failing to decode. Example: https://platform.openai.com/logs/resp_02474882b463981300691523a7eb9481938b7823951cfe62ab I'll add the raw response in a comment to this PR ## How was it tested? Ran testpilot locally. ## Community Contribution License All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 License](https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the [Community Contribution License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license).
Configuration menu - View commit details
-
Copy full SHA for 1350e34 - Browse repository at this point
Copy the full SHA 1350e34View commit details -
[aisdk] Allow passing of provider metadata in tool definitions (#579)
## Summary We need it so that we can specify whether the tool schema validation should be strict or not. ## How was it tested? Used with testpilot and its custom tools. I'll send a PR on axiom to show its usage too. ## Community Contribution License All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 License](https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the [Community Contribution License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license).
Configuration menu - View commit details
-
Copy full SHA for 07d0f01 - Browse repository at this point
Copy the full SHA 07d0f01View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.3.2...v0.4.0