Merge branch 'dev' into fix_chroma
This commit is contained in:
commit
32b8b92614
3 changed files with 23 additions and 0 deletions
17
.github/workflows/test-lcserve-push.yml
vendored
Normal file
17
.github/workflows/test-lcserve-push.yml
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
name: Trigger build and push on langchain-serve
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Trigger build and push on langchain-serve
|
||||
uses: peter-evans/repository-dispatch@v2
|
||||
with:
|
||||
token: ${{ secrets.SERVE_GITHUB_TOKEN }}
|
||||
repository: jina-ai/langchain-serve
|
||||
event-type: langflow-push
|
||||
client-payload: '{"push_token": "${{ secrets.LCSERVE_PUSH_TOKEN }}", "branch": "dev"}'
|
||||
|
|
@ -82,6 +82,7 @@ def test_json_agent(client: TestClient):
|
|||
"type": "BaseLanguageModel",
|
||||
"list": False,
|
||||
"advanced": False,
|
||||
"display_name": "LLM",
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -120,6 +121,7 @@ def test_csv_agent(client: TestClient):
|
|||
"type": "BaseLanguageModel",
|
||||
"list": False,
|
||||
"advanced": False,
|
||||
"display_name": "LLM",
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -183,4 +185,5 @@ def test_initialize_agent(client: TestClient):
|
|||
"type": "BaseLanguageModel",
|
||||
"list": False,
|
||||
"advanced": False,
|
||||
"display_name": "LLM",
|
||||
}
|
||||
|
|
|
|||
|
|
@ -326,6 +326,7 @@ def test_series_character_chain(client: TestClient):
|
|||
|
||||
assert template["llm"] == {
|
||||
"required": True,
|
||||
"display_name": "LLM",
|
||||
"placeholder": "",
|
||||
"show": True,
|
||||
"multiline": False,
|
||||
|
|
@ -388,6 +389,7 @@ def test_mid_journey_prompt_chain(client: TestClient):
|
|||
|
||||
assert template["llm"] == {
|
||||
"required": True,
|
||||
"display_name": "LLM",
|
||||
"placeholder": "",
|
||||
"show": True,
|
||||
"multiline": False,
|
||||
|
|
@ -427,6 +429,7 @@ def test_time_travel_guide_chain(client: TestClient):
|
|||
assert template["llm"] == {
|
||||
"required": True,
|
||||
"placeholder": "",
|
||||
"display_name": "LLM",
|
||||
"show": True,
|
||||
"multiline": False,
|
||||
"password": False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue