Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps-dev): bump eslint-config-prettier from 9.1.0 to 10.0.1 #363

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@
"esbuild": "^0.23.1",
"esbuild-register": "npm:@shigma/esbuild-register@^1.1.1",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-config-prettier": "^10.0.1",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^17.13.2",

Unchanged files with check annotations Beta

* planning agent actions with runnables.
*/
export class RunnableSingleActionAgent extends BaseSingleActionAgent {
lc_namespace = ['langchain', 'agents', 'runnable']

Check warning on line 199 in packages/core/src/llm-core/agent/agent.ts

GitHub Actions / lint

Class Property name `lc_namespace` must match one of the following formats: camelCase, UPPER_CASE, PascalCase

Check warning on line 199 in packages/core/src/llm-core/agent/agent.ts

GitHub Actions / lint

Class Property name `lc_namespace` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
runnable: Runnable<
ChainValues & { steps: AgentStep[] },
* planning agent actions with runnables.
*/
export class RunnableMultiActionAgent extends BaseMultiActionAgent {
lc_namespace = ['langchain', 'agents', 'runnable']

Check warning on line 283 in packages/core/src/llm-core/agent/agent.ts

GitHub Actions / lint

Class Property name `lc_namespace` must match one of the following formats: camelCase, UPPER_CASE, PascalCase

Check warning on line 283 in packages/core/src/llm-core/agent/agent.ts

GitHub Actions / lint

Class Property name `lc_namespace` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
// TODO: Rename input to "intermediate_steps"
runnable: Runnable<
extends Serializable
implements AgentExecutorIteratorInput
{
lc_namespace = ['langchain', 'agents', 'executor_iterator']

Check warning on line 53 in packages/core/src/llm-core/agent/executor.ts

GitHub Actions / lint

Class Property name `lc_namespace` must match one of the following formats: camelCase, UPPER_CASE, PascalCase

Check warning on line 53 in packages/core/src/llm-core/agent/executor.ts

GitHub Actions / lint

Class Property name `lc_namespace` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
agentExecutor: AgentExecutor
* ```
*/
export class AgentExecutor extends BaseChain<ChainValues, AgentExecutorOutput> {
static lc_name() {

Check warning on line 355 in packages/core/src/llm-core/agent/executor.ts

GitHub Actions / lint

Class Method name `lc_name` must match one of the following formats: camelCase, UPPER_CASE, PascalCase

Check warning on line 355 in packages/core/src/llm-core/agent/executor.ts

GitHub Actions / lint

Class Method name `lc_name` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
return 'AgentExecutor'
}
get lc_namespace() {

Check warning on line 359 in packages/core/src/llm-core/agent/executor.ts

GitHub Actions / lint

Classic Accessor name `lc_namespace` must match one of the following formats: camelCase, UPPER_CASE, PascalCase

Check warning on line 359 in packages/core/src/llm-core/agent/executor.ts

GitHub Actions / lint

Classic Accessor name `lc_namespace` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
return ['langchain', 'agents', 'executor']
}
{
declare memory?: BaseMemory
get lc_namespace(): string[] {

Check warning on line 86 in packages/core/src/llm-core/chain/base.ts

GitHub Actions / lint

Classic Accessor name `lc_namespace` must match one of the following formats: camelCase, UPPER_CASE, PascalCase

Check warning on line 86 in packages/core/src/llm-core/chain/base.ts

GitHub Actions / lint

Classic Accessor name `lc_namespace` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
return ['langchain', 'chains', this._chainType()]
}
): Promise<RunOutput> {
const config = ensureConfig(options)
const fullValues = await this._formatValues(input)
const callbackManager_ = CallbackManager.configure(

Check warning on line 137 in packages/core/src/llm-core/chain/base.ts

GitHub Actions / lint

Variable name `callbackManager_` must match one of the following formats: camelCase, UPPER_CASE, PascalCase

Check warning on line 137 in packages/core/src/llm-core/chain/base.ts

GitHub Actions / lint

Variable name `callbackManager_` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
config?.callbacks,
this.callbacks,
config?.tags,
*
* // Create a prompt template for a friendly conversation between a human and an AI.
* const prompt =
* PromptTemplate.fromTemplate(`The following is a friendly conversation between a human and an AI. The AI is talkative and provides lots of specific details from its context. If the AI does not know the answer to a question, it truthfully says it does not know.

Check warning on line 33 in packages/core/src/llm-core/memory/langchain/buffer_memory.ts

GitHub Actions / lint

This line has a length of 264. Maximum allowed is 160

Check warning on line 33 in packages/core/src/llm-core/memory/langchain/buffer_memory.ts

GitHub Actions / lint

This line has a length of 264. Maximum allowed is 160
*
* Current conversation:
* {chat_history}
.middleware('list_room', async (session, context) => {
const {
command,
options: { page, limit, all_room }

Check warning on line 27 in packages/core/src/middlewares/list_room.ts

GitHub Actions / lint

Variable name `all_room` must match one of the following formats: camelCase, UPPER_CASE, PascalCase

Check warning on line 27 in packages/core/src/middlewares/list_room.ts

GitHub Actions / lint

Variable name `all_room` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
} = context
if (command !== 'list_room') return ChainMiddlewareRunStatus.SKIPPED
import { cut } from 'jieba-wasm'
import TinySegmenter from 'tiny-segmenter'

Check warning on line 2 in packages/long-memory/src/similarity.ts

GitHub Actions / lint

Import name `TinySegmenter` must match one of the following formats: camelCase, UPPER_CASE

Check warning on line 2 in packages/long-memory/src/similarity.ts

GitHub Actions / lint

Import name `TinySegmenter` must match one of the following formats: camelCase, UPPER_CASE
import stopwords from 'stopwords-iso'
const segmenter = new TinySegmenter()