add internal ip filter when parse tool schema

This commit is contained in:
Yansong Zhang 2025-12-12 11:58:05 +08:00
parent e66ef9145b
commit f6accd8ae2
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ def test_parse_openapi_to_tool_bundle_operation_id(app):
openapi = {
"openapi": "3.0.0",
"info": {"title": "Simple API", "version": "1.0.0"},
"servers": [{"url": "http://localhost:3000"}],
"servers": [{"url": "https://api.example.com"}],
"paths": {
"/": {
"get": {
@ -60,7 +60,7 @@ def test_parse_openapi_to_tool_bundle_properties_all_of(app):
openapi = {
"openapi": "3.0.0",
"info": {"title": "Simple API", "version": "1.0.0"},
"servers": [{"url": "http://localhost:3000"}],
"servers": [{"url": "https://api.example.com"}],
"paths": {
"/api/resource": {
"get": {