Repository navigation
feat(ai): add AIGROW memory provider preset - #516
Open
guglielmo-io wants to merge 1 commit into
Open
guglielmo-io wants to merge 1 commit into
guglielmo-io wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an optional AIGROW memory provider preset on the existing OpenAI Chat Completions transport, following the merged UberLLM preset in #505 (and Standard Compute in #502). AIGROW sells genuine Claude, GPT, Gemini, Grok, Qwen and Kimi models through one OpenAI-compatible API on prepaid credit, at a reduced price; model ids are bare (
claude-haiku-5.5,gpt-6.2-sol, ...). Each model can be checked against the maker's own endpoint: https://aigrow.gg/ai-api/genuine-modelsmemoryProvider: "aigrow": endpoint defaulthttps://aigrow.gg/v1, model defaultclaude-haiku-5.5,AIGROW_API_KEYfallback, explicitenv://key configuration, and a distinctaigrowsession tag.memory-provider-presets.ts, so key-only configs resolve model and endpoint and readiness works the same as the other presets. Factory, types, config template, example config and all README languages updated.tool_choice: "required"), tool response extraction, overrides, environment-key resolution, and rejection of remote-provider changes from project configuration.https://aigrow.gg). Per-model prices:GET https://aigrow.gg/v1/models.Test plan
AigrowProvider.executeToolCallagainst the live API with a config built bybuildMemoryProviderConfig({ memoryProvider: "aigrow", memoryApiKey })and a forcedsave_memoriestool. The default modelclaude-haiku-5.5returnedsuccess: truewith the tool arguments parsed ({"memories":["This repo uses pnpm as the package manager; never use npm.","Tests in this repo run with vitest."]});gpt-6.2-solandgemini-3.8-flashasmemoryModeldid the same.memoryTemperature: 0.3work on the default model, so noforceToolChoice: falseis needed for it.Checklist
mainbun testpasses: full suite afterbun run build, 1259 pass, 4 skip, 0 fail (163 files)bun run typecheckpassesbun run checkpasses:prettier --checkclean,eslint --max-warnings=0clean,tsc --noEmitcleanI work on AIGROW. AIGROW is sold by PeakCore LLC; the model makers did not review or endorse it.