Skip to content

Commit

Permalink
feat: remove modules index file
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas2D committed Sep 2, 2024
1 parent 716e74d commit 6c5f045
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 40 deletions.
2 changes: 1 addition & 1 deletion src/adapters/bam/llm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

import { LLM, LLMInput } from "@/llms/index.js";
import { LLM, LLMInput } from "@/llms/llm.js";
import {
AsyncStream,
BaseLLMOutput,
Expand Down
17 changes: 0 additions & 17 deletions src/adapters/langchain/llms/index.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/adapters/langchain/llms/llm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

import { LLM, LLMInput } from "@/llms/index.js";
import { LLM, LLMInput } from "@/llms/llm.js";
import { BaseLLM as LCBaseLLM } from "@langchain/core/language_models/llms";
import {
AsyncStream,
Expand Down
2 changes: 1 addition & 1 deletion src/adapters/ollama/llm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

import { LLM, LLMInput } from "@/llms/index.js";
import { LLM, LLMInput } from "@/llms/llm.js";
import { Emitter } from "@/emitter/emitter.js";
import {
AsyncStream,
Expand Down
2 changes: 1 addition & 1 deletion src/adapters/watsonx/llm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

import { LLM, LLMInput } from "@/llms/index.js";
import { LLM, LLMInput } from "@/llms/llm.js";
import {
AsyncStream,
BaseLLMOutput,
Expand Down
17 changes: 0 additions & 17 deletions src/llms/index.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/memory/summarizeMemory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import { BaseMessage } from "@/llms/primitives/message.js";
import { BaseMemory } from "@/memory/base.js";
import { PromptTemplate } from "@/template.js";
import { LLM } from "@/llms/index.js";
import { LLM } from "@/llms/llm.js";
import { BaseLLMOutput } from "@/llms/base.js";
import { shallowCopy } from "@/serializer/utils.js";

Expand Down
2 changes: 1 addition & 1 deletion src/tools/python/python.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { PromiseClient, createPromiseClient } from "@connectrpc/connect";
import { CodeInterpreterService } from "bee-proto/code_interpreter/v1/code_interpreter_service_connect";
import { z } from "zod";
import { BaseLLMOutput } from "@/llms/base.js";
import { LLM } from "@/llms/index.js";
import { LLM } from "@/llms/llm.js";
import { PromptTemplate } from "@/template.js";
import { differenceWith, isShallowEqual, isTruthy, mapToObj, unique } from "remeda";
import { PythonStorage } from "@/tools/python/storage.js";
Expand Down

0 comments on commit 6c5f045

Please sign in to comment.