Toggle navigation
Toggle navigation
This project
Loading...
Sign in
zhouhui.jiang
/
Test_LangGraph
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
zhouhui.jiang
2025-11-06 15:31:28 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b7d2bb63b4ec91400df832a29bec842f1e5e4d3e
b7d2bb63
1 parent
72dbedf7
update
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
4 deletions
API/__pycache__/api_config.cpython-312.pyc
API/api_config.py
deploy/start.sh
deploy/status.sh
deploy/stop.sh
langgraph_examples/__pycache__/api_agent.cpython-312.pyc
langgraph_examples/utils/__pycache__/message_processor.cpython-312.pyc
API/__pycache__/api_config.cpython-312.pyc
View file @
b7d2bb6
No preview for this file type
API/api_config.py
View file @
b7d2bb6
...
...
@@ -13,7 +13,7 @@ API_CONFIG = {
"headers"
:
{
"accept"
:
"*/*"
,
"Content-Type"
:
"application/json"
,
"Authorization"
:
os
.
getenv
(
"API_AUTHORIZATION"
,
"Bearer 2.
e0f2823597254ee384b0ee4359c9978d
"
),
"Authorization"
:
os
.
getenv
(
"API_AUTHORIZATION"
,
"Bearer 2.
508d97e813d74b36ac587ccc9bc1ee6c
"
),
"Ver"
:
os
.
getenv
(
"API_VER"
,
"033BD94B1168D7E4F0D644C3C95E35BF.D73E33B659AD1D6B7D181D1DF8D05760"
),
"Referer"
:
os
.
getenv
(
"API_REFERER"
,
"http://192.168.1.251/"
)
}
...
...
deploy/start.sh
View file @
b7d2bb6
#!/bin/bash
# 启动 LangGraph 服务
APP_DIR
=
"
$HOME
/langgraph"
# 自动检测项目目录(脚本所在目录的父目录)
SCRIPT_DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
APP_DIR
=
"
$(
dirname
"
$SCRIPT_DIR
"
)
"
LOG_DIR
=
"
$APP_DIR
/logs"
PID_FILE
=
"
$LOG_DIR
/app.pid"
LOG_FILE
=
"
$LOG_DIR
/app.log"
...
...
deploy/status.sh
View file @
b7d2bb6
#!/bin/bash
# 查看 LangGraph 服务状态
APP_DIR
=
"
$HOME
/langgraph"
# 自动检测项目目录(脚本所在目录的父目录)
SCRIPT_DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
APP_DIR
=
"
$(
dirname
"
$SCRIPT_DIR
"
)
"
PID_FILE
=
"
$APP_DIR
/logs/app.pid"
echo
"LangGraph 服务状态"
...
...
deploy/stop.sh
View file @
b7d2bb6
#!/bin/bash
# 停止 LangGraph 服务
APP_DIR
=
"
$HOME
/langgraph"
# 自动检测项目目录(脚本所在目录的父目录)
SCRIPT_DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
APP_DIR
=
"
$(
dirname
"
$SCRIPT_DIR
"
)
"
PID_FILE
=
"
$APP_DIR
/logs/app.pid"
if
[
! -f
"
$PID_FILE
"
]
;
then
...
...
langgraph_examples/__pycache__/api_agent.cpython-312.pyc
View file @
b7d2bb6
No preview for this file type
langgraph_examples/utils/__pycache__/message_processor.cpython-312.pyc
View file @
b7d2bb6
No preview for this file type
Please
register
or
login
to post a comment