diff --git a/connpy/_version.py b/connpy/_version.py
index 7859aa3..c97052c 100644
--- a/connpy/_version.py
+++ b/connpy/_version.py
@@ -1 +1 @@
-__version__ = "5.1b4"
+__version__ = "5.1b5"
diff --git a/connpy/ai.py b/connpy/ai.py
index 6a9a343..13c1ae6 100755
--- a/connpy/ai.py
+++ b/connpy/ai.py
@@ -4,13 +4,28 @@ import json
import re
import datetime
from textwrap import dedent
-import litellm
-from litellm import completion, stream_chunk_builder
from .core import nodes
-# Silenciar feedback de litellm
-litellm.suppress_debug_info = True
-litellm.set_verbose = False
+_litellm_initialized = False
+
+def _init_litellm():
+ global _litellm_initialized
+ if not _litellm_initialized:
+ import litellm
+ # Silenciar feedback de litellm
+ litellm.suppress_debug_info = True
+ litellm.set_verbose = False
+ _litellm_initialized = True
+
+def completion(*args, **kwargs):
+ _init_litellm()
+ from litellm import completion as _completion
+ return _completion(*args, **kwargs)
+
+def stream_chunk_builder(*args, **kwargs):
+ _init_litellm()
+ from litellm import stream_chunk_builder as _stream_chunk_builder
+ return _stream_chunk_builder(*args, **kwargs)
from .hooks import ClassHook, MethodHook
from . import printer
from rich.markdown import Markdown
diff --git a/connpy/cli/ai_handler.py b/connpy/cli/ai_handler.py
index 41127e8..fc57b72 100644
--- a/connpy/cli/ai_handler.py
+++ b/connpy/cli/ai_handler.py
@@ -133,5 +133,6 @@ class AIHandler:
u = result["usage"]
console.print(f"[debug]Tokens: {u['total']} (Input: {u['input']}, Output: {u['output']})[/debug]")
console.print()
- except KeyboardInterrupt:
+ except (KeyboardInterrupt, EOFError):
+ console.print("\n[dim]Session closed.[/dim]")
break
diff --git a/connpy/printer.py b/connpy/printer.py
index 11602b2..21e1892 100644
--- a/connpy/printer.py
+++ b/connpy/printer.py
@@ -252,12 +252,20 @@ class _ConsoleProxy:
return getattr(_get_console(), name)
def __call__(self, *args, **kwargs):
return _get_console()(*args, **kwargs)
+ def __enter__(self):
+ return _get_console().__enter__()
+ def __exit__(self, exc_type, exc_val, exc_tb):
+ return _get_console().__exit__(exc_type, exc_val, exc_tb)
class _ErrConsoleProxy:
def __getattr__(self, name):
return getattr(_get_err_console(), name)
def __call__(self, *args, **kwargs):
return _get_err_console()(*args, **kwargs)
+ def __enter__(self):
+ return _get_err_console().__enter__()
+ def __exit__(self, exc_type, exc_val, exc_tb):
+ return _get_err_console().__exit__(exc_type, exc_val, exc_tb)
console = _ConsoleProxy()
err_console = _ErrConsoleProxy()
diff --git a/docs/connpy/cli/ai_handler.html b/docs/connpy/cli/ai_handler.html
index 78de5bb..78549bc 100644
--- a/docs/connpy/cli/ai_handler.html
+++ b/docs/connpy/cli/ai_handler.html
@@ -179,7 +179,8 @@ el.replaceWith(d);
u = result["usage"]
console.print(f"[debug]Tokens: {u['total']} (Input: {u['input']}, Output: {u['output']})[/debug]")
console.print()
- except KeyboardInterrupt:
+ except (KeyboardInterrupt, EOFError):
+ console.print("\n[dim]Session closed.[/dim]")
break
@@ -306,7 +307,8 @@ el.replaceWith(d);
u = result["usage"]
console.print(f"[debug]Tokens: {u['total']} (Input: {u['input']}, Output: {u['output']})[/debug]")
console.print()
- except KeyboardInterrupt:
+ except (KeyboardInterrupt, EOFError):
+ console.print("\n[dim]Session closed.[/dim]")
break
diff --git a/docs/connpy/grpc/index.html b/docs/connpy/grpc/index.html
index a307dc0..d1acfdd 100644
--- a/docs/connpy/grpc/index.html
+++ b/docs/connpy/grpc/index.html
@@ -33,7 +33,7 @@ el.replaceWith(d);
-Namespace connpy.grpc
+Module connpy.grpc
diff --git a/docs/connpy/index.html b/docs/connpy/index.html
index 9c53b4d..3490362 100644
--- a/docs/connpy/index.html
+++ b/docs/connpy/index.html
@@ -520,6 +520,10 @@ class Preload:
+connpy.proto
+
+
+
connpy.services
@@ -5265,6 +5269,7 @@ def test(self, commands, expected, vars = None,*, prompt = None, parallel = 10,
diff --git a/docs/connpy/proto/index.html b/docs/connpy/proto/index.html
new file mode 100644
index 0000000..573e196
--- /dev/null
+++ b/docs/connpy/proto/index.html
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+connpy.proto API documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/connpy/services/index.html b/docs/connpy/services/index.html
index daa297f..d441f23 100644
--- a/docs/connpy/services/index.html
+++ b/docs/connpy/services/index.html
@@ -2795,7 +2795,6 @@ el.replaceWith(d);
def start_api(self, port=None):
"""Start the Connpy REST API."""
- print(f"DEBUG SystemService: port type={type(port)} value={port}")
from connpy.api import start_api
try:
start_api(port, config=self.config)
@@ -2970,7 +2969,6 @@ el.replaceWith(d);
def start_api(self, port=None):
"""Start the Connpy REST API."""
- print(f"DEBUG SystemService: port type={type(port)} value={port}")
from connpy.api import start_api
try:
start_api(port, config=self.config)
diff --git a/docs/connpy/services/system_service.html b/docs/connpy/services/system_service.html
index ecf50ee..95f059e 100644
--- a/docs/connpy/services/system_service.html
+++ b/docs/connpy/services/system_service.html
@@ -60,7 +60,6 @@ el.replaceWith(d);
def start_api(self, port=None):
"""Start the Connpy REST API."""
- print(f"DEBUG SystemService: port type={type(port)} value={port}")
from connpy.api import start_api
try:
start_api(port, config=self.config)
@@ -235,7 +234,6 @@ el.replaceWith(d);
def start_api(self, port=None):
"""Start the Connpy REST API."""
- print(f"DEBUG SystemService: port type={type(port)} value={port}")
from connpy.api import start_api
try:
start_api(port, config=self.config)
diff --git a/test.txt b/test.txt
new file mode 100644
index 0000000..8beaf18
--- /dev/null
+++ b/test.txt
@@ -0,0 +1,13469 @@
+──────────────────────────────────────────────── OUTPUT ────────────────────────────────────────────────
+╭──────────────────────────── qro1pe1@ctx — ✓ PASS ────────────────────────────╮
+│ │
+│ RP/0/RP0/CPU0:KE.MXQRO01.RT01#show ver │
+│ Mon Apr 20 08:48:41.806 CST │
+│ Cisco IOS XR Software, Version 24.1.2 │
+│ Copyright (c) 2013-2024 by Cisco Systems, Inc. │
+│ │
+│ Build Information: │
+│ Built By : swtools │
+│ Built On : Tue Jun 4 18:20:38 PDT 2024 │
+│ Built Host : iox-ucs-046 │
+│ Workspace : /auto/srcarchive16/prod/24.1.2/ncs5500/ws │
+│ Version : 24.1.2 │
+│ Location : /opt/cisco/XR/packages/ │
+│ Label : 24.1.2 │
+│ │
+│ cisco NCS-5500 () processor │
+│ System uptime is 1 week 3 days 14 hours 41 minutes │
+│ │
+│ RP/0/RP0/CPU0:KE.MXQRO01.RT01# │
+│ │
+╰──────────────────────────────────────────────────────────────────────────────╯
+ 8262090 function calls (7055887 primitive calls) in 17.818 seconds
+
+ Ordered by: cumulative time
+
+ ncalls tottime percall cumtime percall filename:lineno(function)
+ 266 0.013 0.000 46.271 0.174 __init__.py:1()
+ 3670/1 0.044 0.000 17.824 17.824 {built-in method builtins.exec}
+ 1 0.000 0.000 17.824 17.824 :1()
+ 1 0.000 0.000 17.824 17.824 :201(run_module)
+ 3583/12 0.029 0.000 13.509 1.126 :1167(_find_and_load)
+ 3566/12 0.029 0.000 13.506 1.126 :1122(_find_and_load_unlocked)
+ 3216/10 0.009 0.000 13.504 1.350 :934(exec_module)
+ 7318/18 0.010 0.000 13.502 0.750 :233(_call_with_frames_removed)
+ 3438/12 0.022 0.000 13.501 1.125 :666(_load_unlocked)
+ 526/53 0.001 0.000 13.297 0.251 {built-in method builtins.__import__}
+ 2/1 0.000 0.000 12.382 12.382 :105(_get_module_details)
+ 1 0.000 0.000 12.231 12.231 connapp.py:1()
+ 1 0.000 0.000 12.161 12.161 ai.py:1()
+7581/7355 0.075 0.000 10.314 0.001 {built-in method builtins.__build_class__}
+ 1144 0.048 0.000 9.273 0.008 _model_construction.py:83(__new__)
+ 1149 0.049 0.000 7.608 0.007 _model_construction.py:530(complete_model_class)
+ 1 0.000 0.000 5.441 5.441 :65(_run_code)
+ 1 0.000 0.000 5.441 5.441 __main__.py:1()
+ 1 0.000 0.000 5.441 5.441 __main__.py:5(main)
+ 41 0.001 0.000 4.814 0.117 utils.py:1()
+ 1 0.000 0.000 4.792 4.792 connapp.py:424(start)
+ 1143/554 0.004 0.000 4.464 0.008 main.py:649(__get_pydantic_core_schema__)
+ 6040/554 0.016 0.000 4.462 0.008 _schema_generation_shared.py:82(__call__)
+ 5970/554 0.041 0.000 4.459 0.008 _generate_schema.py:620(generate_schema)
+10690/554 0.065 0.000 4.438 0.008 _generate_schema.py:906(_generate_schema_inner)
+ 751/554 0.034 0.000 4.415 0.008 _generate_schema.py:667(_model_schema)
+ 51 0.001 0.000 4.294 0.084 handler.py:1()
+ 732/535 0.007 0.000 4.265 0.008 _generate_schema.py:739()
+4826/4063 0.017 0.000 4.260 0.001 _generate_schema.py:1108(_generate_md_field_schema)
+5203/4082 0.171 0.000 4.248 0.001 _generate_schema.py:1261(_common_field_schema)
+ 1 0.000 0.000 4.142 4.142 anthropic_beta_headers_manager.py:1()
+ 1 0.000 0.000 4.139 4.139 litellm_logging.py:1()
+ 10/7 0.000 0.000 3.886 0.555 hooks.py:17(__call__)
+ 1 0.000 0.000 3.851 3.851 run_handler.py:13(dispatch)
+ 1 0.000 0.000 3.851 3.851 run_handler.py:19(node_run)
+ 1 0.000 0.000 3.851 3.851 execution_service.py:11(run_commands)
+ 1 0.000 0.000 3.841 3.841 core.py:740(run)
+ 15 3.841 0.256 3.841 0.256 {method 'acquire' of '_thread.lock' objects}
+ 1 0.000 0.000 3.841 3.841 threading.py:1080(join)
+ 1 0.000 0.000 3.841 3.841 threading.py:1118(_wait_for_tstate_lock)
+ 34 0.003 0.000 3.723 0.109 main.py:1()
+ 3 0.001 0.000 3.653 1.218 _types.py:1()
+ 2 0.000 0.000 3.639 1.819 gcs_bucket.py:1()
+5233/4082 0.042 0.000 3.565 0.001 _generate_schema.py:2066(_apply_annotations)
+5217/4081 0.026 0.000 3.426 0.001 _generate_schema.py:2085(inner_handler)
+ 66 0.001 0.000 3.410 0.052 transformation.py:1()
+1852/1148 0.006 0.000 3.409 0.003 :1209(_handle_fromlist)
+ 546 0.005 0.000 2.738 0.005 _generate_schema.py:589(clean_schema)
+9907/4031 0.259 0.000 2.693 0.001 _generate_schema.py:931(match_type)
+ 3283 0.008 0.000 2.610 0.001 _core_utils.py:402(walk_core_schema)
+215058/4955 0.315 0.000 2.582 0.001 _core_utils.py:196(walk)
+214658/4955 0.577 0.000 2.544 0.001 _core_utils.py:199(_walk)
+181997/7335 0.305 0.000 2.492 0.000 _core_utils.py:206(_handle_other_schemas)
+13428/6146 0.142 0.000 2.389 0.000 _core_utils.py:325(handle_model_fields_schema)
+4131/3071 0.025 0.000 2.154 0.001 _generate_schema.py:1040(_match_generic_type)
+3426/2941 0.023 0.000 1.900 0.001 _generate_schema.py:1369(_union_schema)
+14764/12834 0.097 0.000 1.636 0.000 _generate_schema.py:800(_generate_schema_from_property)
+ 2 0.000 0.000 1.544 0.772 http_handler.py:1()
+ 546 0.005 0.000 1.304 0.002 _core_utils.py:419(simplify_schema_references)
+ 5 0.000 0.000 1.282 0.256 streaming_iterator.py:1()
+ 1 0.000 0.000 1.278 1.278 generated.py:1()
+ 2 0.000 0.000 1.177 0.588 openai.py:1()
+ 1143 0.005 0.000 1.108 0.001 _model_construction.py:500(set_model_fields)
+ 1143 0.089 0.000 1.082 0.001 _fields.py:72(collect_model_fields)
+ 21 0.000 0.000 1.060 0.050 base.py:1()
+ 546 0.002 0.000 0.942 0.002 _discriminated_union.py:37(apply_discriminators)
+ 1 0.000 0.000 0.938 0.938 connapp.py:201(get_parser)
+ 601/518 0.002 0.000 0.918 0.002 _generate_schema.py:430(_list_schema)
+ 2 0.002 0.001 0.889 0.444 plugins.py:138(_import_plugins_to_argparse)
+ 2 0.000 0.000 0.871 0.435 router.py:1()
+1223520/1198354 0.768 0.000 0.854 0.000 {built-in method builtins.isinstance}
+47245/47243 0.063 0.000 0.809 0.000 {built-in method builtins.next}
+ 195 0.004 0.000 0.797 0.004 _core_utils.py:223(handle_definitions_schema)
+9074/6848 0.018 0.000 0.776 0.000 _core_utils.py:251(handle_list_schema)
+ 23444 0.034 0.000 0.737 0.000 contextlib.py:132(__enter__)
+3214/1669 0.030 0.000 0.736 0.000 _core_utils.py:294(handle_union_schema)
+24980/23539 0.036 0.000 0.732 0.000 typing.py:338(inner)
+ 3 0.000 0.000 0.699 0.233 plugins.py:131(_import_from_path)
+ 1 0.000 0.000 0.696 0.696 aws.py:1()
+ 31242 0.070 0.000 0.670 0.000 _generate_schema.py:2520(get_schema_or_ref)
+ 15762 0.159 0.000 0.585 0.000 _core_utils.py:77(get_type_ref)
+ 3217 0.030 0.000 0.574 0.000 :1007(get_code)
+ 21370 0.034 0.000 0.559 0.000 _utils.py:76(lenient_issubclass)
+ 1 0.000 0.000 0.552 0.552 eval_create_params.py:1()
+ 1 0.000 0.000 0.548 0.548 guardrails.py:1()
+ 29074 0.023 0.000 0.544 0.000 {built-in method builtins.issubclass}
+40003/546 0.092 0.000 0.544 0.001 _core_utils.py:425(collect_refs)
+ 1 0.000 0.000 0.538 0.538 multi_grader.py:1()
+121068/7428 0.145 0.000 0.529 0.000 :121(__subclasscheck__)
+121068/7428 0.382 0.000 0.518 0.000 {built-in method _abc._abc_subclasscheck}
+ 1 0.000 0.000 0.516 0.516 label_model_grader.py:1()
+ 1 0.000 0.000 0.511 0.511 grader_inputs.py:1()
+ 848759 0.501 0.000 0.501 0.000 {method 'get' of 'dict' objects}
+276016/276002 0.275 0.000 0.498 0.000 {built-in method builtins.getattr}
+ 3496 0.040 0.000 0.493 0.000 :1056(_find_spec)
+ 553 0.003 0.000 0.479 0.001 _core_utils.py:122(collect_definitions)
+37234/553 0.073 0.000 0.474 0.001 _core_utils.py:125(_record_valid_refs)
+ 124377 0.284 0.000 0.474 0.000 typing.py:2372(get_origin)
+37204/546 0.100 0.000 0.461 0.001 _discriminated_union.py:45(inner)
+ 3302 0.008 0.000 0.450 0.000 __init__.py:272(_compile)
+ 1 0.000 0.000 0.447 0.447 connapp.py:53(__init__)
+ 1158 0.002 0.000 0.443 0.000 __init__.py:225(compile)
+36473/546 0.054 0.000 0.437 0.001 _core_utils.py:447(count_refs)
+ 414 0.003 0.000 0.430 0.001 _compiler.py:738(compile)
+ 1 0.000 0.000 0.419 0.419 provider.py:13(__init__)
+ 1 0.000 0.000 0.419 0.419 provider.py:25(_init_local)
+ 1 0.000 0.000 0.417 0.417 sync_service.py:1()
+13664/5205 0.061 0.000 0.413 0.000 _generics.py:337(has_instance_in_type)
+4252/2820 0.007 0.000 0.400 0.000 typing.py:461(__getitem__)
+ 106/61 0.007 0.000 0.392 0.006 _generate_schema.py:1431(_typed_dict_schema)
+ 546 0.002 0.000 0.381 0.001 _core_utils.py:158(collect_invalid_schemas)
+37204/546 0.055 0.000 0.377 0.001 _core_utils.py:161(_is_schema_valid)
+ 5535 0.046 0.000 0.375 0.000 typing.py:1333(__init__)
+ 3473 0.006 0.000 0.366 0.000 :1496(find_spec)
+ 6 0.000 0.000 0.360 0.060 client.py:1()
+ 3473 0.018 0.000 0.357 0.000 :1464(_get_spec)
+ 2639 0.022 0.000 0.337 0.000 typing.py:638(Union)
+ 358/214 0.002 0.000 0.332 0.002 _generate_schema.py:1089(_generate_td_field_schema)
+ 72/50 0.000 0.000 0.310 0.006 _generate_schema.py:2188(new_handler)
+30223/546 0.045 0.000 0.307 0.001 _core_utils.py:488(inline_refs)
+97831/96935 0.107 0.000 0.306 0.000 {built-in method builtins.hasattr}
+ 4109 0.059 0.000 0.304 0.000 :1604(find_spec)
+ 16355 0.103 0.000 0.295 0.000 typing.py:168(_type_check)
+ 1 0.000 0.000 0.293 0.293 well_known_api.py:1()
+ 1 0.000 0.000 0.292 0.292 api_client.py:1()
+ 3 0.000 0.000 0.291 0.097 _client.py:1()
+2646/1249 0.100 0.000 0.289 0.000 _decorators.py:424(build)
+ 5378 0.107 0.000 0.287 0.000 fields.py:198(__init__)
+ 1249 0.035 0.000 0.277 0.000 _typing_extra.py:230(get_cls_type_hints_lenient)
+ 25/12 0.000 0.000 0.277 0.023 _generate_schema.py:2020(_annotated_schema)
+ 28/9 0.000 0.000 0.275 0.031 _generate_schema.py:2185()
+ 414 0.002 0.000 0.257 0.001 _parser.py:970(parse)
+ 293367 0.257 0.000 0.257 0.000 {method 'copy' of 'dict' objects}
+ 82250 0.160 0.000 0.254 0.000 typing.py:1226(_is_dunder)
+ 1353/414 0.011 0.000 0.252 0.001 _parser.py:447(_parse_sub)
+ 8080 0.017 0.000 0.251 0.000 _typing_extra.py:249(eval_type_lenient)
+ 2 0.000 0.000 0.250 0.125 _api.py:1()
+ 2143/610 0.071 0.000 0.246 0.000 _parser.py:507(_parse)
+ 2 0.000 0.000 0.244 0.122 custom_logger.py:1()
+ 2 0.000 0.000 0.243 0.122 datadog.py:1()
+ 1 0.000 0.000 0.241 0.241 oci.py:1()
+ 2 0.000 0.000 0.235 0.118 session.py:1()
+ 3217 0.014 0.000 0.226 0.000 :727(_compile_bytecode)
+ 1205 0.035 0.000 0.220 0.000 typing_extensions.py:916(__new__)
+ 41443 0.081 0.000 0.219 0.000 typing.py:1267(__getattr__)
+ 1434 0.005 0.000 0.212 0.000 typing.py:678(Optional)
+ 8088 0.011 0.000 0.211 0.000 _typing_extra.py:263(eval_type_backport)
+ 3217 0.205 0.000 0.205 0.000 {built-in method marshal.loads}
+15944/11243 0.051 0.000 0.204 0.000 _generate_schema.py:2432(_extract_get_pydantic_json_schema)
+ 2841 0.014 0.000 0.203 0.000 fields.py:333(from_annotated_attribute)
+ 3/2 0.000 0.000 0.202 0.101 hooks.py:69(__call__)
+ 1 0.000 0.000 0.202 0.202 configfile.py:46(__init__)
+ 8088 0.011 0.000 0.199 0.000 _typing_extra.py:296(_eval_type_backport)
+ 1 0.000 0.000 0.199 0.199 RSA.py:781(import_key)
+ 1 0.000 0.000 0.192 0.192 RSA.py:739(_import_keyDER)
+ 1 0.000 0.000 0.192 0.192 RSA.py:683(_import_pkcs1_private)
+ 3741 0.191 0.000 0.191 0.000 {built-in method builtins.compile}
+3441/3432 0.013 0.000 0.190 0.000 :566(module_from_spec)
+ 1 0.000 0.000 0.189 0.189 RSA.py:539(construct)
+ 6 0.000 0.000 0.189 0.031 core.py:1()
+ 8088 0.013 0.000 0.188 0.000 _typing_extra.py:321(_eval_type)
+ 2 0.000 0.000 0.188 0.094 Primality.py:222(test_probable_prime)
+ 96103 0.124 0.000 0.185 0.000 typing.py:1632(__eq__)
+ 2 0.032 0.016 0.181 0.091 Primality.py:119(lucas_test)
+ 47 0.001 0.000 0.180 0.004 main.py:718(__class_getitem__)
+ 41527 0.062 0.000 0.178 0.000 typing.py:1277(__setattr__)
+21725/8088 0.065 0.000 0.175 0.000 typing.py:352(_eval_type)
+ 546 0.003 0.000 0.175 0.000 _signature.py:145(generate_pydantic_signature)
+ 3217 0.013 0.000 0.171 0.000 :1127(get_data)
+ 208/170 0.003 0.000 0.170 0.001 _core_utils.py:304(handle_tagged_union_schema)
+ 1 0.000 0.000 0.169 0.169 _main.py:1()
+ 414 0.001 0.000 0.166 0.000 _compiler.py:571(_code)
+9771/8164 0.069 0.000 0.165 0.000 _repr.py:86(display_as_type)
+ 1 0.083 0.083 0.164 0.164 __init__.py:636(add_known_models)
+ 2537 0.008 0.000 0.164 0.000 fields.py:271(from_annotation)
+ 546 0.031 0.000 0.160 0.000 _signature.py:71(_generate_signature_parameters)
+ 16 0.000 0.000 0.160 0.010 _generics.py:115(create_generic_submodel)
+ 8 0.000 0.000 0.158 0.020 response.py:1()
+ 81976 0.101 0.000 0.158 0.000 _core_utils.py:115(get_ref)
+ 30843 0.040 0.000 0.156 0.000 _typing_extra.py:111(is_annotated)
+ 24864 0.052 0.000 0.155 0.000 :126(_path_join)
+ 3 0.000 0.000 0.153 0.051 plugins.py:36(verify_script)
+ 3 0.000 0.000 0.153 0.051 _models.py:1()
+ 6 0.000 0.000 0.153 0.025 ast.py:33(parse)
+ 15494 0.033 0.000 0.152 0.000 _generics.py:206(get_args)
+ 3441 0.027 0.000 0.148 0.000 :493(_init_module_attrs)
+ 1 0.000 0.000 0.147 0.147 _assistants.py:1()
+ 16104 0.054 0.000 0.146 0.000 _typing_extra.py:166(is_finalvar)
+ 1 0.000 0.000 0.145 0.145 requests.py:1()
+ 6434 0.034 0.000 0.142 0.000 :437(cache_from_source)
+ 3447/414 0.044 0.000 0.140 0.000 _compiler.py:37(_compile)
+ 2 0.000 0.000 0.136 0.068 caching.py:1()
+ 3219 0.135 0.000 0.135 0.000 {method 'read' of '_io.BufferedReader' objects}
+4971/4911 0.016 0.000 0.132 0.000 _core_utils.py:279(handle_dict_schema)
+ 10 0.000 0.000 0.130 0.013 _generate_schema.py:1721(_iterable_schema)
+ 27/26 0.000 0.000 0.126 0.005 __init__.py:108(import_module)
+ 27/26 0.000 0.000 0.126 0.005 :1194(_gcd_import)
+ 25459 0.076 0.000 0.126 0.000 typing.py:2399(get_args)
+ 5662 0.034 0.000 0.125 0.000 typing_extensions.py:3029(_collect_parameters)
+ 1205 0.005 0.000 0.124 0.000 typing_extensions.py:954()
+ 1 0.000 0.000 0.123 0.123 batch.py:1()
+ 546 0.041 0.000 0.123 0.000 _schema_validator.py:21(create_schema_validator)
+ 1 0.000 0.000 0.122 0.122 get_model_cost_map.py:244(get_model_cost_map)
+ 3 0.000 0.000 0.122 0.041 discovery.py:1()
+ 455/453 0.002 0.000 0.121 0.000 _generate_schema.py:433(_dict_schema)
+ 13315 0.028 0.000 0.118 0.000 _generics.py:213(get_origin)
+ 23443 0.036 0.000 0.117 0.000 contextlib.py:141(__exit__)
+ 5539 0.019 0.000 0.116 0.000 typing.py:1238(__init__)
+ 1143 0.037 0.000 0.116 0.000 _model_construction.py:335(inspect_namespace)
+ 1 0.000 0.000 0.115 0.115 openai_evals.py:1()
+ 2527 0.018 0.000 0.114 0.000 copy.py:66(copy)
+ 11/10 0.000 0.000 0.114 0.011 __init__.py:399(__getattr__)
+ 3 0.000 0.000 0.112 0.037 credentials.py:1()
+ 4 0.000 0.000 0.110 0.027 http.py:1()
+ 6 0.000 0.000 0.109 0.018 helpers.py:1()
+ 25447 0.058 0.000 0.107 0.000 core_schema.py:4035(_dict_not_none)
+ 23444 0.049 0.000 0.107 0.000 contextlib.py:287(helper)
+ 1173 0.006 0.000 0.106 0.000 typing.py:1531(__getitem__)
+ 1 0.000 0.000 0.106 0.106 get_model_cost_map.py:145(fetch_remote_model_cost_map)
+ 1 0.000 0.000 0.101 0.101 reauth.py:1()
+ 1 0.000 0.000 0.101 0.101 console.py:1()
+ 1381 0.004 0.000 0.100 0.000 typing.py:467(__getitem__)
+ 2 0.000 0.000 0.099 0.049 completion.py:1()
+ 546 0.002 0.000 0.099 0.000 _core_utils.py:567(validate_core_schema)
+ 1 0.000 0.000 0.098 0.098 thread_create_params.py:1()
+ 1 0.000 0.000 0.098 0.098 _api.py:187(get)
+ 1 0.000 0.000 0.098 0.098 _api.py:38(request)
+ 1 0.000 0.000 0.097 0.097 response_input_item.py:1()
+ 1 0.000 0.000 0.094 0.094 jwt.py:1()
+ 850 0.010 0.000 0.093 0.000 typing.py:687(Literal)
+ 6470 0.007 0.000 0.093 0.000 :392(cached)
+ 2647 0.093 0.000 0.093 0.000 :2(__init__)
+ 1465 0.003 0.000 0.092 0.000 typing.py:1540(copy_with)
+ 3 0.000 0.000 0.092 0.031 rsa.py:1()
+ 1 0.000 0.000 0.092 0.092 _service_account_info.py:1()
+ 4 0.000 0.000 0.092 0.023 auth.py:1()
+ 546 0.091 0.000 0.091 0.000 {built-in method pydantic_core._pydantic_core.validate_core_schema}
+ 1 0.000 0.000 0.090 0.090 markdown.py:1()
+ 1 0.000 0.000 0.090 0.090 _cryptography_rsa.py:1()
+ 137724 0.088 0.000 0.088 0.000 {method 'startswith' of 'str' objects}
+ 2 0.000 0.000 0.088 0.044 _core.py:1()
+ 153276 0.087 0.000 0.087 0.000 {method 'pop' of 'dict' objects}
+ 2 0.000 0.000 0.087 0.043 _auth.py:1()
+ 24864 0.055 0.000 0.087 0.000 :128()
+ 9014 0.010 0.000 0.086 0.000 typing.py:670()
+ 3254 0.010 0.000 0.086 0.000 :567(_get_cached)
+ 1 0.000 0.000 0.085 0.085 http_parser.py:1()
+11650/10337 0.045 0.000 0.084 0.000 {built-in method __new__ of type object at 0x942fc8}
+ 1 0.000 0.000 0.083 0.083 response_stream_event.py:1()
+ 7 0.000 0.000 0.083 0.012 types.py:1()
+ 113 0.000 0.000 0.083 0.001 dataclasses.py:1209(wrap)
+ 113 0.007 0.000 0.082 0.001 dataclasses.py:884(_process_class)
+2524/2521 0.040 0.000 0.082 0.000 copy.py:259(_reconstruct)
+ 5263 0.026 0.000 0.081 0.000 _generate_schema.py:2036(_get_prepare_pydantic_annotations_for_known_type)
+ 2 0.000 0.000 0.080 0.040 default.py:1()
+ 16542 0.033 0.000 0.079 0.000 dataclasses.py:1246(is_dataclass)
+ 983/886 0.009 0.000 0.078 0.000 inspect.py:2426(_signature_from_callable)
+ 1319/963 0.009 0.000 0.078 0.000 _core_utils.py:344(handle_typed_dict_schema)
+ 3 0.000 0.000 0.077 0.026 waiter.py:1()
+ 2 0.000 0.000 0.077 0.038 service.py:1()
+ 8333 0.036 0.000 0.076 0.000 _typing_extra.py:119(is_namedtuple)
+ 1 0.000 0.000 0.075 0.075 tool_param.py:1()
+ 12580 0.019 0.000 0.074 0.000 typing.py:1284(__instancecheck__)
+ 3 0.074 0.025 0.074 0.025 {method 'load_verify_locations' of '_ssl._SSLContext' objects}
+ 117648 0.073 0.000 0.073 0.000 {method 'append' of 'list' objects}
+ 1 0.000 0.000 0.073 0.073 _client.py:783(request)
+ 1 0.000 0.000 0.072 0.072 _client.py:891(send)
+ 13177 0.016 0.000 0.072 0.000 :140(_path_stat)
+ 5 0.000 0.000 0.071 0.014 connection.py:1()
+ 1 0.000 0.000 0.071 0.071 RSA.py:1()
+ 1 0.000 0.000 0.071 0.071 arize_phoenix_prompt_manager.py:1()
+19656/15722 0.025 0.000 0.071 0.000 typing.py:373()
+ 1 0.000 0.000 0.069 0.069 Numbers.py:1()
+ 730 0.002 0.000 0.069 0.000 inspect.py:3277(signature)
+ 1 0.000 0.000 0.068 0.068 _IntegerGMP.py:1()
+ 1 0.000 0.000 0.068 0.068 caching_handler.py:1()
+ 1 0.000 0.000 0.068 0.068 llm_http_handler.py:1()
+ 730 0.002 0.000 0.068 0.000 inspect.py:3023(from_callable)
+ 1 0.000 0.000 0.067 0.067 vertex_and_google_ai_studio_gemini.py:1()
+ 1221 0.004 0.000 0.066 0.000 typing.py:842(_evaluate)
+ 114304 0.066 0.000 0.066 0.000 {method 'items' of 'dict' objects}
+ 612 0.006 0.000 0.066 0.000 fields.py:685(Field)
+40944/40670 0.033 0.000 0.065 0.000 {method 'join' of 'str' objects}
+ 1 0.000 0.000 0.065 0.065 _base_connection.py:1()
+ 1 0.000 0.000 0.064 0.064 tool.py:1()
+ 1 0.000 0.000 0.064 0.064 connector.py:1()
+ 1 0.000 0.000 0.062 0.062 environment.py:1()
+ 15593 0.051 0.000 0.062 0.000 _generate_schema.py:205(filter_field_decorator_info_by_field)
+ 1 0.000 0.000 0.062 0.062 __init__.py:183(dumps)
+ 1 0.000 0.000 0.062 0.062 encoder.py:183(encode)
+ 34896 0.041 0.000 0.062 0.000 typing.py:1345(__eq__)
+ 1 0.062 0.062 0.062 0.062 encoder.py:205(iterencode)
+ 6519 0.009 0.000 0.061 0.000 _fields.py:243(_is_finalvar_with_default_val)
+ 1 0.000 0.000 0.061 0.061 _client.py:942(_send_handling_auth)
+ 1 0.000 0.000 0.061 0.061 _client.py:976(_send_handling_redirects)
+ 1 0.000 0.000 0.061 0.061 _client.py:1013(_send_single_request)
+ 3567 0.008 0.000 0.061 0.000 :169(__enter__)
+ 16703 0.022 0.000 0.060 0.000 typing.py:159(_type_convert)
+88728/84437 0.055 0.000 0.060 0.000 {built-in method builtins.len}
+ 1 0.000 0.000 0.060 0.060 gemini.py:1()
+ 178 0.008 0.000 0.060 0.000 enum.py:488(__new__)
+ 1 0.000 0.000 0.059 0.059 default.py:217(handle_request)
+ 1 0.000 0.000 0.059 0.059 connection_pool.py:159(handle_request)
+ 23444 0.043 0.000 0.058 0.000 contextlib.py:104(__init__)
+ 1 0.000 0.000 0.058 0.058 connection.py:67(handle_request)
+ 14409 0.058 0.000 0.058 0.000 {built-in method posix.stat}
+ 2 0.000 0.000 0.058 0.029 ssl.py:745(create_default_context)
+ 1 0.000 0.000 0.058 0.058 base_protocol.py:1()
+ 1 0.000 0.000 0.058 0.058 ssl_.py:1()
+ 156 0.001 0.000 0.057 0.000 _doc_utils.py:215(_add_function)
+ 612 0.002 0.000 0.057 0.000 fields.py:243(from_field)
+ 1 0.000 0.000 0.057 0.057 url.py:1()
+ 27403 0.038 0.000 0.056 0.000 _model_construction.py:257(__getattr__)
+ 886 0.013 0.000 0.056 0.000 inspect.py:2331(_signature_from_function)
+ 9856 0.025 0.000 0.056 0.000 {built-in method builtins.any}
+ 12580 0.033 0.000 0.056 0.000 typing.py:1547(__subclasscheck__)
+ 6538 0.018 0.000 0.056 0.000 _typing_extra.py:146(is_classvar)
+ 2 0.000 0.000 0.055 0.028 themes.py:1()
+ 24454 0.035 0.000 0.055 0.000 :405(parent)
+ 6880 0.027 0.000 0.055 0.000 inspect.py:2683(__init__)
+ 4868 0.009 0.000 0.053 0.000 :159(_path_isfile)
+ 1 0.000 0.000 0.053 0.053 node_handler.py:1()
+ 2 0.000 0.000 0.053 0.027 connector.py:897(_make_ssl_context)
+ 2 0.000 0.000 0.052 0.026 app.py:1()
+ 2 0.052 0.026 0.052 0.026 {method 'set_default_verify_paths' of '_ssl._SSLContext' objects}
+ 44 0.000 0.000 0.051 0.001 argparse.py:1742(__init__)
+ 23564 0.035 0.000 0.051 0.000 _generate_schema.py:401(_config_wrapper)
+ 2 0.000 0.000 0.051 0.025 prompt.py:1()
+ 1403 0.028 0.000 0.050 0.000 _config.py:157(core_config)
+ 1 0.000 0.000 0.049 0.049 mcp_server_manager.py:1()
+ 2 0.000 0.000 0.049 0.025 globals.py:1()
+ 24 0.001 0.000 0.049 0.002 common_utils.py:1()
+ 1 0.000 0.000 0.049 0.049 deepeval.py:1()
+ 546 0.002 0.000 0.048 0.000 _loader.py:21(get_plugins)
+ 21 0.000 0.000 0.048 0.002 exceptions.py:1()
+ 1 0.000 0.000 0.048 0.048 connection.py:103(_connect)
+ 6437 0.014 0.000 0.048 0.000 :132(_path_split)
+ 1 0.000 0.000 0.048 0.048 anthropic_skills.py:1()
+ 23922 0.032 0.000 0.048 0.000 _parser.py:162(__getitem__)
+ 24957 0.030 0.000 0.048 0.000 _parser.py:252(get)
+ 4213 0.013 0.000 0.048 0.000 _generate_schema.py:883(_get_args_resolving_forward_refs)
+ 5441 0.008 0.000 0.047 0.000 :150(_path_is_mode_type)
+ 7 0.000 0.000 0.047 0.007 api.py:1()
+ 1 0.000 0.000 0.046 0.046 policy.py:1()
+ 74243 0.046 0.000 0.046 0.000 {method 'endswith' of 'str' objects}
+ 1 0.000 0.000 0.046 0.046 anthropic_response.py:1()
+ 2 0.000 0.000 0.045 0.023 langsmith.py:1()
+ 4 0.000 0.000 0.045 0.011 compat.py:1()
+ 1 0.000 0.000 0.045 0.045 restdoc.py:1()
+ 1 0.000 0.000 0.045 0.045 headerregistry.py:1()
+ 1 0.000 0.000 0.045 0.045 mcp.py:1()
+ 1 0.000 0.000 0.045 0.045 realtime.py:1()
+ 8277 0.015 0.000 0.044 0.000 _typing_extra.py:545(is_dataclass)
+ 3687 0.008 0.000 0.044 0.000 typing.py:818(__init__)
+ 1 0.000 0.000 0.043 0.043 anthropic.py:1()
+60843/60839 0.039 0.000 0.042 0.000 {built-in method builtins.setattr}
+25052/15076 0.022 0.000 0.042 0.000 {built-in method builtins.hash}
+ 2639 0.015 0.000 0.042 0.000 typing.py:301(_remove_dups_flatten)
+ 2046 0.004 0.000 0.041 0.000 _IntegerGMP.py:625(get_bit)
+ 1 0.000 0.000 0.041 0.041 run_create_params.py:1()
+ 6 0.000 0.000 0.040 0.007 __init__.py:299(loads)
+ 1 0.000 0.000 0.040 0.040 agents.py:1()
+ 1 0.000 0.000 0.040 0.040 slack_alerting.py:1()
+ 40 0.000 0.000 0.040 0.001 argparse.py:1189(add_parser)
+ 6 0.000 0.000 0.040 0.007 decoder.py:332(decode)
+ 6 0.040 0.007 0.040 0.007 decoder.py:343(raw_decode)
+ 2292 0.005 0.000 0.040 0.000 _generics.py:237(get_model_typevars_map)
+ 1845 0.004 0.000 0.040 0.000 :105(__new__)
+ 1 0.000 0.000 0.039 0.039 interactive.py:1()
+ 13 0.000 0.000 0.039 0.003 _raw_api.py:184(load_lib)
+ 14764 0.025 0.000 0.039 0.000 _typing_extra.py:566(is_self_type)
+ 1 0.039 0.039 0.039 0.039 headerregistry.py:260(UnstructuredHeader)
+ 1 0.000 0.000 0.039 0.039 flow.py:1()
+ 626 0.003 0.000 0.039 0.000 fields.py:418(merge_field_infos)
+ 32208 0.033 0.000 0.039 0.000 _typing_extra.py:158(_check_finalvar)
+ 2841 0.008 0.000 0.038 0.000 _fields.py:227(_warn_on_nested_alias_in_annotation)
+ 2 0.000 0.000 0.038 0.019 _synchronization.py:1()
+ 1 0.000 0.000 0.038 0.038 init_prompts.py:1()
+ 4 0.000 0.000 0.038 0.009 __init__.py:274(load)
+ 1853 0.012 0.000 0.038 0.000 enum.py:356(__setitem__)
+ 2062 0.005 0.000 0.037 0.000 _IntegerGMP.py:344(__lt__)
+ 1400 0.025 0.000 0.037 0.000 _compiler.py:241(_optimize_charset)
+ 1 0.000 0.000 0.037 0.037 vector_stores.py:1()
+ 6199 0.013 0.000 0.037 0.000 _typing_extra.py:87(is_literal_type)
+ 449 0.003 0.000 0.037 0.000 dataclasses.py:413(_create_fn)
+ 38506 0.037 0.000 0.037 0.000 _config.py:148(__getattr__)
+ 4459 0.016 0.000 0.036 0.000 :179(_get_module_lock)
+ 140 0.000 0.000 0.036 0.000 gettext.py:619(gettext)
+ 140 0.000 0.000 0.036 0.000 gettext.py:581(dgettext)
+2397/2343 0.008 0.000 0.035 0.000 _generics.py:187(iter_contained_typevars)
+ 140 0.000 0.000 0.035 0.000 gettext.py:522(translation)
+ 292 0.002 0.000 0.035 0.000 typing.py:1615(__getitem__)
+ 7 0.000 0.000 0.035 0.005 _version.py:1()
+ 140 0.003 0.000 0.035 0.000 gettext.py:467(find)
+ 2 0.000 0.000 0.035 0.017 sessions.py:1()
+ 20545 0.023 0.000 0.035 0.000 typing.py:868(__eq__)
+ 7545 0.014 0.000 0.034 0.000 {built-in method builtins.max}
+ 3252 0.008 0.000 0.034 0.000 :1599(_get_spec)
+ 25447 0.034 0.000 0.034 0.000 core_schema.py:4036()
+ 1 0.000 0.000 0.034 0.034 rerank.py:1()
+ 14612 0.024 0.000 0.034 0.000 py3compat.py:157(is_native_int)
+ 1 0.000 0.000 0.034 0.034 response_input_param.py:1()
+ 41519 0.034 0.000 0.034 0.000 {method 'rpartition' of 'str' objects}
+ 5990 0.008 0.000 0.034 0.000 fields.py:497(_extract_metadata)
+ 60865 0.034 0.000 0.034 0.000 {method 'rstrip' of 'str' objects}
+ 2 0.000 0.000 0.033 0.017 fields.py:1()
+ 1 0.000 0.000 0.033 0.033 sync.py:186(connect_tcp)
+ 1 0.000 0.000 0.033 0.033 socket.py:809(create_connection)
+ 2 0.000 0.000 0.033 0.016 node_service.py:13(list_nodes)
+ 52077 0.033 0.000 0.033 0.000 {method 'get' of 'mappingproxy' objects}
+ 2 0.000 0.000 0.033 0.016 arize.py:1()
+ 1358 0.008 0.000 0.033 0.000 {built-in method builtins.eval}
+ 15762 0.022 0.000 0.033 0.000 _typing_extra.py:557(is_generic_alias)
+ 1311 0.016 0.000 0.032 0.000 enum.py:237(__set_name__)
+ 1 0.000 0.000 0.032 0.032 converse_handler.py:1()
+ 1143 0.010 0.000 0.032 0.000 _config.py:99(for_model)
+ 14015 0.017 0.000 0.032 0.000 :1028(__enter__)
+ 6138 0.015 0.000 0.032 0.000 _IntegerGMP.py:529(__imul__)
+ 1 0.000 0.000 0.032 0.032 serving.py:1()
+ 2192 0.005 0.000 0.031 0.000 _IntegerGMP.py:329(_apply_and_return)
+ 3484 0.008 0.000 0.031 0.000 _generate_schema.py:2410(wrap_default)
+ 1 0.000 0.000 0.031 0.031 invoke_handler.py:1()
+ 1 0.000 0.000 0.031 0.031 __init__.py:1079(version)
+ 9651 0.019 0.000 0.031 0.000 :84(_unpack_uint32)
+ 4 0.000 0.000 0.031 0.008 http_handler.py:1204(get_async_httpx_client)
+3381/3033 0.007 0.000 0.031 0.000 _decorators.py:303(mro)
+ 1 0.000 0.000 0.031 0.031 dual_cache.py:1()
+ 1 0.000 0.000 0.030 0.030 base_ingestion.py:1()
+ 1 0.000 0.000 0.030 0.030 core_schema.py:1()
+7997/6694 0.015 0.000 0.030 0.000 typing.py:1637(__hash__)
+ 4 0.000 0.000 0.030 0.007 http_handler.py:346(__init__)
+ 4 0.000 0.000 0.030 0.007 http_handler.py:365(create_client)
+ 1 0.000 0.000 0.030 0.030 ssl.py:591(load_default_certs)
+ 1 0.000 0.000 0.029 0.029 adapters.py:1()
+ 7 0.000 0.000 0.029 0.004 util.py:1()
+ 5378 0.018 0.000 0.029 0.000 fields.py:205()
+ 1 0.000 0.000 0.029 0.029 handler.py:31(__init__)
+ 5662 0.019 0.000 0.029 0.000 typing_extensions.py:2954(_has_generic_or_protocol_as_origin)
+ 1 0.000 0.000 0.029 0.029 configfile.py:1()
+ 5097 0.008 0.000 0.029 0.000 core_schema.py:3781(definition_reference_schema)
+ 4798 0.011 0.000 0.029 0.000 _typing_extra.py:83(is_callable_type)
+ 8611 0.017 0.000 0.029 0.000 typing_extensions.py:1132(is_typeddict)
+ 38075 0.028 0.000 0.029 0.000 {method 'update' of 'dict' objects}
+ 1143 0.006 0.000 0.029 0.000 _model_construction.py:275(_collect_bases_data)
+ 15660 0.019 0.000 0.029 0.000 typing.py:1668(__eq__)
+ 4 0.000 0.000 0.028 0.007 http_handler.py:211(get_ssl_configuration)
+ 14015 0.019 0.000 0.028 0.000 :1032(__exit__)
+ 1 0.000 0.000 0.028 0.028 _raw_api.py:1()
+ 1 0.000 0.000 0.028 0.028 http_handler.py:124(_create_ssl_context)
+ 2 0.000 0.000 0.028 0.014 http11.py:1()
+ 1 0.000 0.000 0.028 0.028 _model_construction.py:1()
+ 12 0.000 0.000 0.028 0.002 cost_calculator.py:1()
+ 1 0.000 0.000 0.028 0.028 rag.py:1()
+ 6079 0.018 0.000 0.028 0.000 _core_metadata.py:70(build_metadata_dict)
+ 156 0.001 0.000 0.027 0.000 _doc_utils.py:140(get_doc)
+ 2 0.000 0.000 0.027 0.014 message.py:1()
+ 7 0.000 0.000 0.027 0.004 context_service.py:81(filter_node_list)
+ 5063 0.008 0.000 0.027 0.000 typing_extensions.py:894(_get_typeddict_qualifiers)
+ 3217 0.007 0.000 0.027 0.000 :675(_validate_timestamp_pyc)
+ 1 0.000 0.000 0.027 0.027 urls.py:1()
+ 2 0.000 0.000 0.027 0.013 cookiejar.py:1()
+ 1 0.000 0.000 0.027 0.027 redis_cache.py:1()
+ 3217 0.027 0.000 0.027 0.000 {built-in method io.open_code}
+9006/6630 0.012 0.000 0.027 0.000 typing.py:1351(__hash__)
+ 32896 0.027 0.000 0.027 0.000 typing.py:431(__getattr__)
+ 4818 0.008 0.000 0.027 0.000 core_schema.py:2923(model_field)
+ 1 0.000 0.000 0.026 0.026 response_output_item.py:1()
+ 1 0.000 0.000 0.026 0.026 _generate_schema.py:1()
+ 7 0.002 0.000 0.026 0.004 context_service.py:83()
+ 5538 0.007 0.000 0.026 0.000 typing_extensions.py:2976(_is_unpacked_typevartuple)
+ 1 0.000 0.000 0.026 0.026 _loader.py:1()
+ 1 0.000 0.000 0.026 0.026 _figure.py:1()
+ 1 0.000 0.000 0.026 0.026 socket.py:945(getaddrinfo)
+ 3217 0.013 0.000 0.026 0.000 :642(_classify_pyc)
+ 2744 0.003 0.000 0.026 0.000 typing.py:1536()
+ 1 0.025 0.025 0.026 0.026 {built-in method _socket.getaddrinfo}
+ 1 0.000 0.000 0.026 0.026 aws.py:1972(__init__)
+ 4 0.000 0.000 0.025 0.006 request.py:1()
+ 1 0.000 0.000 0.025 0.025 parser_block.py:1()
+ 2 0.000 0.000 0.025 0.013 __init__.py:7(default_backend)
+ 1 0.000 0.000 0.025 0.025 extensions.py:1()
+ 2891 0.005 0.000 0.025 0.000 context_service.py:77(_match_any)
+ 414 0.004 0.000 0.025 0.000 _compiler.py:509(_compile_info)
+ 1 0.000 0.000 0.024 0.024 _connection.py:1()
+ 21985 0.024 0.000 0.024 0.000 {built-in method _imp.acquire_lock}
+ 1 0.000 0.000 0.024 0.024 _client.py:628(__init__)
+ 113 0.000 0.000 0.024 0.000 dataclasses.py:1192(dataclass)
+ 2 0.000 0.000 0.024 0.012 common.py:1()
+ 7 0.000 0.000 0.024 0.003 parser.py:1()
+ 1 0.000 0.000 0.024 0.024 example.py:1()
+ 4459 0.019 0.000 0.024 0.000 :100(acquire)
+ 2 0.000 0.000 0.024 0.012 factory.py:1()
+ 1 0.000 0.000 0.024 0.024 backend.py:1()
+ 3484 0.006 0.000 0.024 0.000 core_schema.py:2364(with_default_schema)
+ 1 0.000 0.000 0.024 0.024 parse_link_label.py:1()
+ 3 0.000 0.000 0.024 0.008 embedding.py:1()
+ 3255 0.012 0.000 0.024 0.000 :778(spec_from_file_location)
+ 1 0.000 0.000 0.023 0.023 gcs_cache.py:1()
+ 1 0.000 0.000 0.023 0.023 amazon_titan_v2_transformation.py:1()
+ 488 0.002 0.000 0.023 0.000 _generate_schema.py:1418(_literal_schema)
+ 220 0.000 0.000 0.023 0.000 __init__.py:634(entry_points)
+ 32903 0.023 0.000 0.023 0.000 _parser.py:231(__next)
+ 1529 0.012 0.000 0.023 0.000 inspect.py:2969(__init__)
+ 1 0.000 0.000 0.023 0.023 services.py:1()
+ 10406 0.015 0.000 0.023 0.000 _generate_schema.py:2567(push)
+ 1 0.000 0.000 0.023 0.023 shape.py:1()
+ 1 0.000 0.000 0.023 0.023 common.py:8(pyparsing_common)
+ 1 0.000 0.000 0.022 0.022 galileo.py:1()
+ 1 0.000 0.000 0.022 0.022 __init__.py:1053(distribution)
+ 1 0.000 0.000 0.022 0.022 __init__.py:449(from_name)
+ 3 0.000 0.000 0.022 0.007 _itertools.py:133(_get_values)
+ 10830 0.016 0.000 0.022 0.000 _model_construction.py:63(__setitem__)
+ 37 0.000 0.000 0.022 0.001 _make.py:1415(wrap)
+ 1 0.000 0.000 0.022 0.022 _client.py:726(_init_transport)
+ 1 0.000 0.000 0.022 0.022 default.py:125(__init__)
+ 1 0.000 0.000 0.022 0.022 _config.py:49(create_ssl_context)
+ 1 0.000 0.000 0.022 0.022 _config.py:67(__init__)
+ 1 0.000 0.000 0.022 0.022 _config.py:81(load_ssl_context)
+ 1 0.000 0.000 0.022 0.022 _config.py:104(load_ssl_context_verify)
+ 1 0.000 0.000 0.022 0.022 bedrock.py:1()
+ 3489 0.009 0.000 0.022 0.000 typing.py:287(_deduplicate)
+ 2407 0.006 0.000 0.022 0.000 _generate_schema.py:424(str_schema)
+ 3567 0.005 0.000 0.021 0.000 :173(__exit__)
+ 1 0.000 0.000 0.021 0.021 tool_permission.py:1()
+ 1 0.000 0.000 0.021 0.021 terminal.py:124(__init__)
+ 4332 0.004 0.000 0.021 0.000 :1421(_path_importer_cache)
+ 1 0.000 0.000 0.021 0.021 litellm_content_filter.py:1()
+ 1 0.000 0.000 0.021 0.021 response_item.py:1()
+ 2288 0.009 0.000 0.021 0.000 _IntegerGMP.py:161(__init__)
+ 1 0.000 0.000 0.021 0.021 gcs_bucket_base.py:1()
+ 7783 0.012 0.000 0.020 0.000 enum.py:691(__call__)
+ 1 0.000 0.000 0.020 0.020 platform.py:646(architecture)
+ 1 0.000 0.000 0.020 0.020 platform.py:602(_syscmd_file)
+ 1 0.000 0.000 0.020 0.020 parsed_response.py:1()
+ 3318 0.006 0.000 0.020 0.000 core_schema.py:2426(nullable_schema)
+ 12874 0.014 0.000 0.020 0.000 :134()
+ 1 0.000 0.000 0.020 0.020 response_computer_tool_call.py:1()
+ 1 0.000 0.000 0.020 0.020 pretty.py:1()
+ 1 0.000 0.000 0.020 0.020 scope.py:1()
+ 3 0.000 0.000 0.020 0.007 configfile.py:475(_getallnodes)
+ 3 0.000 0.000 0.020 0.007 text.py:1()
+ 1 0.000 0.000 0.020 0.020 grayswan.py:1()
+ 336/230 0.002 0.000 0.020 0.000 _decorators.py:352(get_attribute_from_bases)
+ 156 0.001 0.000 0.020 0.000 _doc_utils.py:89(get_doc)
+ 1048/482 0.003 0.000 0.020 0.000 _decorators.py:321(mro_for_bases)
+ 1 0.000 0.000 0.020 0.020 loader.py:1()
+ 1 0.000 0.000 0.020 0.020 terminal.py:270(__init__capabilities)
+ 4459 0.014 0.000 0.020 0.000 :125(release)
+ 8184 0.014 0.000 0.020 0.000 _IntegerGMP.py:695(set)
+ 5464 0.006 0.000 0.020 0.000 _known_annotated_metadata.py:121(expand_grouped_metadata)
+ 1 0.000 0.000 0.020 0.020 openai.py:2131(OpenAIAssistantsAPI)
+ 2121 0.007 0.000 0.020 0.000 _utility.py:381(colorize)
+ 1 0.000 0.000 0.019 0.019 subprocess.py:417(check_output)
+ 1 0.000 0.000 0.019 0.019 subprocess.py:506(run)
+ 3 0.000 0.000 0.019 0.006 lexer.py:1()
+ 1 0.000 0.000 0.019 0.019 _figure.py:16(_figure_class)
+ 31774 0.019 0.000 0.019 0.000 {method 'add' of 'set' objects}
+ 677 0.004 0.000 0.019 0.000 pathlib.py:485(_parse_args)
+ 4 0.000 0.000 0.019 0.005 abc.py:1()
+ 37/34 0.000 0.000 0.019 0.001 :1231(create_module)
+ 1 0.000 0.000 0.019 0.019 enkryptai.py:1()
+ 172 0.002 0.000 0.019 0.000 argparse.py:1424(add_argument)
+ 37/34 0.015 0.000 0.019 0.001 {built-in method _imp.create_dynamic}
+ 3511 0.010 0.000 0.019 0.000 :198(cb)
+ 1 0.000 0.000 0.018 0.018 _sync.py:1()
+ 27/25 0.000 0.000 0.018 0.001 functional_validators.py:123(__get_pydantic_core_schema__)
+ 25 0.000 0.000 0.018 0.001 __init__.py:848(search)
+ 21 0.000 0.000 0.018 0.001 __init__.py:989()
+ 156 0.000 0.000 0.018 0.000 _doc_utils.py:156(get_parameters)
+ 1 0.000 0.000 0.018 0.018 run_step.py:1()
+ 26217 0.018 0.000 0.018 0.000 :244(_verbose_message)
+ 8 0.000 0.000 0.018 0.002 __init__.py:914()
+ 1 0.000 0.000 0.018 0.018 _fileio.py:1()
+ 17 0.000 0.000 0.018 0.001 _functools.py:75(wrapper)
+ 7 0.000 0.000 0.018 0.003 __init__.py:812(search)
+ 3965/968 0.013 0.000 0.018 0.000 _parser.py:172(getwidth)
+ 6138 0.014 0.000 0.018 0.000 _IntegerGMP.py:548(__imod__)
+ 1 0.000 0.000 0.018 0.018 html_block.py:1()
+ 449 0.001 0.000 0.018 0.000 pathlib.py:869(__new__)
+ 1 0.000 0.000 0.018 0.018 oauth2_auth.py:1()
+ 1 0.000 0.000 0.018 0.018 ibm_detector.py:1()
+ 7 0.000 0.000 0.018 0.003 __init__.py:821(lookup)
+ 7 0.002 0.000 0.018 0.003 __init__.py:827(__init__)
+ 2 0.000 0.000 0.018 0.009 completion_create_params.py:1()
+ 17 0.000 0.000 0.018 0.001 _functools.py:76(wrapper)
+ 156 0.003 0.000 0.018 0.000 inspect.py:1336(getfullargspec)
+ 3 0.000 0.000 0.018 0.006 _adapters.py:1()
+ 156 0.000 0.000 0.018 0.000 _doc_utils.py:90()
+ 9 0.000 0.000 0.018 0.002 __init__.py:857(lookup)
+ 1 0.000 0.000 0.018 0.018 function_shell_tool.py:1()
+ 9 0.002 0.000 0.018 0.002 __init__.py:867(__init__)
+ 1 0.000 0.000 0.018 0.018 subprocess.py:1163(communicate)
+ 1 0.000 0.000 0.018 0.018 assistant_stream_event.py:1()
+ 449 0.001 0.000 0.018 0.000 pathlib.py:505(_from_parts)
+ 3069 0.009 0.000 0.018 0.000 _IntegerGMP.py:673(multiply_accumulate)
+ 963 0.009 0.000 0.018 0.000 functools.py:35(update_wrapper)
+ 1 0.000 0.000 0.017 0.017 http_writer.py:1()
+ 1 0.000 0.000 0.017 0.017 vertex_ai.py:1(