mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 06:10:49 +08:00
docs: cut version 1.9.0 (#12681)
* version-1.9.0-docs * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
@ -0,0 +1,14 @@
|
||||
curl --request POST \
|
||||
--url "$LANGFLOW_SERVER_URL/api/v1/run/$FLOW_ID?stream=false" \
|
||||
--header "Content-Type: application/json" \
|
||||
--header "x-api-key: $LANGFLOW_API_KEY" \
|
||||
--data '{
|
||||
"input_value": "hello world!",
|
||||
"output_type": "chat",
|
||||
"input_type": "chat",
|
||||
"tweaks": {
|
||||
"ChatOutput-6zcZt": {
|
||||
"should_store_message": true
|
||||
}
|
||||
}
|
||||
}'
|
||||
@ -0,0 +1,4 @@
|
||||
curl -X GET \
|
||||
"$LANGFLOW_SERVER_URL/api/v1/all" \
|
||||
-H "accept: application/json" \
|
||||
-H "x-api-key: $LANGFLOW_API_KEY"
|
||||
@ -0,0 +1,4 @@
|
||||
curl -X GET \
|
||||
"$LANGFLOW_SERVER_URL/api/v1/config" \
|
||||
-H "accept: application/json" \
|
||||
-H "x-api-key: $LANGFLOW_API_KEY"
|
||||
@ -0,0 +1,3 @@
|
||||
curl -X GET \
|
||||
"$LANGFLOW_SERVER_URL/api/v1/version" \
|
||||
-H "accept: application/json"
|
||||
@ -0,0 +1,3 @@
|
||||
curl -X GET \
|
||||
"$LANGFLOW_SERVER_URL/health_check" \
|
||||
-H "accept: application/json"
|
||||
@ -0,0 +1,20 @@
|
||||
{
|
||||
"feature_flags": {
|
||||
"mvp_components": false
|
||||
},
|
||||
"serialization_max_items_length": 1000,
|
||||
"serialization_max_text_length": 6000,
|
||||
"frontend_timeout": 0,
|
||||
"auto_saving": true,
|
||||
"auto_saving_interval": 1000,
|
||||
"health_check_max_retries": 5,
|
||||
"max_file_size_upload": 1024,
|
||||
"webhook_polling_interval": 5000,
|
||||
"public_flow_cleanup_interval": 3600,
|
||||
"public_flow_expiration": 86400,
|
||||
"event_delivery": "streaming",
|
||||
"webhook_auth_enable": false,
|
||||
"voice_mode_available": false,
|
||||
"default_folder_name": "Starter Project",
|
||||
"hide_getting_started_progress": false
|
||||
}
|
||||
@ -0,0 +1,5 @@
|
||||
{
|
||||
"version": "1.6.0",
|
||||
"main_version": "1.6.0",
|
||||
"package": "Langflow"
|
||||
}
|
||||
@ -0,0 +1,5 @@
|
||||
{
|
||||
"status": "ok",
|
||||
"chat": "ok",
|
||||
"db": "ok"
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
# Set environment variables (allow callers/wrappers to override defaults)
|
||||
export LANGFLOW_API_KEY="${LANGFLOW_API_KEY:-sk-local-placeholder}"
|
||||
export LANGFLOW_SERVER_URL="${LANGFLOW_SERVER_URL:-http://localhost:7860}"
|
||||
export FLOW_ID="${FLOW_ID:-359cd752-07ea-46f2-9d3b-a4407ef618da}"
|
||||
export PROJECT_ID="${PROJECT_ID:-1415de42-8f01-4f36-bf34-539f23e47466}"
|
||||
|
||||
# Use environment variables in API requests
|
||||
curl --request POST \
|
||||
--url "$LANGFLOW_SERVER_URL/api/v1/run/$FLOW_ID?stream=false" \
|
||||
--header "Content-Type: application/json" \
|
||||
--header "x-api-key: $LANGFLOW_API_KEY" \
|
||||
--data '{
|
||||
"input_value": "hello world!",
|
||||
"output_type": "chat",
|
||||
"input_type": "chat",
|
||||
"tweaks": {
|
||||
"ChatOutput-6zcZt": {
|
||||
"should_store_message": true
|
||||
}
|
||||
}
|
||||
}'
|
||||
Reference in New Issue
Block a user