Changesets · Branches · Tags · Compare
| Changeset | 7aa6d9f92b9987384959cabb851794ce8a16f5d1b874971340bf524fd7c49f18 |
|---|---|
| Author | uinstinct <61635505+uinstinct@users.noreply.github.com> · 2025-05-23 19:31 +05:30 |
| Committer | uinstinct <61635505+uinstinct@users.noreply.github.com> · 2025-05-23 19:31 +05:30 |
| Parents | 085d6569230d |
2 files changed
modified packages/config-yaml/src/__tests__/index.test.ts +5 −1
| @@ -143,7 +143,7 @@ | ||
| 143 | 143 | ); |
| 144 | 144 | |
| 145 | 145 | // Test that packages were correctly unrolled and params replaced |
| 146 | - expect(unrolledConfig.models?.length).toBe(3); | |
| 146 | + expect(unrolledConfig.models?.length).toBe(4); | |
| 147 | 147 | |
| 148 | 148 | const openAiModel = unrolledConfig.models?.[0]!; |
| 149 | 149 | expect(openAiModel.apiKey).toBe("sk-123"); |
| @@ -163,6 +163,10 @@ | ||
| 163 | 163 | anthropicSecretLocation, |
| 164 | 164 | ); |
| 165 | 165 | |
| 166 | + const proxyOllamaModel = unrolledConfig.models?.[3]!; | |
| 167 | + expect(proxyOllamaModel.provider).toBe('ollama') | |
| 168 | + expect(proxyOllamaModel.defaultCompletionOptions?.stream).toBe(false); | |
| 169 | + | |
| 166 | 170 | expect(unrolledConfig.rules?.length).toBe(2); |
| 167 | 171 | expect(unrolledConfig.docs?.[0]?.startUrl).toBe( |
| 168 | 172 | "https://docs.python.org/release/3.13.1", |
modified packages/config-yaml/src/__tests__/packages/test-org/assistant.yaml +6 −0
| @@ -27,3 +27,9 @@ | ||
| 27 | 27 | - uses: test-org/claude35sonnet |
| 28 | 28 | with: |
| 29 | 29 | ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} |
| 30 | + | |
| 31 | + - name: proxy-ollama | |
| 32 | + provider: ollama | |
| 33 | + model: llama3.1 | |
| 34 | + defaultCompletionOptions: | |
| 35 | + stream: false |