Skip to content

Commit 52a781d

Browse files
Copilotjulien-c
andcommitted
Fix quote style and remove unnecessary files
Co-authored-by: julien-c <[email protected]>
1 parent 2cde019 commit 52a781d

File tree

151 files changed

+469
-651
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+469
-651
lines changed

packages/agents/src/lib/evalBuilder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { InferenceClient } from "@huggingface/inference";
2-
import type { Data, Tool } from '../types.js';
2+
import type { Data, Tool } from "../types.js";
33

44
// this function passes the tools & files to the context before calling eval
55
export async function evalBuilder(

packages/agents/src/lib/examples.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Example } from '../types.js';
1+
import type { Example } from "../types.js";
22

33
const examples: Example[] = [
44
{

packages/agents/src/lib/generateCode.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import type { Tool } from '../types.js';
1+
import type { Tool } from "../types.js";
22

3-
import { generatePrompt } from './promptGeneration.js';
4-
import { messageTool } from '../tools/message.js';
3+
import { generatePrompt } from "./promptGeneration.js";
4+
import { messageTool } from "../tools/message.js";
55

66
export async function generateCode(
77
prompt: string,

packages/agents/src/lib/promptGeneration.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { Inputs, Tool } from '../types.js';
2-
import examples from './examples.js';
1+
import type { Inputs, Tool } from "../types.js";
2+
import examples from "./examples.js";
33

44
function toolDescription(tool: Tool) {
55
let prompt = `name: ${tool.name} \ndescription: ${tool.description}`;

packages/agents/src/llms/LLMHF.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { LLM } from '../types.js';
1+
import type { LLM } from "../types.js";
22
import { InferenceClient } from "@huggingface/inference";
33

44
export function LLMFromHub(accessToken?: string, model?: string): LLM {

packages/agents/src/tools/imageToText.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Tool } from '../types.js';
1+
import type { Tool } from "../types.js";
22

33
export const imageToTextTool: Tool = {
44
name: "imageToText",

packages/agents/src/tools/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { textToImageTool } from './textToImage.js';
2-
import { imageToTextTool } from './imageToText.js';
3-
import { textToSpeechTool } from './textToSpeech.js';
4-
import { speechToTextTool } from './speechToText.js';
5-
import type { Tool } from '../types.js';
1+
import { textToImageTool } from "./textToImage.js";
2+
import { imageToTextTool } from "./imageToText.js";
3+
import { textToSpeechTool } from "./textToSpeech.js";
4+
import { speechToTextTool } from "./speechToText.js";
5+
import type { Tool } from "../types.js";
66

77
export const defaultTools: Array<Tool> = [textToImageTool, imageToTextTool, textToSpeechTool, speechToTextTool];
88

packages/agents/src/tools/message.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Tool } from '../types.js';
1+
import type { Tool } from "../types.js";
22

33
export const messageTool: Tool = {
44
name: "message",

packages/agents/src/tools/speechToText.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Tool } from '../types.js';
1+
import type { Tool } from "../types.js";
22

33
export const speechToTextTool: Tool = {
44
name: "speechToText",

packages/agents/src/tools/textToImage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Tool } from '../types.js';
1+
import type { Tool } from "../types.js";
22

33
export const textToImageTool: Tool = {
44
name: "textToImage",

0 commit comments

Comments
 (0)