text stringlengths 19 585k | label stringclasses 2
values | category stringclasses 2
values | language stringclasses 14
values | repo stringclasses 932
values | sha stringlengths 40 40 |
|---|---|---|---|---|---|
@@ -0,0 +1,186 @@
+import { ResearcherOutput, SearchAgentInput } from './types';
+import SessionManager from '@/lib/session';
+import { classify } from './classifier';
+import Researcher from './researcher';
+import { getWriterPrompt } from '@/lib/prompts/search/writer';
+import { WidgetExecutor } from './widgets';
+im... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/lib/agents/search/index.ts b/src/lib/agents/search/index.ts
new file mode 100644
index 000000000..859183293
--- /dev/null
+++ b/src/lib/agents/search/index.ts
@@ -0,0 +1,186 @@
+import { ResearcherOutput, SearchAgentInput } from './types';
+import SessionManager from '@/lib/session';
+import { classify... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -45,15 +50,39 @@ const MessageBox = ({
dividerRef?: MutableRefObject<HTMLDivElement | null>;
isLast: boolean;
}) => {
- const { loading, chatTurns, sendMessage, rewrite } = useChat();
+ const { loading, sendMessage, rewrite, messages, researchEnded } = useChat();
- const parsedMessage = section.parsedAss... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/components/MessageBox.tsx b/src/components/MessageBox.tsx
index 062bb906b..19e354616 100644
--- a/src/components/MessageBox.tsx
+++ b/src/components/MessageBox.tsx
@@ -10,8 +10,9 @@ import {
StopCircle,
Layers3,
Plus,
+ CornerDownRight,
} from 'lucide-react';
-import Markdown, { MarkdownToJS... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -265,48 +135,107 @@ export const POST = async (req: Request) => {
),
]);
- const humanMessageId =
- message.messageId ?? crypto.randomBytes(7).toString('hex');
-
- const history: BaseMessage[] = body.history.map((msg) => {
+ const history: ChatTurnMessage[] = body.history.map((msg) => {
... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/app/api/chat/route.ts b/src/app/api/chat/route.ts
index 25b8104c9..6362ebc7b 100644
--- a/src/app/api/chat/route.ts
+++ b/src/app/api/chat/route.ts
@@ -1,14 +1,14 @@
-import crypto from 'crypto';
-import { AIMessage, BaseMessage, HumanMessage } from '@langchain/core/messages';
-import { EventEmitter } ... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -0,0 +1,517 @@
+'use client';
+
+import { Clock, ArrowUpRight, ArrowDownRight, Minus } from 'lucide-react';
+import { useEffect, useRef, useState } from 'react';
+import {
+ createChart,
+ ColorType,
+ LineStyle,
+ BaselineSeries,
+ LineSeries,
+} from 'lightweight-charts';
+
+type StockWidgetProps = {
+ symbo... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/components/Widgets/Stock.tsx b/src/components/Widgets/Stock.tsx
new file mode 100644
index 000000000..57fba1af7
--- /dev/null
+++ b/src/components/Widgets/Stock.tsx
@@ -0,0 +1,517 @@
+'use client';
+
+import { Clock, ArrowUpRight, ArrowDownRight, Minus } from 'lucide-react';
+import { useEffect, useRef... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -0,0 +1,93 @@
+import SessionManager from '@/lib/session';
+
+export const POST = async (
+ req: Request,
+ { params }: { params: Promise<{ id: string }> },
+) => {
+ try {
+ const { id } = await params;
+
+ const session = SessionManager.getSession(id);
+
+ if (!session) {
+ return Response.json({ ... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/app/api/reconnect/[id]/route.ts b/src/app/api/reconnect/[id]/route.ts
new file mode 100644
index 000000000..08be11b16
--- /dev/null
+++ b/src/app/api/reconnect/[id]/route.ts
@@ -0,0 +1,93 @@
+import SessionManager from '@/lib/session';
+
+export const POST = async (
+ req: Request,
+ { params }: { pa... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -0,0 +1,422 @@
+'use client';
+
+import { getMeasurementUnit } from '@/lib/config/clientRegistry';
+import { Wind, Droplets, Gauge } from 'lucide-react';
+import { useMemo, useEffect, useState } from 'react';
+
+type WeatherWidgetProps = {
+ location: string;
+ current: {
+ time: string;
+ temperature_2m: nu... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/components/Widgets/Weather.tsx b/src/components/Widgets/Weather.tsx
new file mode 100644
index 000000000..159c15ef0
--- /dev/null
+++ b/src/components/Widgets/Weather.tsx
@@ -0,0 +1,422 @@
+'use client';
+
+import { getMeasurementUnit } from '@/lib/config/clientRegistry';
+import { Wind, Droplets, Gaug... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -107,8 +114,167 @@ fs.readdirSync(migrationsFolder)
db.exec('DROP TABLE messages;');
db.exec('ALTER TABLE messages_with_sources RENAME TO messages;');
+ } else if (migrationName === '0002') {
+ /* Migrate chat */
+ db.exec(`
+ CREATE TABLE IF NOT EXISTS chats_new (
+ ... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/lib/db/migrate.ts b/src/lib/db/migrate.ts
index e4c698714..e0efb7c9e 100644
--- a/src/lib/db/migrate.ts
+++ b/src/lib/db/migrate.ts
@@ -18,12 +18,18 @@ db.exec(`
`);
function sanitizeSql(content: string) {
- return content
- .split(/\r?\n/)
- .filter(
- (l) => !l.trim().startsWith('-->'... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -0,0 +1,266 @@
+'use client';
+
+import {
+ Brain,
+ Search,
+ FileText,
+ ChevronDown,
+ ChevronUp,
+ BookSearch,
+} from 'lucide-react';
+import { motion, AnimatePresence } from 'framer-motion';
+import { useEffect, useState } from 'react';
+import { ResearchBlock, ResearchBlockSubStep } from '@/lib/types';
... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/components/AssistantSteps.tsx b/src/components/AssistantSteps.tsx
new file mode 100644
index 000000000..c715a9248
--- /dev/null
+++ b/src/components/AssistantSteps.tsx
@@ -0,0 +1,266 @@
+'use client';
+
+import {
+ Brain,
+ Search,
+ FileText,
+ ChevronDown,
+ ChevronUp,
+ BookSearch,
+} from 'lu... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -0,0 +1,122 @@
+import z from 'zod';
+import BaseLLM from '../../models/base/llm';
+import BaseEmbedding from '@/lib/models/base/embedding';
+import SessionManager from '@/lib/session';
+import { ChatTurnMessage, Chunk } from '@/lib/types';
+
+export type SearchSources = 'web' | 'discussions' | 'academic';
+
+export... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/lib/agents/search/types.ts b/src/lib/agents/search/types.ts
new file mode 100644
index 000000000..64c967eab
--- /dev/null
+++ b/src/lib/agents/search/types.ts
@@ -0,0 +1,122 @@
+import z from 'zod';
+import BaseLLM from '../../models/base/llm';
+import BaseEmbedding from '@/lib/models/base/embedding';
... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -0,0 +1,105 @@
+import { Tool, ToolCall } from '@/lib/models/types';
+import {
+ ActionOutput,
+ AdditionalConfig,
+ ClassifierOutput,
+ ResearchAction,
+ SearchAgentConfig,
+ SearchSources,
+} from '../../types';
+
+class ActionRegistry {
+ private static actions: Map<string, ResearchAction> = new Map();
+
+... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/lib/agents/search/researcher/actions/registry.ts b/src/lib/agents/search/researcher/actions/registry.ts
new file mode 100644
index 000000000..a8de51329
--- /dev/null
+++ b/src/lib/agents/search/researcher/actions/registry.ts
@@ -0,0 +1,105 @@
+import { Tool, ToolCall } from '@/lib/models/types';
+impor... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -15,14 +16,30 @@ const Copy = ({
return (
<button
onClick={() => {
- const contentToCopy = `${initialMessage}${section?.sourceMessage?.sources && section.sourceMessage.sources.length > 0 && `\n\nCitations:\n${section.sourceMessage.sources?.map((source: any, i: any) => `[${i + 1}] ${source.metad... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/components/MessageActions/Copy.tsx b/src/components/MessageActions/Copy.tsx
index eb48e3041..7a3d5189e 100644
--- a/src/components/MessageActions/Copy.tsx
+++ b/src/components/MessageActions/Copy.tsx
@@ -2,6 +2,7 @@ import { Check, ClipboardList } from 'lucide-react';
import { Message } from '../ChatW... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -0,0 +1,139 @@
+import z from 'zod';
+import { ResearchAction } from '../../types';
+import { Chunk, ReadingResearchBlock } from '@/lib/types';
+import TurnDown from 'turndown';
+import path from 'path';
+
+const turndownService = new TurnDown();
+
+const schema = z.object({
+ urls: z.array(z.string()).describe('A ... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/lib/agents/search/researcher/actions/scrapeURL.ts b/src/lib/agents/search/researcher/actions/scrapeURL.ts
new file mode 100644
index 000000000..c702a7014
--- /dev/null
+++ b/src/lib/agents/search/researcher/actions/scrapeURL.ts
@@ -0,0 +1,139 @@
+import z from 'zod';
+import { ResearchAction } from '..... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -37,7 +37,7 @@ const MessageSources = ({ sources }: { sources: Document[] }) => {
</p>
<div className="flex flex-row items-center justify-between">
<div className="flex flex-row items-center space-x-1">
- {source.metadata.url === 'File' ? (
+ {source.metad... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/components/MessageSources.tsx b/src/components/MessageSources.tsx
index fb2b5bb66..a1db27a29 100644
--- a/src/components/MessageSources.tsx
+++ b/src/components/MessageSources.tsx
@@ -6,11 +6,11 @@ import {
Transition,
TransitionChild,
} from '@headlessui/react';
-import { Document } from '@lang... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -0,0 +1,67 @@
+import z from 'zod';
+import { Widget } from '../types';
+import formatChatHistoryAsString from '@/lib/utils/formatHistory';
+import { exp, evaluate as mathEval } from 'mathjs';
+
+const schema = z.object({
+ expression: z
+ .string()
+ .describe('Mathematical expression to calculate or evaluat... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/lib/agents/search/widgets/calculationWidget.ts b/src/lib/agents/search/widgets/calculationWidget.ts
new file mode 100644
index 000000000..3e280152e
--- /dev/null
+++ b/src/lib/agents/search/widgets/calculationWidget.ts
@@ -0,0 +1,71 @@
+import z from 'zod';
+import { Widget } from '../types';
+import f... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -0,0 +1,517 @@
+'use client';
+
+import { Clock, ArrowUpRight, ArrowDownRight, Minus } from 'lucide-react';
+import { useEffect, useRef, useState } from 'react';
+import {
+ createChart,
+ ColorType,
+ LineStyle,
+ BaselineSeries,
+ LineSeries,
+} from 'lightweight-charts';
+
+type StockWidgetProps = {
+ symbo... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/components/Widgets/Stock.tsx b/src/components/Widgets/Stock.tsx
new file mode 100644
index 000000000..57fba1af7
--- /dev/null
+++ b/src/components/Widgets/Stock.tsx
@@ -0,0 +1,517 @@
+'use client';
+
+import { Clock, ArrowUpRight, ArrowDownRight, Minus } from 'lucide-react';
+import { useEffect, useRef... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -0,0 +1,129 @@
+import z from 'zod';
+import { ResearchAction } from '../../types';
+import { Chunk, SearchResultsResearchBlock } from '@/lib/types';
+import { searchSearxng } from '@/lib/searxng';
+
+const schema = z.object({
+ queries: z.array(z.string()).describe('List of academic search queries'),
+});
+
+const... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/lib/agents/search/researcher/actions/academicSearch.ts b/src/lib/agents/search/researcher/actions/academicSearch.ts
new file mode 100644
index 000000000..72e1f4b14
--- /dev/null
+++ b/src/lib/agents/search/researcher/actions/academicSearch.ts
@@ -0,0 +1,129 @@
+import z from 'zod';
+import { ResearchAc... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -1,12 +1,46 @@
+'use client';
+
+import { useEffect, useState } from 'react';
import { Settings } from 'lucide-react';
import EmptyChatMessageInput from './EmptyChatMessageInput';
import { File } from './ChatWindow';
import Link from 'next/link';
import WeatherWidget from './WeatherWidget';
import NewsArticleW... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/components/EmptyChat.tsx b/src/components/EmptyChat.tsx
index d9b66860b..775fc9d16 100644
--- a/src/components/EmptyChat.tsx
+++ b/src/components/EmptyChat.tsx
@@ -1,3 +1,6 @@
+'use client';
+
+import { useEffect, useState } from 'react';
import { Settings } from 'lucide-react';
import EmptyChatMessa... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -0,0 +1,93 @@
+import { useChat } from '@/lib/hooks/useChat';
+import {
+ Popover,
+ PopoverButton,
+ PopoverPanel,
+ Switch,
+} from '@headlessui/react';
+import {
+ GlobeIcon,
+ GraduationCapIcon,
+ NetworkIcon,
+} from '@phosphor-icons/react';
+import { AnimatePresence, motion } from 'motion/react';
+
+con... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/components/MessageInputActions/Sources.tsx b/src/components/MessageInputActions/Sources.tsx
new file mode 100644
index 000000000..2652d58e7
--- /dev/null
+++ b/src/components/MessageInputActions/Sources.tsx
@@ -0,0 +1,93 @@
+import { useChat } from '@/lib/hooks/useChat';
+import {
+ Popover,
+ Popove... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -198,26 +203,26 @@ const Navbar = () => {
const { sections, chatId } = useChat();
useEffect(() => {
- if (sections.length > 0 && sections[0].userMessage) {
+ if (sections.length > 0 && sections[0].message) {
const newTitle =
- sections[0].userMessage.content.length > 20
- ? `${se... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx
index bbcd470a4..6d3e77c25 100644
--- a/src/components/Navbar.tsx
+++ b/src/components/Navbar.tsx
@@ -11,6 +11,7 @@ import {
} from '@headlessui/react';
import jsPDF from 'jspdf';
import { useChat, Section } from '@/lib/hooks/useChat';
+import { Sour... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -0,0 +1,266 @@
+'use client';
+
+import {
+ Brain,
+ Search,
+ FileText,
+ ChevronDown,
+ ChevronUp,
+ BookSearch,
+} from 'lucide-react';
+import { motion, AnimatePresence } from 'framer-motion';
+import { useEffect, useState } from 'react';
+import { ResearchBlock, ResearchBlockSubStep } from '@/lib/types';
... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/components/AssistantSteps.tsx b/src/components/AssistantSteps.tsx
new file mode 100644
index 000000000..c715a9248
--- /dev/null
+++ b/src/components/AssistantSteps.tsx
@@ -0,0 +1,266 @@
+'use client';
+
+import {
+ Brain,
+ Search,
+ FileText,
+ ChevronDown,
+ ChevronUp,
+ BookSearch,
+} from 'lu... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -0,0 +1,66 @@
+import formatChatHistoryAsString from '@/lib/utils/formatHistory';
+import { searchSearxng } from '@/lib/searxng';
+import {
+ videoSearchFewShots,
+ videoSearchPrompt,
+} from '@/lib/prompts/media/videos';
+import { ChatTurnMessage } from '@/lib/types';
+import BaseLLM from '@/lib/models/base/llm';... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/lib/agents/media/video.ts b/src/lib/agents/media/video.ts
new file mode 100644
index 000000000..c8f19b69a
--- /dev/null
+++ b/src/lib/agents/media/video.ts
@@ -0,0 +1,66 @@
+import formatChatHistoryAsString from '@/lib/utils/formatHistory';
+import { searchSearxng } from '@/lib/searxng';
+import {
+ v... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -0,0 +1,203 @@
+import z from 'zod';
+import { Widget } from '../types';
+import formatChatHistoryAsString from '@/lib/utils/formatHistory';
+
+const schema = z.object({
+ location: z
+ .string()
+ .describe(
+ 'Human-readable location name (e.g., "New York, NY, USA", "London, UK"). Use this OR lat/lon c... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/lib/agents/search/widgets/weatherWidget.ts b/src/lib/agents/search/widgets/weatherWidget.ts
new file mode 100644
index 000000000..47393242c
--- /dev/null
+++ b/src/lib/agents/search/widgets/weatherWidget.ts
@@ -0,0 +1,203 @@
+import z from 'zod';
+import { Widget } from '../types';
+import formatChatHi... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -0,0 +1,64 @@
+'use client';
+
+import { CheckIcon, CopyIcon } from '@phosphor-icons/react';
+import React, { useEffect, useMemo, useState } from 'react';
+import { useTheme } from 'next-themes';
+import SyntaxHighlighter from 'react-syntax-highlighter';
+import darkTheme from './CodeBlockDarkTheme';
+import lightTh... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/components/MessageRenderer/CodeBlock/index.tsx b/src/components/MessageRenderer/CodeBlock/index.tsx
new file mode 100644
index 000000000..493a0d025
--- /dev/null
+++ b/src/components/MessageRenderer/CodeBlock/index.tsx
@@ -0,0 +1,64 @@
+'use client';
+
+import { CheckIcon, CopyIcon } from '@phosphor-ic... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -0,0 +1,40 @@
+import z from 'zod';
+import { ResearchAction } from '../../types';
+
+const schema = z.object({
+ plan: z
+ .string()
+ .describe(
+ 'A concise natural-language plan in one short paragraph. Open with a short intent phrase (e.g., "Okay, the user wants to...", "Searching for...", "Looking i... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/lib/agents/search/researcher/actions/plan.ts b/src/lib/agents/search/researcher/actions/plan.ts
new file mode 100644
index 000000000..32ea623ec
--- /dev/null
+++ b/src/lib/agents/search/researcher/actions/plan.ts
@@ -0,0 +1,40 @@
+import z from 'zod';
+import { ResearchAction } from '../../types';
+
+c... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -11,53 +11,55 @@
"format:write": "prettier . --write"
},
"dependencies": {
+ "@google/genai": "^1.34.0",
"@headlessui/react": "^2.2.0",
"@headlessui/tailwindcss": "^0.2.2",
- "@huggingface/transformers": "^3.7.5",
- "@iarna/toml": "^2.2.5",
+ "@huggingface/transformers": "^3.8.1",
... | bad | review | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 | |
diff --git a/package.json b/package.json
index 7083b66a0..104026144 100644
--- a/package.json
+++ b/package.json
@@ -11,53 +11,55 @@
"format:write": "prettier . --write"
},
"dependencies": {
+ "@google/genai": "^1.34.0",
"@headlessui/react": "^2.2.0",
"@headlessui/tailwindcss": "^0.2.2",
- "@... | good | review_fixed | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 | |
@@ -0,0 +1,36 @@
+import { Widget, WidgetInput, WidgetOutput } from '../types';
+
+class WidgetExecutor {
+ static widgets = new Map<string, Widget>();
+
+ static register(widget: Widget) {
+ this.widgets.set(widget.type, widget);
+ }
+
+ static getWidget(type: string): Widget | undefined {
+ return this.widg... | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/lib/agents/search/widgets/executor.ts b/src/lib/agents/search/widgets/executor.ts
new file mode 100644
index 000000000..89f183014
--- /dev/null
+++ b/src/lib/agents/search/widgets/executor.ts
@@ -0,0 +1,36 @@
+import { Widget, WidgetInput, WidgetOutput } from '../types';
+
+class WidgetExecutor {
+ st... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -16,6 +16,8 @@ import {
} from 'lucide-react';
import { Fragment, useRef, useState } from 'react';
import { useChat } from '@/lib/hooks/useChat';
+import { AnimatePresence } from 'motion/react';
+import { motion } from 'framer-motion'; | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/components/MessageInputActions/Attach.tsx b/src/components/MessageInputActions/Attach.tsx
index fbc2e7ea3..84d7152a1 100644
--- a/src/components/MessageInputActions/Attach.tsx
+++ b/src/components/MessageInputActions/Attach.tsx
@@ -16,6 +16,8 @@ import {
} from 'lucide-react';
import { Fragment, useR... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -0,0 +1,76 @@
+import React from 'react';
+import { Widget } from '../ChatWindow';
+import Weather from './Weather';
+import Calculation from './Calculation';
+import Stock from './Stock';
+
+const Renderer = ({ widgets }: { widgets: Widget[] }) => {
+ return widgets.map((widget, index) => { | bad | review | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
diff --git a/src/components/Widgets/Renderer.tsx b/src/components/Widgets/Renderer.tsx
new file mode 100644
index 000000000..8456c8ff3
--- /dev/null
+++ b/src/components/Widgets/Renderer.tsx
@@ -0,0 +1,76 @@
+import React from 'react';
+import { Widget } from '../ChatWindow';
+import Weather from './Weather';
+import C... | good | review_fixed | typescript | ItzCrazyKns/Vane | 7f3f88196412ddd3a2d28e0aff13063bcadf0431 |
@@ -1,12 +1,42 @@
+"use client";
+
+import { useEffect, useState } from 'react';
import { Settings } from 'lucide-react';
import EmptyChatMessageInput from './EmptyChatMessageInput';
import { File } from './ChatWindow';
import Link from 'next/link';
import WeatherWidget from './WeatherWidget';
import NewsArticleW... | bad | review | typescript | ItzCrazyKns/Vane | 6150784c27b32a208c6a67f84f34f5fa2b08a8eb |
diff --git a/src/components/EmptyChat.tsx b/src/components/EmptyChat.tsx
index d9b66860b..775fc9d16 100644
--- a/src/components/EmptyChat.tsx
+++ b/src/components/EmptyChat.tsx
@@ -1,3 +1,6 @@
+'use client';
+
+import { useEffect, useState } from 'react';
import { Settings } from 'lucide-react';
import EmptyChatMessa... | good | review_fixed | typescript | ItzCrazyKns/Vane | 6150784c27b32a208c6a67f84f34f5fa2b08a8eb |
@@ -1,12 +1,42 @@
+"use client";
+
+import { useEffect, useState } from 'react';
import { Settings } from 'lucide-react';
import EmptyChatMessageInput from './EmptyChatMessageInput';
import { File } from './ChatWindow';
import Link from 'next/link';
import WeatherWidget from './WeatherWidget';
import NewsArticleW... | bad | review | typescript | ItzCrazyKns/Vane | 6150784c27b32a208c6a67f84f34f5fa2b08a8eb |
diff --git a/src/components/EmptyChat.tsx b/src/components/EmptyChat.tsx
index d9b66860b..775fc9d16 100644
--- a/src/components/EmptyChat.tsx
+++ b/src/components/EmptyChat.tsx
@@ -1,3 +1,6 @@
+'use client';
+
+import { useEffect, useState } from 'react';
import { Settings } from 'lucide-react';
import EmptyChatMessa... | good | review_fixed | typescript | ItzCrazyKns/Vane | 6150784c27b32a208c6a67f84f34f5fa2b08a8eb |
@@ -42,13 +42,22 @@ Download
--------
```groovy
+android {
+ ...
+ // Butterknife requires Java 8.
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
+ }
+}
+
dependencies {
implementation 'com.jakewharton:butterknife:10.1.0'
annotationPro... | bad | review | JakeWharton/butterknife | 28782979870304a38aee6774ec25a090ea4a63e4 | |
diff --git a/README.md b/README.md
index 519926cce..4b1a719eb 100644
--- a/README.md
+++ b/README.md
@@ -42,6 +42,15 @@ Download
--------
```groovy
+android {
+ ...
+ // Butterknife requires Java 8.
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1... | good | review_fixed | JakeWharton/butterknife | 28782979870304a38aee6774ec25a090ea4a63e4 | |
@@ -40,6 +40,8 @@
Disable that warning since local builds do not strong-name sign the assembly, causing a mistmatch when comparing
the previously shipped assemblies and current.-->
<NoWarn Condition="'$(SignAssembly)' != 'true'">$(NoWarn);CP0003</NoWarn>
+ <IsTrimmable Condition="$([MSBuild]::IsTarget... | bad | review | JamesNK/Newtonsoft.Json | 3087b730bab1ca20ac10367f2b04463f97d7a5ad | |
diff --git a/Src/Newtonsoft.Json/Newtonsoft.Json.csproj b/Src/Newtonsoft.Json/Newtonsoft.Json.csproj
index 47c63018ef..fe60679741 100644
--- a/Src/Newtonsoft.Json/Newtonsoft.Json.csproj
+++ b/Src/Newtonsoft.Json/Newtonsoft.Json.csproj
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFr... | good | review_fixed | JamesNK/Newtonsoft.Json | 3087b730bab1ca20ac10367f2b04463f97d7a5ad | |
@@ -51,6 +53,10 @@
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="$(MicrosoftCodeAnalysisNetAnalyzersPackageVersion)" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="$(MicrosoftSourceLinkGitHubPackageVersion)" PrivateAssets="All" />
</ItemGr... | bad | review | JamesNK/Newtonsoft.Json | 3087b730bab1ca20ac10367f2b04463f97d7a5ad | |
diff --git a/Src/Newtonsoft.Json/Newtonsoft.Json.csproj b/Src/Newtonsoft.Json/Newtonsoft.Json.csproj
index 47c63018ef..fe60679741 100644
--- a/Src/Newtonsoft.Json/Newtonsoft.Json.csproj
+++ b/Src/Newtonsoft.Json/Newtonsoft.Json.csproj
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFr... | good | review_fixed | JamesNK/Newtonsoft.Json | 3087b730bab1ca20ac10367f2b04463f97d7a5ad | |
@@ -580,6 +585,8 @@ public JsonSerializer()
/// The <see cref="JsonSerializer"/> will not use default settings
/// from <see cref="JsonConvert.DefaultSettings"/>.
/// </returns>
+ [RequiresUnreferencedCode(MiscellaneousUtils.TrimWarning)]
+ [RequiresDynamicCode(MiscellaneousUti... | bad | review | csharp | JamesNK/Newtonsoft.Json | 3087b730bab1ca20ac10367f2b04463f97d7a5ad |
diff --git a/Src/Newtonsoft.Json/JsonSerializer.cs b/Src/Newtonsoft.Json/JsonSerializer.cs
index 13e3a9c68d..b72625df33 100644
--- a/Src/Newtonsoft.Json/JsonSerializer.cs
+++ b/Src/Newtonsoft.Json/JsonSerializer.cs
@@ -44,6 +44,8 @@ namespace Newtonsoft.Json
/// Serializes and deserializes objects into and from th... | good | review_fixed | csharp | JamesNK/Newtonsoft.Json | 3087b730bab1ca20ac10367f2b04463f97d7a5ad |
@@ -526,7 +526,7 @@ public static string ToString(object value)
[DebuggerStepThrough]
public static string SerializeObject(object value) | bad | review | csharp | JamesNK/Newtonsoft.Json | 022de520066d0c40231d85da5261422e43ad1524 |
diff --git a/Src/Newtonsoft.Json/JsonConvert.cs b/Src/Newtonsoft.Json/JsonConvert.cs
index b0e480d62..b09dc1ac5 100644
--- a/Src/Newtonsoft.Json/JsonConvert.cs
+++ b/Src/Newtonsoft.Json/JsonConvert.cs
@@ -36,9 +36,10 @@
using Newtonsoft.Json.Serialization;
using System.Text;
using System.Diagnostics;
+using System.R... | good | review_fixed | csharp | JamesNK/Newtonsoft.Json | 022de520066d0c40231d85da5261422e43ad1524 |
@@ -189,7 +191,7 @@ protected override void SetItem(int index, JToken item)
}
}
- public bool TryGetValue(string key, out JToken value)
+ public bool TryGetValue(string key, [NotNullWhen(true)]out JToken? value) | bad | review | csharp | JamesNK/Newtonsoft.Json | 022de520066d0c40231d85da5261422e43ad1524 |
diff --git a/Src/Newtonsoft.Json/Linq/JPropertyKeyedCollection.cs b/Src/Newtonsoft.Json/Linq/JPropertyKeyedCollection.cs
index 435e45738..1c4c186bc 100644
--- a/Src/Newtonsoft.Json/Linq/JPropertyKeyedCollection.cs
+++ b/Src/Newtonsoft.Json/Linq/JPropertyKeyedCollection.cs
@@ -26,6 +26,8 @@
using System;
using System.... | good | review_fixed | csharp | JamesNK/Newtonsoft.Json | 022de520066d0c40231d85da5261422e43ad1524 |
@@ -0,0 +1,21 @@
+<Project Sdk="Microsoft.NET.Sdk">
+ <PropertyGroup>
+ <TargetFrameworks>net6.0</TargetFrameworks>
+ <LangVersion>9.0</LangVersion>
+ <VersionPrefix>1.0</VersionPrefix>
+ <Authors>James Newton-King</Authors>
+ <Company>Newtonsoft</Company>
+ <Product>Json.NET</Product>
+ <Neutral... | bad | review | JamesNK/Newtonsoft.Json | 22a65ae05eecc90daa0e192c54a3eebc0498de77 | |
diff --git a/Src/Newtonsoft.Json.FuzzTests/Newtonsoft.Json.FuzzTests.csproj b/Src/Newtonsoft.Json.FuzzTests/Newtonsoft.Json.FuzzTests.csproj
new file mode 100644
index 000000000..552450dbe
--- /dev/null
+++ b/Src/Newtonsoft.Json.FuzzTests/Newtonsoft.Json.FuzzTests.csproj
@@ -0,0 +1,21 @@
+<Project Sdk="Microsoft.NET.S... | good | review_fixed | JamesNK/Newtonsoft.Json | 22a65ae05eecc90daa0e192c54a3eebc0498de77 | |
@@ -133,6 +133,10 @@ task Package -depends Build {
robocopy $sourceDir $workingDir\Package\Source\Src /MIR /NFL /NDL /NJS /NC /NS /NP /XD bin obj TestResults AppPackages .vs artifacts /XF *.suo *.user *.lock.json | Out-Default
robocopy $buildDir $workingDir\Package\Source\Build /MIR /NFL /NDL /NJS /NC /NS /NP /XD... | bad | review | JamesNK/Newtonsoft.Json | 22a65ae05eecc90daa0e192c54a3eebc0498de77 | |
diff --git a/Build/build.ps1 b/Build/build.ps1
index 5ae7929c9..cbe086793 100644
--- a/Build/build.ps1
+++ b/Build/build.ps1
@@ -133,6 +133,10 @@ task Package -depends Build {
robocopy $sourceDir $workingDir\Package\Source\Src /MIR /NFL /NDL /NJS /NC /NS /NP /XD bin obj TestResults AppPackages .vs artifacts /XF *.su... | good | review_fixed | JamesNK/Newtonsoft.Json | 22a65ae05eecc90daa0e192c54a3eebc0498de77 | |
@@ -0,0 +1,127 @@
+#region License
+// Copyright (c) 2007 James Newton-King | bad | review | csharp | JamesNK/Newtonsoft.Json | 22a65ae05eecc90daa0e192c54a3eebc0498de77 |
diff --git a/Src/Newtonsoft.Json.Tests/FuzzRegressionTests.cs b/Src/Newtonsoft.Json.Tests/FuzzRegressionTests.cs
new file mode 100644
index 000000000..e641d117d
--- /dev/null
+++ b/Src/Newtonsoft.Json.Tests/FuzzRegressionTests.cs
@@ -0,0 +1,127 @@
+#region License
+// Copyright (c) 2007 James Newton-King
+//
+// Permis... | good | review_fixed | csharp | JamesNK/Newtonsoft.Json | 22a65ae05eecc90daa0e192c54a3eebc0498de77 |
@@ -0,0 +1,86 @@
+using System;
+using System.IO;
+
+namespace Newtonsoft.Json.FuzzTests { | bad | review | csharp | JamesNK/Newtonsoft.Json | 22a65ae05eecc90daa0e192c54a3eebc0498de77 |
diff --git a/Src/Newtonsoft.Json.FuzzTests/FuzzTests.cs b/Src/Newtonsoft.Json.FuzzTests/FuzzTests.cs
new file mode 100644
index 000000000..51c1916df
--- /dev/null
+++ b/Src/Newtonsoft.Json.FuzzTests/FuzzTests.cs
@@ -0,0 +1,85 @@
+using System;
+using System.IO;
+
+namespace Newtonsoft.Json.FuzzTests
+{
+ public stat... | good | review_fixed | csharp | JamesNK/Newtonsoft.Json | 22a65ae05eecc90daa0e192c54a3eebc0498de77 |
@@ -0,0 +1,127 @@
+#region License
+// Copyright (c) 2007 James Newton-King
+//
+// Permission is hereby granted, free of charge, to any person
+// obtaining a copy of this software and associated documentation
+// files (the "Software"), to deal in the Software without
+// restriction, including without limitation the... | bad | review | csharp | JamesNK/Newtonsoft.Json | 22a65ae05eecc90daa0e192c54a3eebc0498de77 |
diff --git a/Src/Newtonsoft.Json.Tests/FuzzRegressionTests.cs b/Src/Newtonsoft.Json.Tests/FuzzRegressionTests.cs
new file mode 100644
index 000000000..e641d117d
--- /dev/null
+++ b/Src/Newtonsoft.Json.Tests/FuzzRegressionTests.cs
@@ -0,0 +1,127 @@
+#region License
+// Copyright (c) 2007 James Newton-King
+//
+// Permis... | good | review_fixed | csharp | JamesNK/Newtonsoft.Json | 22a65ae05eecc90daa0e192c54a3eebc0498de77 |
@@ -784,10 +784,20 @@ public override void WriteValue(Uri? value)
public override void WriteComment(string? text)
{
InternalWriteComment();
-
- _writer.Write("/*");
- _writer.Write(text);
- _writer.Write("*/");
+
+ // if text contain... | bad | review | csharp | JamesNK/Newtonsoft.Json | 22a65ae05eecc90daa0e192c54a3eebc0498de77 |
diff --git a/Src/Newtonsoft.Json/JsonTextWriter.cs b/Src/Newtonsoft.Json/JsonTextWriter.cs
index 888bb04d1..08f08eeb6 100644
--- a/Src/Newtonsoft.Json/JsonTextWriter.cs
+++ b/Src/Newtonsoft.Json/JsonTextWriter.cs
@@ -784,10 +784,25 @@ public override void WriteValue(Uri? value)
public override void WriteCommen... | good | review_fixed | csharp | JamesNK/Newtonsoft.Json | 22a65ae05eecc90daa0e192c54a3eebc0498de77 |
@@ -0,0 +1,83 @@
+#region License
+// Copyright (c) 2022 James Newton-King
+//
+// Permission is hereby granted, free of charge, to any person
+// obtaining a copy of this software and associated documentation
+// files (the "Software"), to deal in the Software without
+// restriction, including without limitation the... | bad | review | csharp | JamesNK/Newtonsoft.Json | 71ff2edd555b419fabfd082ca82217ee91d538b8 |
diff --git a/Src/Newtonsoft.Json/Utilities/BoxedPrimitives.cs b/Src/Newtonsoft.Json/Utilities/BoxedPrimitives.cs
new file mode 100644
index 000000000..e6fb4f2de
--- /dev/null
+++ b/Src/Newtonsoft.Json/Utilities/BoxedPrimitives.cs
@@ -0,0 +1,116 @@
+#region License
+// Copyright (c) 2022 James Newton-King
+//
+// Permi... | good | review_fixed | csharp | JamesNK/Newtonsoft.Json | 71ff2edd555b419fabfd082ca82217ee91d538b8 |
@@ -0,0 +1,83 @@
+#region License
+// Copyright (c) 2022 James Newton-King
+//
+// Permission is hereby granted, free of charge, to any person
+// obtaining a copy of this software and associated documentation
+// files (the "Software"), to deal in the Software without
+// restriction, including without limitation the... | bad | review | csharp | JamesNK/Newtonsoft.Json | 71ff2edd555b419fabfd082ca82217ee91d538b8 |
diff --git a/Src/Newtonsoft.Json/Utilities/BoxedPrimitives.cs b/Src/Newtonsoft.Json/Utilities/BoxedPrimitives.cs
new file mode 100644
index 000000000..e6fb4f2de
--- /dev/null
+++ b/Src/Newtonsoft.Json/Utilities/BoxedPrimitives.cs
@@ -0,0 +1,116 @@
+#region License
+// Copyright (c) 2022 James Newton-King
+//
+// Permi... | good | review_fixed | csharp | JamesNK/Newtonsoft.Json | 71ff2edd555b419fabfd082ca82217ee91d538b8 |
@@ -0,0 +1,83 @@
+#region License
+// Copyright (c) 2022 James Newton-King
+//
+// Permission is hereby granted, free of charge, to any person
+// obtaining a copy of this software and associated documentation
+// files (the "Software"), to deal in the Software without
+// restriction, including without limitation the... | bad | review | csharp | JamesNK/Newtonsoft.Json | 71ff2edd555b419fabfd082ca82217ee91d538b8 |
diff --git a/Src/Newtonsoft.Json/Utilities/BoxedPrimitives.cs b/Src/Newtonsoft.Json/Utilities/BoxedPrimitives.cs
new file mode 100644
index 000000000..e6fb4f2de
--- /dev/null
+++ b/Src/Newtonsoft.Json/Utilities/BoxedPrimitives.cs
@@ -0,0 +1,116 @@
+#region License
+// Copyright (c) 2022 James Newton-King
+//
+// Permi... | good | review_fixed | csharp | JamesNK/Newtonsoft.Json | 71ff2edd555b419fabfd082ca82217ee91d538b8 |
@@ -0,0 +1,83 @@
+#region License
+// Copyright (c) 2022 James Newton-King
+//
+// Permission is hereby granted, free of charge, to any person
+// obtaining a copy of this software and associated documentation
+// files (the "Software"), to deal in the Software without
+// restriction, including without limitation the... | bad | review | csharp | JamesNK/Newtonsoft.Json | 71ff2edd555b419fabfd082ca82217ee91d538b8 |
diff --git a/Src/Newtonsoft.Json/Utilities/BoxedPrimitives.cs b/Src/Newtonsoft.Json/Utilities/BoxedPrimitives.cs
new file mode 100644
index 000000000..e6fb4f2de
--- /dev/null
+++ b/Src/Newtonsoft.Json/Utilities/BoxedPrimitives.cs
@@ -0,0 +1,116 @@
+#region License
+// Copyright (c) 2022 James Newton-King
+//
+// Permi... | good | review_fixed | csharp | JamesNK/Newtonsoft.Json | 71ff2edd555b419fabfd082ca82217ee91d538b8 |
@@ -87,9 +90,42 @@ internal static class BoxedPrimitives
internal static readonly object Int64_7 = 7L;
internal static readonly object Int64_8 = 8L;
- internal static object Get(decimal value) => value == decimal.Zero ? DecimalZero : value;
+ internal static object Get(decimal value)
+... | bad | review | csharp | JamesNK/Newtonsoft.Json | 80ebb4008d1d75ae557ce9f12309fde6f3e2b03f |
diff --git a/Src/Newtonsoft.Json/Utilities/BoxedPrimitives.cs b/Src/Newtonsoft.Json/Utilities/BoxedPrimitives.cs
index e6fb4f2de..2b19cd0a9 100644
--- a/Src/Newtonsoft.Json/Utilities/BoxedPrimitives.cs
+++ b/Src/Newtonsoft.Json/Utilities/BoxedPrimitives.cs
@@ -23,6 +23,9 @@
// OTHER DEALINGS IN THE SOFTWARE.
#endregi... | good | review_fixed | csharp | JamesNK/Newtonsoft.Json | 80ebb4008d1d75ae557ce9f12309fde6f3e2b03f |
@@ -692,7 +692,7 @@ private static string SerializeObjectInternal(object? value, Type? type, JsonSer
/// Deserializes the JSON to a .NET object.
/// </summary>
/// <param name="value">The JSON to deserialize.</param>
- /// <returns>The deserialized object from the JSON string.</returns... | bad | review | csharp | JamesNK/Newtonsoft.Json | 5ef9d9b57b9f0d8f595e00fb347c196c2aba45b0 |
diff --git a/Src/Newtonsoft.Json/JsonConvert.cs b/Src/Newtonsoft.Json/JsonConvert.cs
index b507d43e4..c57b3ed5a 100644
--- a/Src/Newtonsoft.Json/JsonConvert.cs
+++ b/Src/Newtonsoft.Json/JsonConvert.cs
@@ -692,7 +692,7 @@ private static string SerializeObjectInternal(object? value, Type? type, JsonSer
/// Deser... | good | review_fixed | csharp | JamesNK/Newtonsoft.Json | 5ef9d9b57b9f0d8f595e00fb347c196c2aba45b0 |
@@ -709,7 +709,7 @@ private static string SerializeObjectInternal(object? value, Type? type, JsonSer
/// The <see cref="JsonSerializerSettings"/> used to deserialize the object.
/// If this is <c>null</c>, default serialization settings will be used.
/// </param>
- /// <returns>The des... | bad | review | csharp | JamesNK/Newtonsoft.Json | 5ef9d9b57b9f0d8f595e00fb347c196c2aba45b0 |
diff --git a/Src/Newtonsoft.Json/JsonConvert.cs b/Src/Newtonsoft.Json/JsonConvert.cs
index b507d43e4..c57b3ed5a 100644
--- a/Src/Newtonsoft.Json/JsonConvert.cs
+++ b/Src/Newtonsoft.Json/JsonConvert.cs
@@ -692,7 +692,7 @@ private static string SerializeObjectInternal(object? value, Type? type, JsonSer
/// Deser... | good | review_fixed | csharp | JamesNK/Newtonsoft.Json | 5ef9d9b57b9f0d8f595e00fb347c196c2aba45b0 |
@@ -723,7 +723,7 @@ private static string SerializeObjectInternal(object? value, Type? type, JsonSer
/// </summary>
/// <param name="value">The JSON to deserialize.</param>
/// <param name="type">The <see cref="Type"/> of object being deserialized.</param>
- /// <returns>The deserializ... | bad | review | csharp | JamesNK/Newtonsoft.Json | 5ef9d9b57b9f0d8f595e00fb347c196c2aba45b0 |
diff --git a/Src/Newtonsoft.Json/JsonConvert.cs b/Src/Newtonsoft.Json/JsonConvert.cs
index b507d43e4..c57b3ed5a 100644
--- a/Src/Newtonsoft.Json/JsonConvert.cs
+++ b/Src/Newtonsoft.Json/JsonConvert.cs
@@ -692,7 +692,7 @@ private static string SerializeObjectInternal(object? value, Type? type, JsonSer
/// Deser... | good | review_fixed | csharp | JamesNK/Newtonsoft.Json | 5ef9d9b57b9f0d8f595e00fb347c196c2aba45b0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.