mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-08-23 14:52:18 +10:00
chore: update dependencies
This commit is contained in:
+21
-21
@@ -18,23 +18,23 @@
|
||||
"test:agent": "vitest run --reporter=agent --reporter=json --outputFile.json=reports/vitest-results.json --passWithNoTests"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ai-sdk/anthropic": "^4.0.10",
|
||||
"@ai-sdk/cerebras": "^3.0.6",
|
||||
"@ai-sdk/cohere": "^4.0.6",
|
||||
"@ai-sdk/deepseek": "^3.0.6",
|
||||
"@ai-sdk/fireworks": "^3.0.7",
|
||||
"@ai-sdk/google": "^4.0.10",
|
||||
"@ai-sdk/groq": "^4.0.6",
|
||||
"@ai-sdk/mistral": "^4.0.7",
|
||||
"@ai-sdk/openai": "^4.0.9",
|
||||
"@ai-sdk/openai-compatible": "^3.0.6",
|
||||
"@ai-sdk/perplexity": "^4.0.7",
|
||||
"@ai-sdk/togetherai": "^3.0.7",
|
||||
"@ai-sdk/xai": "^4.0.9",
|
||||
"@aws-sdk/client-s3": "^3.1081.0",
|
||||
"@orpc/client": "^1.14.7",
|
||||
"@orpc/experimental-ratelimit": "^1.14.7",
|
||||
"@orpc/server": "^1.14.7",
|
||||
"@ai-sdk/anthropic": "^4.0.21",
|
||||
"@ai-sdk/cerebras": "^3.0.14",
|
||||
"@ai-sdk/cohere": "^4.0.12",
|
||||
"@ai-sdk/deepseek": "^3.0.13",
|
||||
"@ai-sdk/fireworks": "^3.0.15",
|
||||
"@ai-sdk/google": "^4.0.24",
|
||||
"@ai-sdk/groq": "^4.0.13",
|
||||
"@ai-sdk/mistral": "^4.0.14",
|
||||
"@ai-sdk/openai": "^4.0.20",
|
||||
"@ai-sdk/openai-compatible": "^3.0.14",
|
||||
"@ai-sdk/perplexity": "^4.0.13",
|
||||
"@ai-sdk/togetherai": "^3.0.15",
|
||||
"@ai-sdk/xai": "^4.0.18",
|
||||
"@aws-sdk/client-s3": "^3.1095.0",
|
||||
"@orpc/client": "^1.14.10",
|
||||
"@orpc/experimental-ratelimit": "^1.14.10",
|
||||
"@orpc/server": "^1.14.10",
|
||||
"@reactive-resume/ai": "workspace:*",
|
||||
"@reactive-resume/auth": "workspace:*",
|
||||
"@reactive-resume/db": "workspace:*",
|
||||
@@ -43,15 +43,15 @@
|
||||
"@reactive-resume/resume": "workspace:*",
|
||||
"@reactive-resume/schema": "workspace:*",
|
||||
"@reactive-resume/utils": "workspace:*",
|
||||
"ai": "^7.0.18",
|
||||
"ai": "^7.0.37",
|
||||
"bcrypt": "^6.0.0",
|
||||
"better-auth": "1.6.23",
|
||||
"better-auth": "1.6.25",
|
||||
"drizzle-orm": "1.0.0-rc.4",
|
||||
"drizzle-zod": "1.0.0-beta.14-a36c63d",
|
||||
"es-toolkit": "^1.49.0",
|
||||
"es-toolkit": "^1.50.0",
|
||||
"ioredis": "^5.11.1",
|
||||
"ollama-ai-provider-v2": "^4.0.1",
|
||||
"react": "^19.2.7",
|
||||
"react": "^19.2.8",
|
||||
"resumable-stream": "^2.2.12",
|
||||
"sharp": "^0.35.3",
|
||||
"ts-pattern": "^5.9.0",
|
||||
|
||||
@@ -52,14 +52,14 @@ describe("agent tools", () => {
|
||||
expect(tools).not.toHaveProperty("web_search");
|
||||
});
|
||||
|
||||
it.each([
|
||||
"https://api.openai.com/v1?proxy=1",
|
||||
"https://api.openai.com/v1#fragment",
|
||||
])("does not add provider-native web search for OpenAI providers with non-exact base URL %s", (baseURL) => {
|
||||
const tools = buildTools("openai", { baseURL });
|
||||
it.each(["https://api.openai.com/v1?proxy=1", "https://api.openai.com/v1#fragment"])(
|
||||
"does not add provider-native web search for OpenAI providers with non-exact base URL %s",
|
||||
(baseURL) => {
|
||||
const tools = buildTools("openai", { baseURL });
|
||||
|
||||
expect(tools).not.toHaveProperty("web_search");
|
||||
});
|
||||
expect(tools).not.toHaveProperty("web_search");
|
||||
},
|
||||
);
|
||||
|
||||
it("does not add provider-native web search for unsupported OpenAI models", () => {
|
||||
const tools = buildTools("openai", { model: "custom-model" });
|
||||
@@ -67,18 +67,14 @@ describe("agent tools", () => {
|
||||
expect(tools).not.toHaveProperty("web_search");
|
||||
});
|
||||
|
||||
it.each<AIProvider>([
|
||||
"anthropic",
|
||||
"gemini",
|
||||
"vercel-ai-gateway",
|
||||
"openrouter",
|
||||
"ollama",
|
||||
"openai-compatible",
|
||||
])("does not add provider-native web search for %s", (provider) => {
|
||||
const tools = buildTools(provider);
|
||||
it.each<AIProvider>(["anthropic", "gemini", "vercel-ai-gateway", "openrouter", "ollama", "openai-compatible"])(
|
||||
"does not add provider-native web search for %s",
|
||||
(provider) => {
|
||||
const tools = buildTools(provider);
|
||||
|
||||
expect(tools).not.toHaveProperty("web_search");
|
||||
});
|
||||
expect(tools).not.toHaveProperty("web_search");
|
||||
},
|
||||
);
|
||||
|
||||
it("keeps instructions explicit about native search availability", () => {
|
||||
expect(buildAgentInstructions({ hasProviderNativeSearch: true })).toContain("Use web_search");
|
||||
|
||||
Reference in New Issue
Block a user