Skip to content

Commit 70bf161

Browse files
authored
Merge pull request #1041 from julep-ai/dev
hotfix(agents-api): fix in docs routes
2 parents 1be5357 + 1d872e3 commit 70bf161

File tree

6 files changed

+88
-121
lines changed

6 files changed

+88
-121
lines changed

README-CN.md

+27-39
Original file line numberDiff line numberDiff line change
@@ -47,45 +47,33 @@
4747

4848
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
4949
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
50-
<h3>📖 目录</h3>
51-
52-
- [呼吁贡献者🌟](#call-for-contributors-)
53-
- [简介](#introduction)
54-
- [主要特点](#key-features)
55-
- [快速示例](#quick-example)
56-
- [安装](#安装)
57-
- [Python 快速入门 🐍](#python-quick-start-)
58-
- [Node.js 快速入门🟩](#nodejs-quick-start-)
59-
- [组件](#components)
60-
- [心智模型](#mental-model)
61-
- [概念](#concepts)
62-
- [理解任务](#understanding-tasks)
63-
- [任务的生命周期](#lifecycle-of-a-task)
64-
- [工作流步骤的类型](#types-of-workflow-steps)
65-
- [常见步骤](#common-steps)
66-
- [键值步骤](#key-value-steps)
67-
- [迭代步骤](#iteration-steps)
68-
- [条件步骤](#conditional-steps)
69-
- [其他控制流](#other-control-flow)
70-
- [工具类型](#tool-types)
71-
- [用户定义的`函数`](#user-defined-functions)
72-
- [`系统` 工具](#system-tools)
73-
- [可用的系统资源和操作](#available-system-resources-and-operations)
74-
- [内置 `integrations`](#built-in-integrations)
75-
-[直接`api_calls`](#direct-api_calls)
76-
- [集成](#integrations)
77-
- [其他功能](#other-features)
78-
- [向代理添加工具](#adding-tools-to-agents)
79-
- [管理会话和用户](#managing-sessions-and-users)
80-
- [文档集成与搜索](#document-integration-and-search)
81-
- [参考](#reference)
82-
- [SDK 参考](#sdk-reference)
83-
- [API 参考](#api-reference)
84-
- [本地快速启动](#local-quickstart)
85-
- [Julep 和 LangChain 等有什么区别?](#julep 和 langchain 等之间有什么区别)
86-
- [不同用例](#different-use-cases)
87-
- [不同的外形尺寸](#different-form-factor)
88-
- [总结](#in-summary)
50+
<h3>📖 Table of Contents</h3>
51+
52+
- [主要特点](#%E4%B8%BB%E8%A6%81%E7%89%B9%E7%82%B9)
53+
- [Python 快速入门🐍](#python-%E5%BF%AB%E9%80%9F%E5%85%A5%E9%97%A8)
54+
- [Node.js Quick Start 🟩](#nodejs-quick-start-)
55+
- [Components](#components)
56+
- [Mental Model](#mental-model)
57+
- [Concepts](#concepts)
58+
- [Understanding Tasks](#understanding-tasks)
59+
- [Lifecycle of a Task](#lifecycle-of-a-task)
60+
- [Types of Workflow Steps](#types-of-workflow-steps)
61+
- [Tool Types](#tool-types)
62+
- [User-defined `functions`](#user-defined-functions)
63+
- [`system` tools](#system-tools)
64+
- [Built-in `integrations`](#built-in-integrations)
65+
- [Direct `api_calls`](#direct-api_calls)
66+
- [Integrations](#integrations)
67+
- [Other Features](#other-features)
68+
- [Adding Tools to Agents](#adding-tools-to-agents)
69+
- [Managing Sessions and Users](#managing-sessions-and-users)
70+
- [Document Integration and Search](#document-integration-and-search)
71+
- [SDK 参考](#sdk-%E5%8F%82%E8%80%83)
72+
- [API 参考](#api-%E5%8F%82%E8%80%83)
73+
- [本地快速启动](#%E6%9C%AC%E5%9C%B0%E5%BF%AB%E9%80%9F%E5%90%AF%E5%8A%A8)
74+
- [Julep 和 LangChain 等有什么区别?](#julep-%E5%92%8C-langchain-%E7%AD%89%E6%9C%89%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB)
75+
- [不同的用例](#%E4%B8%8D%E5%90%8C%E7%9A%84%E7%94%A8%E4%BE%8B)
76+
- [不同的外形尺寸](#%E4%B8%8D%E5%90%8C%E7%9A%84%E5%A4%96%E5%BD%A2%E5%B0%BA%E5%AF%B8)
8977

9078
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
9179

README-FR.md

+29-36
Original file line numberDiff line numberDiff line change
@@ -47,45 +47,38 @@ Vos contributions, grandes ou petites, nous sont précieuses. Construisons ensem
4747

4848
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
4949
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
50-
<h3>📖 Table des matières</h3>
50+
<h3>📖 Table of Contents</h3>
5151

52-
- [Appel à contributeurs 🌟](#call-for-contributors-)
53-
- [Présentation](#introduction)
54-
- [Caractéristiques principales](#key-features)
55-
- [Exemple rapide](#quick-example)
52+
- [Introduction](#introduction)
53+
- [Principales caractéristiques](#principales-caract%C3%A9ristiques)
54+
- [Exemple rapide](#exemple-rapide)
5655
- [Installation](#installation)
57-
- [Démarrage rapide de Python 🐍](#python-quick-start-)
58-
- [Démarrage rapide de Node.js 🟩](#nodejs-quick-start-)
59-
- [Composants](#composants)
60-
- [Modèle mental](#mental-model)
56+
- [Démarrage rapide de Python 🐍](#d%C3%A9marrage-rapide-de-python-)
57+
- [Node.js Quick Start 🟩](#nodejs-quick-start-)
58+
- [Components](#components)
59+
- [Mental Model](#mental-model)
6160
- [Concepts](#concepts)
62-
- [Comprendre les tâches](#understanding-tasks)
63-
- [Cycle de vie d'une tâche](#cycle-de-vie-d-une-tâche)
64-
- [Types d'étapes de flux de travail](#types-of-workflow-steps)
65-
- [Étapes courantes](#étapes-communes)
66-
- [Étapes clé-valeur](#étapes-clé-valeur)
67-
- [Étapes d'itération](#iteration-steps)
68-
- [Étapes conditionnelles](#étapes-conditionnelles)
69-
- [Autre flux de contrôle](#other-control-flow)
70-
- [Types d'outils](#types-d'outils)
71-
- [`Fonctions` définies par l'utilisateur](#user-defined-functions)
72-
- [outils système](#outils-système)
73-
- [Ressources et opérations « système » disponibles](#available-system-resources-and-operations)
74-
- [`Intégrations` intégrées](#integrations-integrées)
75-
- [Appels directs `api_calls`](#appels directs-api_calls)
76-
- [Intégrations](#intégrations)
77-
- [Autres fonctionnalités](#other-features)
78-
- [Ajout d'outils aux agents](#adding-tools-to-agents)
79-
- [Gestion des sessions et des utilisateurs](#managing-sessions-and-users)
80-
- [Intégration et recherche de documents](#document-integration-and-search)
81-
- [Référence](#référence)
82-
- [Référence SDK](#sdk-reference)
83-
- [Référence API](#api-reference)
84-
- [Démarrage rapide local](#local-quickstart)
85-
- [Quelle est la différence entre Julep et LangChain etc ?](#quelle-est-la-différence-entre-julep-et-langchain-etc)
86-
- [Différents cas d'utilisation](#different-use-cases)
87-
- [Facteur de forme différent](#different-form-factor)
88-
- [En résumé](#en-resumé)
61+
- [Understanding Tasks](#understanding-tasks)
62+
- [Lifecycle of a Task](#lifecycle-of-a-task)
63+
- [Types of Workflow Steps](#types-of-workflow-steps)
64+
- [Tool Types](#tool-types)
65+
- [User-defined `functions`](#user-defined-functions)
66+
- [`system` tools](#system-tools)
67+
- [Built-in `integrations`](#built-in-integrations)
68+
- [Direct `api_calls`](#direct-api_calls)
69+
- [Integrations](#integrations)
70+
- [Other Features](#other-features)
71+
- [Adding Tools to Agents](#adding-tools-to-agents)
72+
- [Managing Sessions and Users](#managing-sessions-and-users)
73+
- [Document Integration and Search](#document-integration-and-search)
74+
- [Référence](#r%C3%A9f%C3%A9rence)
75+
- [Référence du SDK](#r%C3%A9f%C3%A9rence-du-sdk)
76+
- [Référence API](#r%C3%A9f%C3%A9rence-api)
77+
- [Démarrage rapide local](#d%C3%A9marrage-rapide-local)
78+
- [Quelle est la différence entre Julep et LangChain etc ?](#quelle-est-la-diff%C3%A9rence-entre-julep-et-langchain-etc-)
79+
- [Différents cas d'utilisation](#diff%C3%A9rents-cas-dutilisation)
80+
- [Facteur de forme différent](#facteur-de-forme-diff%C3%A9rent)
81+
- [En résumé](#en-r%C3%A9sum%C3%A9)
8982

9083
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
9184

README-JA.md

+29-39
Original file line numberDiff line numberDiff line change
@@ -47,45 +47,35 @@ Julep プロジェクトに新しい貢献者を迎えられることを嬉し
4747

4848
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
4949
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
50-
<h3>📖 目次</h3>
51-
52-
- [貢献者募集🌟](#call-for-contributors-)
53-
- [はじめに](#introduction)
54-
- [主な特徴](#key-features)
55-
- [簡単な例](#quick-example)
56-
- [インストール](#installation)
57-
- [Python クイックスタート 🐍](#python-quick-start-)
58-
- [Node.js クイック スタート 🟩](#nodejs-quick-start-)
59-
- [コンポーネント](#components)
60-
- [メンタルモデル](#mental-model)
61-
- [コンセプト](#concepts)
62-
- [タスクの理解](#understanding-tasks)
63-
- [タスクのライフサイクル](#lifecycle-of-a-task)
64-
- [ワークフロー ステップの種類](#types-of-workflow-steps)
65-
- [共通手順](#common-steps)
66-
- [キーと値のステップ](#key-value-steps)
67-
- [反復ステップ](#iteration-steps)
68-
- [条件付きステップ](#conditional-steps)
69-
- [その他の制御フロー](#other-control-flow)
70-
- [ツールの種類](#tool-types)
71-
- [ユーザー定義の `functions`](#user-defined-functions)
72-
- [`システム` ツール](#system-tools)
73-
- [利用可能な `system` リソースと操作](#available-system-resources-and-operations)
74-
- [組み込みの `integrations`](#built-in-integrations)
75-
- [直接の `api_calls`](#direct-api_calls)
76-
- [統合](#integrations)
77-
- [その他の機能](#other-features)
78-
- [エージェントへのツールの追加](#adding-tools-to-agents)
79-
- [セッションとユーザーの管理](#managing-sessions-and-users)
80-
- [ドキュメントの統合と検索](#document-integration-and-search)
81-
- [参考](#reference)
82-
- [SDKリファレンス](#sdk-reference)
83-
- [APIリファレンス](#api-reference)
84-
- [ローカルクイックスタート](#local-quickstart)
85-
- [Julep と LangChain などの違いは何ですか?](#whats-the-difference-between-julep-and-langchain-etc)
86-
- [さまざまなユースケース](#different-use-cases)
87-
- [異なるフォームファクター](#different-form-factor)
88-
- [要約](#in-summary)
50+
<h3>📖 Table of Contents</h3>
51+
52+
- [主な特徴](#%E4%B8%BB%E3%81%AA%E7%89%B9%E5%BE%B4)
53+
- [簡単な例](#%E7%B0%A1%E5%8D%98%E3%81%AA%E4%BE%8B)
54+
- [インストール](#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
55+
- [Python クイックスタート 🐍](#python-%E3%82%AF%E3%82%A4%E3%83%83%E3%82%AF%E3%82%B9%E3%82%BF%E3%83%BC%E3%83%88-)
56+
- [Node.js Quick Start 🟩](#nodejs-quick-start-)
57+
- [Components](#components)
58+
- [Mental Model](#mental-model)
59+
- [Concepts](#concepts)
60+
- [Understanding Tasks](#understanding-tasks)
61+
- [Lifecycle of a Task](#lifecycle-of-a-task)
62+
- [Types of Workflow Steps](#types-of-workflow-steps)
63+
- [Tool Types](#tool-types)
64+
- [User-defined `functions`](#user-defined-functions)
65+
- [`system` tools](#system-tools)
66+
- [Built-in `integrations`](#built-in-integrations)
67+
- [Direct `api_calls`](#direct-api_calls)
68+
- [Integrations](#integrations)
69+
- [Other Features](#other-features)
70+
- [Adding Tools to Agents](#adding-tools-to-agents)
71+
- [Managing Sessions and Users](#managing-sessions-and-users)
72+
- [Document Integration and Search](#document-integration-and-search)
73+
- [SDK リファレンス](#sdk-%E3%83%AA%E3%83%95%E3%82%A1%E3%83%AC%E3%83%B3%E3%82%B9)
74+
- [API リファレンス](#api-%E3%83%AA%E3%83%95%E3%82%A1%E3%83%AC%E3%83%B3%E3%82%B9)
75+
- [ローカルクイックスタート](#%E3%83%AD%E3%83%BC%E3%82%AB%E3%83%AB%E3%82%AF%E3%82%A4%E3%83%83%E3%82%AF%E3%82%B9%E3%82%BF%E3%83%BC%E3%83%88)
76+
- [Julep と LangChain などの違いは何ですか?](#julep-%E3%81%A8-langchain-%E3%81%AA%E3%81%A9%E3%81%AE%E9%81%95%E3%81%84%E3%81%AF%E4%BD%95%E3%81%A7%E3%81%99%E3%81%8B)
77+
- [さまざまなユースケース](#%E3%81%95%E3%81%BE%E3%81%96%E3%81%BE%E3%81%AA%E3%83%A6%E3%83%BC%E3%82%B9%E3%82%B1%E3%83%BC%E3%82%B9)
78+
- [異なるフォームファクタ](#%E7%95%B0%E3%81%AA%E3%82%8B%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A0%E3%83%95%E3%82%A1%E3%82%AF%E3%82%BF)
8979

9080
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
9181

README.md

-7
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ Your contributions, big or small, are valuable to us. Let's build something amaz
4949
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
5050
<h3>📖 Table of Contents</h3>
5151

52-
- [Call for Contributors 🌟](#call-for-contributors-)
5352
- [Introduction](#introduction)
5453
- [Key Features](#key-features)
5554
- [Quick Example](#quick-example)
@@ -62,15 +61,9 @@ Your contributions, big or small, are valuable to us. Let's build something amaz
6261
- [Understanding Tasks](#understanding-tasks)
6362
- [Lifecycle of a Task](#lifecycle-of-a-task)
6463
- [Types of Workflow Steps](#types-of-workflow-steps)
65-
- [Common Steps](#common-steps)
66-
- [Key-Value Steps](#key-value-steps)
67-
- [Iteration Steps](#iteration-steps)
68-
- [Conditional Steps](#conditional-steps)
69-
- [Other Control Flow](#other-control-flow)
7064
- [Tool Types](#tool-types)
7165
- [User-defined `functions`](#user-defined-functions)
7266
- [`system` tools](#system-tools)
73-
- [Available `system` resources and operations](#available-system-resources-and-operations)
7467
- [Built-in `integrations`](#built-in-integrations)
7568
- [Direct `api_calls`](#direct-api_calls)
7669
- [Integrations](#integrations)

agents-api/agents_api/routers/docs/create_doc.py

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ async def create_agent_doc(
4444
agent_id: UUID,
4545
data: CreateDocRequest,
4646
x_developer_id: Annotated[UUID, Depends(get_developer_id)],
47+
connection_pool: Any = None, # FIXME: Placeholder that should be removed
4748
) -> ResourceCreatedResponse:
4849
doc: Doc = await create_doc_query(
4950
developer_id=x_developer_id,

agents-api/agents_api/routers/docs/search_docs.py

+2
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ async def search_agent_docs(
133133
x_developer_id: Annotated[UUID, Depends(get_developer_id)],
134134
search_params: (TextOnlyDocSearchRequest | VectorDocSearchRequest | HybridDocSearchRequest),
135135
agent_id: UUID,
136+
connection_pool: Any = None, # FIXME: Placeholder that should be removed
137+
136138
) -> DocSearchResponse:
137139
"""
138140
Searches for documents associated with a specific agent.

0 commit comments

Comments
 (0)