beamlit 0.0.52__tar.gz → 0.0.53rc99__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/PKG-INFO +1 -1
- beamlit-0.0.53rc99/doc.sh +1 -0
- beamlit-0.0.53rc99/docs/beamlit/agents/chain.md +93 -0
- beamlit-0.0.53rc99/docs/beamlit/agents/chat.md +93 -0
- beamlit-0.0.53rc99/docs/beamlit/agents/decorator.md +33 -0
- beamlit-0.0.53rc99/docs/beamlit/agents/index.md +74 -0
- beamlit-0.0.53rc99/docs/beamlit/agents/thread.md +19 -0
- beamlit-0.0.53rc99/docs/beamlit/agents/voice/index.md +7 -0
- beamlit-0.0.53rc99/docs/beamlit/agents/voice/openai.md +53 -0
- beamlit-0.0.53rc99/docs/beamlit/agents/voice/utils.md +8 -0
- beamlit-0.0.53rc99/docs/beamlit/api/accounts/delete_account.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/accounts/get_account.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/accounts/index.md +9 -0
- beamlit-0.0.53rc99/docs/beamlit/api/accounts/list_accounts.md +53 -0
- beamlit-0.0.53rc99/docs/beamlit/api/accounts/update_account.md +69 -0
- beamlit-0.0.53rc99/docs/beamlit/api/agents/create_agent.md +57 -0
- beamlit-0.0.53rc99/docs/beamlit/api/agents/create_agent_release.md +57 -0
- beamlit-0.0.53rc99/docs/beamlit/api/agents/delete_agent.md +61 -0
- beamlit-0.0.53rc99/docs/beamlit/api/agents/delete_agent_history.md +53 -0
- beamlit-0.0.53rc99/docs/beamlit/api/agents/get_agent.md +61 -0
- beamlit-0.0.53rc99/docs/beamlit/api/agents/get_agent_environment_logs.md +49 -0
- beamlit-0.0.53rc99/docs/beamlit/api/agents/get_agent_history.md +53 -0
- beamlit-0.0.53rc99/docs/beamlit/api/agents/get_agent_metrics.md +61 -0
- beamlit-0.0.53rc99/docs/beamlit/api/agents/get_agent_trace_ids.md +61 -0
- beamlit-0.0.53rc99/docs/beamlit/api/agents/index.md +18 -0
- beamlit-0.0.53rc99/docs/beamlit/api/agents/list_agent_history.md +49 -0
- beamlit-0.0.53rc99/docs/beamlit/api/agents/list_agents.md +57 -0
- beamlit-0.0.53rc99/docs/beamlit/api/agents/put_agent_history.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/agents/update_agent.md +61 -0
- beamlit-0.0.53rc99/docs/beamlit/api/configurations/get_configuration.md +45 -0
- beamlit-0.0.53rc99/docs/beamlit/api/configurations/index.md +6 -0
- beamlit-0.0.53rc99/docs/beamlit/api/default/create_account.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/default/get_trace.md +57 -0
- beamlit-0.0.53rc99/docs/beamlit/api/default/get_trace_ids.md +77 -0
- beamlit-0.0.53rc99/docs/beamlit/api/default/get_trace_logs.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/default/index.md +9 -0
- beamlit-0.0.53rc99/docs/beamlit/api/environments/create_environment.md +69 -0
- beamlit-0.0.53rc99/docs/beamlit/api/environments/delete_environment.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/environments/get_environment.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/environments/get_environment_metrics.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/environments/index.md +11 -0
- beamlit-0.0.53rc99/docs/beamlit/api/environments/list_environments.md +53 -0
- beamlit-0.0.53rc99/docs/beamlit/api/environments/update_environment.md +73 -0
- beamlit-0.0.53rc99/docs/beamlit/api/functions/create_function.md +57 -0
- beamlit-0.0.53rc99/docs/beamlit/api/functions/create_function_release.md +57 -0
- beamlit-0.0.53rc99/docs/beamlit/api/functions/delete_function.md +61 -0
- beamlit-0.0.53rc99/docs/beamlit/api/functions/get_function.md +61 -0
- beamlit-0.0.53rc99/docs/beamlit/api/functions/get_function_environment_logs.md +49 -0
- beamlit-0.0.53rc99/docs/beamlit/api/functions/get_function_metrics.md +61 -0
- beamlit-0.0.53rc99/docs/beamlit/api/functions/get_function_trace_ids.md +61 -0
- beamlit-0.0.53rc99/docs/beamlit/api/functions/index.md +14 -0
- beamlit-0.0.53rc99/docs/beamlit/api/functions/list_functions.md +57 -0
- beamlit-0.0.53rc99/docs/beamlit/api/functions/update_function.md +61 -0
- beamlit-0.0.53rc99/docs/beamlit/api/history/get_agents_history.md +57 -0
- beamlit-0.0.53rc99/docs/beamlit/api/history/index.md +7 -0
- beamlit-0.0.53rc99/docs/beamlit/api/history/list_agents_history.md +45 -0
- beamlit-0.0.53rc99/docs/beamlit/api/index.md +23 -0
- beamlit-0.0.53rc99/docs/beamlit/api/integrations/create_integration_connection.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/integrations/delete_integration_connection.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/integrations/get_integration.md +35 -0
- beamlit-0.0.53rc99/docs/beamlit/api/integrations/get_integration_connection.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/integrations/get_integration_connection_model.md +37 -0
- beamlit-0.0.53rc99/docs/beamlit/api/integrations/get_integration_model.md +37 -0
- beamlit-0.0.53rc99/docs/beamlit/api/integrations/index.md +15 -0
- beamlit-0.0.53rc99/docs/beamlit/api/integrations/list_integration_connection_models.md +35 -0
- beamlit-0.0.53rc99/docs/beamlit/api/integrations/list_integration_connections.md +53 -0
- beamlit-0.0.53rc99/docs/beamlit/api/integrations/list_integration_models.md +35 -0
- beamlit-0.0.53rc99/docs/beamlit/api/integrations/update_integration_connection.md +69 -0
- beamlit-0.0.53rc99/docs/beamlit/api/invitations/index.md +6 -0
- beamlit-0.0.53rc99/docs/beamlit/api/invitations/list_all_pending_invitations.md +53 -0
- beamlit-0.0.53rc99/docs/beamlit/api/locations/index.md +6 -0
- beamlit-0.0.53rc99/docs/beamlit/api/locations/list_locations.md +53 -0
- beamlit-0.0.53rc99/docs/beamlit/api/metrics/get_metrics.md +53 -0
- beamlit-0.0.53rc99/docs/beamlit/api/metrics/index.md +6 -0
- beamlit-0.0.53rc99/docs/beamlit/api/models/create_model.md +69 -0
- beamlit-0.0.53rc99/docs/beamlit/api/models/delete_model.md +69 -0
- beamlit-0.0.53rc99/docs/beamlit/api/models/get_model.md +69 -0
- beamlit-0.0.53rc99/docs/beamlit/api/models/get_model_environment_logs.md +57 -0
- beamlit-0.0.53rc99/docs/beamlit/api/models/get_model_metrics.md +69 -0
- beamlit-0.0.53rc99/docs/beamlit/api/models/get_model_trace_ids.md +61 -0
- beamlit-0.0.53rc99/docs/beamlit/api/models/index.md +14 -0
- beamlit-0.0.53rc99/docs/beamlit/api/models/list_models.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/models/release_model.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/models/update_model.md +73 -0
- beamlit-0.0.53rc99/docs/beamlit/api/policies/create_policy.md +69 -0
- beamlit-0.0.53rc99/docs/beamlit/api/policies/delete_policy.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/policies/get_policy.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/policies/index.md +10 -0
- beamlit-0.0.53rc99/docs/beamlit/api/policies/list_policies.md +53 -0
- beamlit-0.0.53rc99/docs/beamlit/api/policies/update_policy.md +73 -0
- beamlit-0.0.53rc99/docs/beamlit/api/privateclusters/create_private_cluster.md +45 -0
- beamlit-0.0.53rc99/docs/beamlit/api/privateclusters/delete_private_cluster.md +57 -0
- beamlit-0.0.53rc99/docs/beamlit/api/privateclusters/get_private_cluster.md +57 -0
- beamlit-0.0.53rc99/docs/beamlit/api/privateclusters/get_private_cluster_health.md +31 -0
- beamlit-0.0.53rc99/docs/beamlit/api/privateclusters/index.md +12 -0
- beamlit-0.0.53rc99/docs/beamlit/api/privateclusters/list_private_clusters.md +45 -0
- beamlit-0.0.53rc99/docs/beamlit/api/privateclusters/update_private_cluster.md +57 -0
- beamlit-0.0.53rc99/docs/beamlit/api/privateclusters/update_private_cluster_health.md +31 -0
- beamlit-0.0.53rc99/docs/beamlit/api/service_accounts/create_api_key_for_service_account.md +69 -0
- beamlit-0.0.53rc99/docs/beamlit/api/service_accounts/create_workspace_service_account.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/service_accounts/delete_api_key_for_service_account.md +37 -0
- beamlit-0.0.53rc99/docs/beamlit/api/service_accounts/delete_workspace_service_account.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/service_accounts/get_workspace_service_accounts.md +53 -0
- beamlit-0.0.53rc99/docs/beamlit/api/service_accounts/index.md +12 -0
- beamlit-0.0.53rc99/docs/beamlit/api/service_accounts/list_api_keys_for_service_account.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/service_accounts/update_workspace_service_account.md +69 -0
- beamlit-0.0.53rc99/docs/beamlit/api/store/get_store_agent.md +57 -0
- beamlit-0.0.53rc99/docs/beamlit/api/store/get_store_function.md +57 -0
- beamlit-0.0.53rc99/docs/beamlit/api/store/index.md +9 -0
- beamlit-0.0.53rc99/docs/beamlit/api/store/list_store_agents.md +45 -0
- beamlit-0.0.53rc99/docs/beamlit/api/store/list_store_functions.md +45 -0
- beamlit-0.0.53rc99/docs/beamlit/api/workspaces/accept_workspace_invitation.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/workspaces/create_worspace.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/workspaces/decline_workspace_invitation.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/workspaces/delete_workspace.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/workspaces/get_workspace.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/workspaces/index.md +18 -0
- beamlit-0.0.53rc99/docs/beamlit/api/workspaces/invite_workspace_user.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/workspaces/leave_workspace.md +65 -0
- beamlit-0.0.53rc99/docs/beamlit/api/workspaces/list_workspace_users.md +53 -0
- beamlit-0.0.53rc99/docs/beamlit/api/workspaces/list_workspaces.md +53 -0
- beamlit-0.0.53rc99/docs/beamlit/api/workspaces/remove_workspace_user.md +37 -0
- beamlit-0.0.53rc99/docs/beamlit/api/workspaces/update_workspace.md +69 -0
- beamlit-0.0.53rc99/docs/beamlit/api/workspaces/update_workspace_user_role.md +69 -0
- beamlit-0.0.53rc99/docs/beamlit/api/workspaces/workspace_quotas_request.md +35 -0
- beamlit-0.0.53rc99/docs/beamlit/authentication/apikey.md +36 -0
- beamlit-0.0.53rc99/docs/beamlit/authentication/authentication.md +85 -0
- beamlit-0.0.53rc99/docs/beamlit/authentication/clientcredentials.md +74 -0
- beamlit-0.0.53rc99/docs/beamlit/authentication/credentials.md +165 -0
- beamlit-0.0.53rc99/docs/beamlit/authentication/device_mode.md +143 -0
- beamlit-0.0.53rc99/docs/beamlit/authentication/index.md +357 -0
- beamlit-0.0.53rc99/docs/beamlit/client.md +132 -0
- beamlit-0.0.53rc99/docs/beamlit/common/error.md +18 -0
- beamlit-0.0.53rc99/docs/beamlit/common/index.md +226 -0
- beamlit-0.0.53rc99/docs/beamlit/common/instrumentation.md +48 -0
- beamlit-0.0.53rc99/docs/beamlit/common/logger.md +59 -0
- beamlit-0.0.53rc99/docs/beamlit/common/secrets.md +34 -0
- beamlit-0.0.53rc99/docs/beamlit/common/settings.md +366 -0
- beamlit-0.0.53rc99/docs/beamlit/common/utils.md +21 -0
- beamlit-0.0.53rc99/docs/beamlit/deploy/deploy.md +88 -0
- beamlit-0.0.53rc99/docs/beamlit/deploy/format.md +55 -0
- beamlit-0.0.53rc99/docs/beamlit/deploy/index.md +25 -0
- beamlit-0.0.53rc99/docs/beamlit/deploy/parser.md +67 -0
- beamlit-0.0.53rc99/docs/beamlit/errors.md +14 -0
- beamlit-0.0.53rc99/docs/beamlit/functions/common.md +9 -0
- beamlit-0.0.53rc99/docs/beamlit/functions/decorator.md +27 -0
- beamlit-0.0.53rc99/docs/beamlit/functions/index.md +38 -0
- beamlit-0.0.53rc99/docs/beamlit/functions/mcp/index.md +6 -0
- beamlit-0.0.53rc99/docs/beamlit/functions/mcp/mcp.md +108 -0
- beamlit-0.0.53rc99/docs/beamlit/functions/remote/index.md +6 -0
- beamlit-0.0.53rc99/docs/beamlit/functions/remote/remote.md +91 -0
- beamlit-0.0.53rc99/docs/beamlit/index.md +148 -0
- beamlit-0.0.53rc99/docs/beamlit/models/account.md +94 -0
- beamlit-0.0.53rc99/docs/beamlit/models/account_metadata.md +54 -0
- beamlit-0.0.53rc99/docs/beamlit/models/account_spec.md +54 -0
- beamlit-0.0.53rc99/docs/beamlit/models/account_spec_address.md +28 -0
- beamlit-0.0.53rc99/docs/beamlit/models/acl.md +66 -0
- beamlit-0.0.53rc99/docs/beamlit/models/agent.md +46 -0
- beamlit-0.0.53rc99/docs/beamlit/models/agent_chain.md +42 -0
- beamlit-0.0.53rc99/docs/beamlit/models/agent_history.md +74 -0
- beamlit-0.0.53rc99/docs/beamlit/models/agent_history_event.md +66 -0
- beamlit-0.0.53rc99/docs/beamlit/models/agent_release.md +38 -0
- beamlit-0.0.53rc99/docs/beamlit/models/agent_spec.md +94 -0
- beamlit-0.0.53rc99/docs/beamlit/models/api_key.md +70 -0
- beamlit-0.0.53rc99/docs/beamlit/models/billing_address.md +66 -0
- beamlit-0.0.53rc99/docs/beamlit/models/configuration.md +42 -0
- beamlit-0.0.53rc99/docs/beamlit/models/continent.md +38 -0
- beamlit-0.0.53rc99/docs/beamlit/models/core_event.md +46 -0
- beamlit-0.0.53rc99/docs/beamlit/models/core_spec.md +70 -0
- beamlit-0.0.53rc99/docs/beamlit/models/core_spec_configurations.md +35 -0
- beamlit-0.0.53rc99/docs/beamlit/models/country.md +38 -0
- beamlit-0.0.53rc99/docs/beamlit/models/create_api_key_for_service_account_body.md +36 -0
- beamlit-0.0.53rc99/docs/beamlit/models/create_workspace_service_account_body.md +36 -0
- beamlit-0.0.53rc99/docs/beamlit/models/create_workspace_service_account_response_200.md +52 -0
- beamlit-0.0.53rc99/docs/beamlit/models/delete_workspace_service_account_response_200.md +48 -0
- beamlit-0.0.53rc99/docs/beamlit/models/environment.md +38 -0
- beamlit-0.0.53rc99/docs/beamlit/models/environment_metadata.md +66 -0
- beamlit-0.0.53rc99/docs/beamlit/models/environment_metrics.md +34 -0
- beamlit-0.0.53rc99/docs/beamlit/models/environment_spec.md +34 -0
- beamlit-0.0.53rc99/docs/beamlit/models/flavor.md +38 -0
- beamlit-0.0.53rc99/docs/beamlit/models/function.md +46 -0
- beamlit-0.0.53rc99/docs/beamlit/models/function_kit.md +44 -0
- beamlit-0.0.53rc99/docs/beamlit/models/function_release.md +38 -0
- beamlit-0.0.53rc99/docs/beamlit/models/function_spec.md +87 -0
- beamlit-0.0.53rc99/docs/beamlit/models/get_trace_ids_response_200.md +26 -0
- beamlit-0.0.53rc99/docs/beamlit/models/get_trace_logs_response_200.md +26 -0
- beamlit-0.0.53rc99/docs/beamlit/models/get_trace_response_200.md +26 -0
- beamlit-0.0.53rc99/docs/beamlit/models/get_workspace_service_accounts_response_200_item.md +48 -0
- beamlit-0.0.53rc99/docs/beamlit/models/histogram_bucket.md +42 -0
- beamlit-0.0.53rc99/docs/beamlit/models/histogram_stats.md +46 -0
- beamlit-0.0.53rc99/docs/beamlit/models/index.md +4653 -0
- beamlit-0.0.53rc99/docs/beamlit/models/integration_connection.md +38 -0
- beamlit-0.0.53rc99/docs/beamlit/models/integration_connection_spec.md +46 -0
- beamlit-0.0.53rc99/docs/beamlit/models/integration_connection_spec_config.md +28 -0
- beamlit-0.0.53rc99/docs/beamlit/models/integration_connection_spec_secret.md +28 -0
- beamlit-0.0.53rc99/docs/beamlit/models/integration_model.md +70 -0
- beamlit-0.0.53rc99/docs/beamlit/models/integration_repository.md +46 -0
- beamlit-0.0.53rc99/docs/beamlit/models/invite_workspace_user_body.md +32 -0
- beamlit-0.0.53rc99/docs/beamlit/models/last_n_requests_metric.md +46 -0
- beamlit-0.0.53rc99/docs/beamlit/models/latency_metric.md +46 -0
- beamlit-0.0.53rc99/docs/beamlit/models/location_response.md +50 -0
- beamlit-0.0.53rc99/docs/beamlit/models/metadata.md +62 -0
- beamlit-0.0.53rc99/docs/beamlit/models/metadata_labels.md +28 -0
- beamlit-0.0.53rc99/docs/beamlit/models/metric.md +42 -0
- beamlit-0.0.53rc99/docs/beamlit/models/metrics.md +64 -0
- beamlit-0.0.53rc99/docs/beamlit/models/metrics_models.md +28 -0
- beamlit-0.0.53rc99/docs/beamlit/models/metrics_request_total_per_code.md +28 -0
- beamlit-0.0.53rc99/docs/beamlit/models/metrics_rps_per_code.md +28 -0
- beamlit-0.0.53rc99/docs/beamlit/models/model.md +46 -0
- beamlit-0.0.53rc99/docs/beamlit/models/model_private_cluster.md +42 -0
- beamlit-0.0.53rc99/docs/beamlit/models/model_release.md +38 -0
- beamlit-0.0.53rc99/docs/beamlit/models/model_spec.md +70 -0
- beamlit-0.0.53rc99/docs/beamlit/models/owner_fields.md +38 -0
- beamlit-0.0.53rc99/docs/beamlit/models/pending_invitation.md +62 -0
- beamlit-0.0.53rc99/docs/beamlit/models/pending_invitation_accept.md +38 -0
- beamlit-0.0.53rc99/docs/beamlit/models/pending_invitation_render.md +54 -0
- beamlit-0.0.53rc99/docs/beamlit/models/pending_invitation_render_invited_by.md +46 -0
- beamlit-0.0.53rc99/docs/beamlit/models/pending_invitation_render_workspace.md +38 -0
- beamlit-0.0.53rc99/docs/beamlit/models/pending_invitation_workspace_details.md +38 -0
- beamlit-0.0.53rc99/docs/beamlit/models/pod_template_spec.md +28 -0
- beamlit-0.0.53rc99/docs/beamlit/models/policy.md +38 -0
- beamlit-0.0.53rc99/docs/beamlit/models/policy_location.md +38 -0
- beamlit-0.0.53rc99/docs/beamlit/models/policy_max_tokens.md +54 -0
- beamlit-0.0.53rc99/docs/beamlit/models/policy_spec.md +56 -0
- beamlit-0.0.53rc99/docs/beamlit/models/private_cluster.md +91 -0
- beamlit-0.0.53rc99/docs/beamlit/models/private_location.md +34 -0
- beamlit-0.0.53rc99/docs/beamlit/models/repository.md +38 -0
- beamlit-0.0.53rc99/docs/beamlit/models/request_duration_over_time_metric.md +50 -0
- beamlit-0.0.53rc99/docs/beamlit/models/request_duration_over_time_metrics.md +34 -0
- beamlit-0.0.53rc99/docs/beamlit/models/request_total_by_origin_metric.md +39 -0
- beamlit-0.0.53rc99/docs/beamlit/models/request_total_by_origin_metric_request_total_by_origin.md +28 -0
- beamlit-0.0.53rc99/docs/beamlit/models/request_total_by_origin_metric_request_total_by_origin_and_code.md +28 -0
- beamlit-0.0.53rc99/docs/beamlit/models/request_total_metric.md +47 -0
- beamlit-0.0.53rc99/docs/beamlit/models/request_total_metric_request_total_per_code.md +28 -0
- beamlit-0.0.53rc99/docs/beamlit/models/request_total_metric_rps_per_code.md +28 -0
- beamlit-0.0.53rc99/docs/beamlit/models/resource_environment_metrics.md +76 -0
- beamlit-0.0.53rc99/docs/beamlit/models/resource_environment_metrics_request_total_per_code.md +28 -0
- beamlit-0.0.53rc99/docs/beamlit/models/resource_environment_metrics_rps_per_code.md +28 -0
- beamlit-0.0.53rc99/docs/beamlit/models/resource_log.md +42 -0
- beamlit-0.0.53rc99/docs/beamlit/models/runtime.md +72 -0
- beamlit-0.0.53rc99/docs/beamlit/models/runtime_readiness_probe.md +28 -0
- beamlit-0.0.53rc99/docs/beamlit/models/runtime_resources.md +28 -0
- beamlit-0.0.53rc99/docs/beamlit/models/serverless_config.md +69 -0
- beamlit-0.0.53rc99/docs/beamlit/models/spec_configuration.md +38 -0
- beamlit-0.0.53rc99/docs/beamlit/models/store_agent.md +70 -0
- beamlit-0.0.53rc99/docs/beamlit/models/store_agent_labels.md +28 -0
- beamlit-0.0.53rc99/docs/beamlit/models/store_configuration.md +66 -0
- beamlit-0.0.53rc99/docs/beamlit/models/store_configuration_option.md +42 -0
- beamlit-0.0.53rc99/docs/beamlit/models/store_function.md +78 -0
- beamlit-0.0.53rc99/docs/beamlit/models/store_function_kit.md +44 -0
- beamlit-0.0.53rc99/docs/beamlit/models/store_function_labels.md +28 -0
- beamlit-0.0.53rc99/docs/beamlit/models/store_function_parameter.md +46 -0
- beamlit-0.0.53rc99/docs/beamlit/models/time_fields.md +38 -0
- beamlit-0.0.53rc99/docs/beamlit/models/token_rate_metric.md +46 -0
- beamlit-0.0.53rc99/docs/beamlit/models/token_rate_metrics.md +42 -0
- beamlit-0.0.53rc99/docs/beamlit/models/token_total_metric.md +54 -0
- beamlit-0.0.53rc99/docs/beamlit/models/trace_ids_response.md +28 -0
- beamlit-0.0.53rc99/docs/beamlit/models/update_workspace_service_account_body.md +36 -0
- beamlit-0.0.53rc99/docs/beamlit/models/update_workspace_service_account_response_200.md +48 -0
- beamlit-0.0.53rc99/docs/beamlit/models/update_workspace_user_role_body.md +32 -0
- beamlit-0.0.53rc99/docs/beamlit/models/websocket_channel.md +46 -0
- beamlit-0.0.53rc99/docs/beamlit/models/workspace.md +70 -0
- beamlit-0.0.53rc99/docs/beamlit/models/workspace_labels.md +28 -0
- beamlit-0.0.53rc99/docs/beamlit/models/workspace_user.md +58 -0
- beamlit-0.0.53rc99/docs/beamlit/run.md +51 -0
- beamlit-0.0.53rc99/docs/beamlit/serve/app.md +2 -0
- beamlit-0.0.53rc99/docs/beamlit/serve/index.md +7 -0
- beamlit-0.0.53rc99/docs/beamlit/serve/middlewares/accesslog.md +27 -0
- beamlit-0.0.53rc99/docs/beamlit/serve/middlewares/index.md +52 -0
- beamlit-0.0.53rc99/docs/beamlit/serve/middlewares/processtime.md +27 -0
- beamlit-0.0.53rc99/docs/beamlit/types.md +53 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/pyproject.toml +5 -1
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/agents/chain.py +50 -3
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/agents/chat.py +92 -7
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/agents/decorator.py +43 -9
- beamlit-0.0.53rc99/src/beamlit/agents/thread.py +28 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/agents/voice/openai.py +5 -7
- beamlit-0.0.53rc99/src/beamlit/authentication/apikey.py +50 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/authentication/authentication.py +64 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/authentication/clientcredentials.py +51 -1
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/authentication/credentials.py +117 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/authentication/device_mode.py +78 -0
- beamlit-0.0.53rc99/src/beamlit/common/error.py +27 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/common/instrumentation.py +38 -12
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/common/logger.py +29 -0
- beamlit-0.0.53rc99/src/beamlit/common/secrets.py +39 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/common/settings.py +39 -1
- beamlit-0.0.53rc99/src/beamlit/common/slugify.py +18 -0
- beamlit-0.0.53rc99/src/beamlit/common/utils.py +34 -0
- beamlit-0.0.53rc99/src/beamlit/deploy/__init__.py +8 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/deploy/deploy.py +30 -14
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/deploy/format.py +39 -8
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/deploy/parser.py +16 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/functions/__init__.py +2 -1
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/functions/common.py +57 -8
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/functions/decorator.py +21 -2
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/functions/mcp/mcp.py +15 -2
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/functions/remote/remote.py +29 -4
- beamlit-0.0.53rc99/src/beamlit/run.py +96 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/serve/app.py +23 -5
- beamlit-0.0.53rc99/src/beamlit/serve/middlewares/__init__.py +10 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/serve/middlewares/accesslog.py +16 -0
- beamlit-0.0.53rc99/src/beamlit/serve/middlewares/processtime.py +28 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/integrationtest/voiceagent.py +4 -2
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/uv.lock +39 -1
- beamlit-0.0.52/src/beamlit/agents/thread.py +0 -14
- beamlit-0.0.52/src/beamlit/authentication/apikey.py +0 -20
- beamlit-0.0.52/src/beamlit/common/error.py +0 -9
- beamlit-0.0.52/src/beamlit/common/secrets.py +0 -11
- beamlit-0.0.52/src/beamlit/common/slugify.py +0 -2
- beamlit-0.0.52/src/beamlit/common/utils.py +0 -15
- beamlit-0.0.52/src/beamlit/deploy/__init__.py +0 -3
- beamlit-0.0.52/src/beamlit/run.py +0 -51
- beamlit-0.0.52/src/beamlit/serve/middlewares/__init__.py +0 -4
- beamlit-0.0.52/src/beamlit/serve/middlewares/processtime.py +0 -12
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/.gitignore +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/LICENSE +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/README.md +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/beamlit.yaml +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/agents/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/agents/voice/utils.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/accounts/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/accounts/delete_account.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/accounts/get_account.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/accounts/list_accounts.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/accounts/update_account.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/agents/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/agents/create_agent.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/agents/create_agent_release.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/agents/delete_agent.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/agents/delete_agent_history.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/agents/get_agent.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/agents/get_agent_environment_logs.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/agents/get_agent_history.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/agents/get_agent_metrics.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/agents/get_agent_trace_ids.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/agents/list_agent_history.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/agents/list_agents.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/agents/put_agent_history.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/agents/update_agent.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/configurations/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/configurations/get_configuration.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/default/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/default/create_account.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/default/get_trace.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/default/get_trace_ids.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/default/get_trace_logs.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/environments/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/environments/create_environment.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/environments/delete_environment.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/environments/get_environment.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/environments/get_environment_metrics.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/environments/list_environments.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/environments/update_environment.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/functions/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/functions/create_function.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/functions/create_function_release.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/functions/delete_function.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/functions/get_function.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/functions/get_function_environment_logs.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/functions/get_function_metrics.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/functions/get_function_trace_ids.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/functions/list_functions.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/functions/update_function.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/history/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/history/get_agents_history.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/history/list_agents_history.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/integrations/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/integrations/create_integration_connection.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/integrations/delete_integration_connection.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/integrations/get_integration.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/integrations/get_integration_connection.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/integrations/get_integration_connection_model.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/integrations/get_integration_model.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/integrations/list_integration_connection_models.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/integrations/list_integration_connections.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/integrations/list_integration_models.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/integrations/update_integration_connection.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/invitations/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/invitations/list_all_pending_invitations.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/locations/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/locations/list_locations.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/metrics/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/metrics/get_metrics.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/models/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/models/create_model.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/models/delete_model.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/models/get_model.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/models/get_model_environment_logs.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/models/get_model_metrics.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/models/get_model_trace_ids.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/models/list_models.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/models/release_model.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/models/update_model.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/policies/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/policies/create_policy.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/policies/delete_policy.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/policies/get_policy.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/policies/list_policies.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/policies/update_policy.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/privateclusters/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/privateclusters/create_private_cluster.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/privateclusters/delete_private_cluster.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/privateclusters/get_private_cluster.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/privateclusters/get_private_cluster_health.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/privateclusters/list_private_clusters.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/privateclusters/update_private_cluster.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/privateclusters/update_private_cluster_health.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/service_accounts/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/service_accounts/create_api_key_for_service_account.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/service_accounts/create_workspace_service_account.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/service_accounts/delete_api_key_for_service_account.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/service_accounts/delete_workspace_service_account.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/service_accounts/get_workspace_service_accounts.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/service_accounts/list_api_keys_for_service_account.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/service_accounts/update_workspace_service_account.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/store/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/store/get_store_agent.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/store/get_store_function.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/store/list_store_agents.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/store/list_store_functions.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/workspaces/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/workspaces/accept_workspace_invitation.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/workspaces/create_worspace.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/workspaces/decline_workspace_invitation.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/workspaces/delete_workspace.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/workspaces/get_workspace.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/workspaces/invite_workspace_user.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/workspaces/leave_workspace.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/workspaces/list_workspace_users.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/workspaces/list_workspaces.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/workspaces/remove_workspace_user.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/workspaces/update_workspace.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/workspaces/update_workspace_user_role.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/api/workspaces/workspace_quotas_request.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/authentication/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/client.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/common/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/errors.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/__init__.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/account.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/account_metadata.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/account_spec.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/account_spec_address.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/acl.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/agent.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/agent_chain.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/agent_history.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/agent_history_event.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/agent_release.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/agent_spec.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/api_key.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/billing_address.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/configuration.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/continent.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/core_event.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/core_spec.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/core_spec_configurations.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/country.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/create_api_key_for_service_account_body.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/create_workspace_service_account_body.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/create_workspace_service_account_response_200.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/delete_workspace_service_account_response_200.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/environment.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/environment_metadata.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/environment_metrics.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/environment_spec.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/flavor.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/function.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/function_kit.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/function_release.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/function_spec.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/get_trace_ids_response_200.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/get_trace_logs_response_200.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/get_trace_response_200.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/get_workspace_service_accounts_response_200_item.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/histogram_bucket.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/histogram_stats.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/integration_connection.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/integration_connection_spec.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/integration_connection_spec_config.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/integration_connection_spec_secret.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/integration_model.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/integration_repository.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/invite_workspace_user_body.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/last_n_requests_metric.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/latency_metric.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/location_response.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/metadata.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/metadata_labels.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/metric.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/metrics.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/metrics_models.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/metrics_request_total_per_code.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/metrics_rps_per_code.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/model.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/model_private_cluster.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/model_release.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/model_spec.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/owner_fields.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/pending_invitation.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/pending_invitation_accept.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/pending_invitation_render.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/pending_invitation_render_invited_by.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/pending_invitation_render_workspace.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/pending_invitation_workspace_details.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/pod_template_spec.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/policy.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/policy_location.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/policy_max_tokens.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/policy_spec.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/private_cluster.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/private_location.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/repository.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/request_duration_over_time_metric.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/request_duration_over_time_metrics.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/request_total_by_origin_metric.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/request_total_by_origin_metric_request_total_by_origin.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/request_total_by_origin_metric_request_total_by_origin_and_code.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/request_total_metric.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/request_total_metric_request_total_per_code.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/request_total_metric_rps_per_code.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/resource_environment_metrics.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/resource_environment_metrics_request_total_per_code.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/resource_environment_metrics_rps_per_code.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/resource_log.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/runtime.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/runtime_readiness_probe.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/runtime_resources.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/serverless_config.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/spec_configuration.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/store_agent.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/store_agent_labels.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/store_configuration.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/store_configuration_option.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/store_function.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/store_function_kit.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/store_function_labels.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/store_function_parameter.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/time_fields.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/token_rate_metric.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/token_rate_metrics.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/token_total_metric.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/trace_ids_response.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/update_workspace_service_account_body.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/update_workspace_service_account_response_200.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/update_workspace_user_role_body.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/websocket_channel.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/workspace.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/workspace_labels.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/models/workspace_user.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/py.typed +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/beamlit/types.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/integrationtest/agent.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/integrationtest/beamlit.yaml +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/integrationtest/chat.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/integrationtest/functions/helloworld.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/integrationtest/main.py +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/integrationtest/pyproject.toml +0 -0
- {beamlit-0.0.52 → beamlit-0.0.53rc99}/src/integrationtest/uv.lock +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
uv run beamlit-docs src/beamlit -o docs --force --skip-errors
|
@@ -0,0 +1,93 @@
|
|
1
|
+
Module beamlit.agents.chain
|
2
|
+
===========================
|
3
|
+
|
4
|
+
Classes
|
5
|
+
-------
|
6
|
+
|
7
|
+
`ChainInput(**data: Any)`
|
8
|
+
: A Pydantic model representing the input structure for a chain.
|
9
|
+
|
10
|
+
Create a new model by parsing and validating input data from keyword arguments.
|
11
|
+
|
12
|
+
Raises [`ValidationError`][pydantic_core.ValidationError] if the input data cannot be
|
13
|
+
validated to form a valid model.
|
14
|
+
|
15
|
+
`self` is explicitly positional-only to allow `self` as a field name.
|
16
|
+
|
17
|
+
### Ancestors (in MRO)
|
18
|
+
|
19
|
+
* pydantic.main.BaseModel
|
20
|
+
|
21
|
+
### Class variables
|
22
|
+
|
23
|
+
`inputs: str`
|
24
|
+
:
|
25
|
+
|
26
|
+
`model_config`
|
27
|
+
:
|
28
|
+
|
29
|
+
`ChainTool(**kwargs: Any)`
|
30
|
+
: A tool that allows chaining of agent actions. Extends LangChain's BaseTool.
|
31
|
+
|
32
|
+
Initialize the tool.
|
33
|
+
|
34
|
+
### Ancestors (in MRO)
|
35
|
+
|
36
|
+
* langchain_core.tools.base.BaseTool
|
37
|
+
* langchain_core.runnables.base.RunnableSerializable[Union[str, dict, ToolCall], Any]
|
38
|
+
* langchain_core.runnables.base.RunnableSerializable
|
39
|
+
* langchain_core.load.serializable.Serializable
|
40
|
+
* pydantic.main.BaseModel
|
41
|
+
* langchain_core.runnables.base.Runnable
|
42
|
+
* typing.Generic
|
43
|
+
* abc.ABC
|
44
|
+
|
45
|
+
### Class variables
|
46
|
+
|
47
|
+
`client: beamlit.run.RunClient`
|
48
|
+
:
|
49
|
+
|
50
|
+
`handle_tool_error: bool | str | Callable[[langchain_core.tools.base.ToolException], str] | None`
|
51
|
+
:
|
52
|
+
|
53
|
+
`model_config`
|
54
|
+
:
|
55
|
+
|
56
|
+
### Instance variables
|
57
|
+
|
58
|
+
`tool_call_schema: type[pydantic.main.BaseModel]`
|
59
|
+
: Defines the schema for tool calls based on the provided argument schema.
|
60
|
+
|
61
|
+
Returns:
|
62
|
+
type[pydantic.BaseModel]: The Pydantic model representing the tool call schema.
|
63
|
+
|
64
|
+
`ChainToolkit(client: beamlit.client.AuthenticatedClient, chain: list[beamlit.models.agent_chain.AgentChain])`
|
65
|
+
: A toolkit for managing and initializing a chain of agents.
|
66
|
+
|
67
|
+
### Class variables
|
68
|
+
|
69
|
+
`chain: list[beamlit.models.agent_chain.AgentChain]`
|
70
|
+
:
|
71
|
+
|
72
|
+
`client: beamlit.client.AuthenticatedClient`
|
73
|
+
:
|
74
|
+
|
75
|
+
`model_config`
|
76
|
+
:
|
77
|
+
|
78
|
+
### Methods
|
79
|
+
|
80
|
+
`get_tools(self) ‑> list[langchain_core.tools.base.BaseTool]`
|
81
|
+
: Retrieves a list of tools corresponding to the initialized agents.
|
82
|
+
|
83
|
+
Returns:
|
84
|
+
list[BaseTool]: A list of initialized `ChainTool` instances.
|
85
|
+
|
86
|
+
Raises:
|
87
|
+
RuntimeError: If the toolkit has not been initialized.
|
88
|
+
|
89
|
+
`initialize(self) ‑> None`
|
90
|
+
: Initializes the toolkit by retrieving and configuring the list of agents based on the provided chains.
|
91
|
+
|
92
|
+
Raises:
|
93
|
+
RuntimeError: If initialization fails due to missing agents.
|
@@ -0,0 +1,93 @@
|
|
1
|
+
Module beamlit.agents.chat
|
2
|
+
==========================
|
3
|
+
|
4
|
+
Functions
|
5
|
+
---------
|
6
|
+
|
7
|
+
`get_anthropic_chat_model(**kwargs) ‑> langchain_core.language_models.chat_models.BaseChatModel`
|
8
|
+
: Initializes and returns an Anthropic chat model with the provided keyword arguments.
|
9
|
+
|
10
|
+
Parameters:
|
11
|
+
**kwargs: Arbitrary keyword arguments for configuring the `ChatAnthropic` model.
|
12
|
+
|
13
|
+
Returns:
|
14
|
+
ChatAnthropic: An instance of the Anthropic chat model.
|
15
|
+
|
16
|
+
`get_azure_ai_inference_chat_model(**kwargs)`
|
17
|
+
:
|
18
|
+
|
19
|
+
`get_azure_marketplace_chat_model(**kwargs)`
|
20
|
+
:
|
21
|
+
|
22
|
+
`get_base_url(name: str) ‑> str`
|
23
|
+
: Constructs the base URL for a given model name based on the current settings.
|
24
|
+
|
25
|
+
Parameters:
|
26
|
+
name (str): The name of the model.
|
27
|
+
|
28
|
+
Returns:
|
29
|
+
str: The constructed base URL.
|
30
|
+
|
31
|
+
`get_chat_model(name: str, agent_model: beamlit.models.model.Model | None = None) ‑> langchain_core.language_models.chat_models.BaseChatModel`
|
32
|
+
: Gets a chat model instance for the specified model name.
|
33
|
+
|
34
|
+
Parameters:
|
35
|
+
name (str): The name of the model to retrieve.
|
36
|
+
agent_model (Union[Model, None], optional): A pre-fetched model instance.
|
37
|
+
If None, the model will be fetched from the API. Defaults to None.
|
38
|
+
|
39
|
+
Returns:
|
40
|
+
BaseChatModel: An instance of the appropriate chat model.
|
41
|
+
|
42
|
+
`get_chat_model_full(name: str, agent_model: beamlit.models.model.Model | None = None) ‑> Tuple[langchain_core.language_models.chat_models.BaseChatModel, str, str]`
|
43
|
+
: Gets a chat model instance along with provider and model information.
|
44
|
+
|
45
|
+
Parameters:
|
46
|
+
name (str): The name of the model to retrieve.
|
47
|
+
agent_model (Union[Model, None], optional): A pre-fetched model instance.
|
48
|
+
If None, the model will be fetched from the API. Defaults to None.
|
49
|
+
|
50
|
+
Returns:
|
51
|
+
Tuple[BaseChatModel, str, str]: A tuple containing:
|
52
|
+
- The chat model instance
|
53
|
+
- The provider name (e.g., 'openai', 'anthropic', etc.)
|
54
|
+
- The specific model name (e.g., 'gpt-4o-mini')
|
55
|
+
|
56
|
+
`get_cohere_chat_model(**kwargs) ‑> langchain_core.language_models.chat_models.BaseChatModel`
|
57
|
+
: Initializes and returns a Cohere chat model with the provided keyword arguments.
|
58
|
+
|
59
|
+
Parameters:
|
60
|
+
**kwargs: Arbitrary keyword arguments for configuring the `ChatCohere` model.
|
61
|
+
|
62
|
+
Returns:
|
63
|
+
ChatCohere: An instance of the Cohere chat model.
|
64
|
+
|
65
|
+
`get_deepseek_chat_model(**kwargs)`
|
66
|
+
:
|
67
|
+
|
68
|
+
`get_mistral_chat_model(**kwargs) ‑> langchain_core.language_models.chat_models.BaseChatModel`
|
69
|
+
: Initializes and returns a MistralAI chat model with the provided keyword arguments.
|
70
|
+
|
71
|
+
Parameters:
|
72
|
+
**kwargs: Arbitrary keyword arguments for configuring the `ChatMistralAI` model.
|
73
|
+
|
74
|
+
Returns:
|
75
|
+
ChatMistralAI: An instance of the MistralAI chat model.
|
76
|
+
|
77
|
+
`get_openai_chat_model(**kwargs) ‑> langchain_core.language_models.chat_models.BaseChatModel`
|
78
|
+
: Initializes and returns an OpenAI chat model with the provided keyword arguments.
|
79
|
+
|
80
|
+
Parameters:
|
81
|
+
**kwargs: Arbitrary keyword arguments for configuring the `ChatOpenAI` model.
|
82
|
+
|
83
|
+
Returns:
|
84
|
+
ChatOpenAI: An instance of the OpenAI chat model.
|
85
|
+
|
86
|
+
`get_xai_chat_model(**kwargs) ‑> langchain_core.language_models.chat_models.BaseChatModel`
|
87
|
+
: Initializes and returns an XAI chat model with the provided keyword arguments.
|
88
|
+
|
89
|
+
Parameters:
|
90
|
+
**kwargs: Arbitrary keyword arguments for configuring the `ChatXAI` model.
|
91
|
+
|
92
|
+
Returns:
|
93
|
+
ChatXAI: An instance of the XAI chat model.
|
@@ -0,0 +1,33 @@
|
|
1
|
+
Module beamlit.agents.decorator
|
2
|
+
===============================
|
3
|
+
Module: decorator
|
4
|
+
|
5
|
+
Defines decorators for agent functionalities.
|
6
|
+
|
7
|
+
Functions
|
8
|
+
---------
|
9
|
+
|
10
|
+
`agent(agent: beamlit.models.agent.Agent | dict = None, override_model=None, override_agent=None, override_functions=None, remote_functions=None) ‑> Callable`
|
11
|
+
: A decorator factory that configures and wraps functions to integrate with Beamlit agents.
|
12
|
+
Handles model initialization, function retrieval, and agent setup.
|
13
|
+
|
14
|
+
Parameters:
|
15
|
+
agent (Agent | dict, optional): An `Agent` instance or a dictionary containing agent metadata and specifications.
|
16
|
+
override_model (Any, optional): An optional model to override the default agent model.
|
17
|
+
override_agent (Any, optional): An optional agent instance to override the default agent.
|
18
|
+
mcp_hub (Any, optional): An optional MCP hub configuration.
|
19
|
+
remote_functions (Any, optional): An optional list of remote functions to be integrated.
|
20
|
+
|
21
|
+
Returns:
|
22
|
+
Callable: A decorator that wraps the target function, injecting agent-related configurations and dependencies.
|
23
|
+
|
24
|
+
Behavior:
|
25
|
+
- Validates and initializes the agent configuration.
|
26
|
+
- Retrieves and sets up the appropriate chat model based on the agent's specifications.
|
27
|
+
- Retrieves functions from the specified directories or remote sources.
|
28
|
+
- Wraps the target function, injecting agent, model, and function dependencies as needed.
|
29
|
+
- Logs relevant information and handles exceptions during the setup process.
|
30
|
+
|
31
|
+
Raises:
|
32
|
+
ValueError: If required configurations such as the model are missing.
|
33
|
+
Re-raises exceptions encountered during model retrieval and agent setup.
|
@@ -0,0 +1,74 @@
|
|
1
|
+
Module beamlit.agents
|
2
|
+
=====================
|
3
|
+
|
4
|
+
Sub-modules
|
5
|
+
-----------
|
6
|
+
* beamlit.agents.chain
|
7
|
+
* beamlit.agents.chat
|
8
|
+
* beamlit.agents.decorator
|
9
|
+
* beamlit.agents.thread
|
10
|
+
* beamlit.agents.voice
|
11
|
+
|
12
|
+
Functions
|
13
|
+
---------
|
14
|
+
|
15
|
+
`agent(agent: beamlit.models.agent.Agent | dict = None, override_model=None, override_agent=None, override_functions=None, remote_functions=None) ‑> Callable`
|
16
|
+
: A decorator factory that configures and wraps functions to integrate with Beamlit agents.
|
17
|
+
Handles model initialization, function retrieval, and agent setup.
|
18
|
+
|
19
|
+
Parameters:
|
20
|
+
agent (Agent | dict, optional): An `Agent` instance or a dictionary containing agent metadata and specifications.
|
21
|
+
override_model (Any, optional): An optional model to override the default agent model.
|
22
|
+
override_agent (Any, optional): An optional agent instance to override the default agent.
|
23
|
+
mcp_hub (Any, optional): An optional MCP hub configuration.
|
24
|
+
remote_functions (Any, optional): An optional list of remote functions to be integrated.
|
25
|
+
|
26
|
+
Returns:
|
27
|
+
Callable: A decorator that wraps the target function, injecting agent-related configurations and dependencies.
|
28
|
+
|
29
|
+
Behavior:
|
30
|
+
- Validates and initializes the agent configuration.
|
31
|
+
- Retrieves and sets up the appropriate chat model based on the agent's specifications.
|
32
|
+
- Retrieves functions from the specified directories or remote sources.
|
33
|
+
- Wraps the target function, injecting agent, model, and function dependencies as needed.
|
34
|
+
- Logs relevant information and handles exceptions during the setup process.
|
35
|
+
|
36
|
+
Raises:
|
37
|
+
ValueError: If required configurations such as the model are missing.
|
38
|
+
Re-raises exceptions encountered during model retrieval and agent setup.
|
39
|
+
|
40
|
+
`get_chat_model(name: str, agent_model: beamlit.models.model.Model | None = None) ‑> langchain_core.language_models.chat_models.BaseChatModel`
|
41
|
+
: Gets a chat model instance for the specified model name.
|
42
|
+
|
43
|
+
Parameters:
|
44
|
+
name (str): The name of the model to retrieve.
|
45
|
+
agent_model (Union[Model, None], optional): A pre-fetched model instance.
|
46
|
+
If None, the model will be fetched from the API. Defaults to None.
|
47
|
+
|
48
|
+
Returns:
|
49
|
+
BaseChatModel: An instance of the appropriate chat model.
|
50
|
+
|
51
|
+
`get_chat_model_full(name: str, agent_model: beamlit.models.model.Model | None = None) ‑> Tuple[langchain_core.language_models.chat_models.BaseChatModel, str, str]`
|
52
|
+
: Gets a chat model instance along with provider and model information.
|
53
|
+
|
54
|
+
Parameters:
|
55
|
+
name (str): The name of the model to retrieve.
|
56
|
+
agent_model (Union[Model, None], optional): A pre-fetched model instance.
|
57
|
+
If None, the model will be fetched from the API. Defaults to None.
|
58
|
+
|
59
|
+
Returns:
|
60
|
+
Tuple[BaseChatModel, str, str]: A tuple containing:
|
61
|
+
- The chat model instance
|
62
|
+
- The provider name (e.g., 'openai', 'anthropic', etc.)
|
63
|
+
- The specific model name (e.g., 'gpt-4o-mini')
|
64
|
+
|
65
|
+
`get_default_thread(request: starlette.requests.Request) ‑> str`
|
66
|
+
: Extracts the default thread identifier from an incoming HTTP request.
|
67
|
+
Prioritizes the `X-Beamlit-Sub` header and falls back to decoding the JWT
|
68
|
+
from the `Authorization` or `X-Beamlit-Authorization` headers.
|
69
|
+
|
70
|
+
Parameters:
|
71
|
+
request (Request): The incoming HTTP request object.
|
72
|
+
|
73
|
+
Returns:
|
74
|
+
str: The extracted thread identifier. Returns an empty string if no valid identifier is found.
|
@@ -0,0 +1,19 @@
|
|
1
|
+
Module beamlit.agents.thread
|
2
|
+
============================
|
3
|
+
Module: thread
|
4
|
+
|
5
|
+
Defines threading capabilities for agents.
|
6
|
+
|
7
|
+
Functions
|
8
|
+
---------
|
9
|
+
|
10
|
+
`get_default_thread(request: starlette.requests.Request) ‑> str`
|
11
|
+
: Extracts the default thread identifier from an incoming HTTP request.
|
12
|
+
Prioritizes the `X-Beamlit-Sub` header and falls back to decoding the JWT
|
13
|
+
from the `Authorization` or `X-Beamlit-Authorization` headers.
|
14
|
+
|
15
|
+
Parameters:
|
16
|
+
request (Request): The incoming HTTP request object.
|
17
|
+
|
18
|
+
Returns:
|
19
|
+
str: The extracted thread identifier. Returns an empty string if no valid identifier is found.
|
@@ -0,0 +1,53 @@
|
|
1
|
+
Module beamlit.agents.voice.openai
|
2
|
+
==================================
|
3
|
+
|
4
|
+
Classes
|
5
|
+
-------
|
6
|
+
|
7
|
+
`OpenAIVoiceReactAgent(**data: Any)`
|
8
|
+
: .. beta::
|
9
|
+
|
10
|
+
|
11
|
+
Create a new model by parsing and validating input data from keyword arguments.
|
12
|
+
|
13
|
+
Raises [`ValidationError`][pydantic_core.ValidationError] if the input data cannot be
|
14
|
+
validated to form a valid model.
|
15
|
+
|
16
|
+
`self` is explicitly positional-only to allow `self` as a field name.
|
17
|
+
|
18
|
+
### Ancestors (in MRO)
|
19
|
+
|
20
|
+
* pydantic.main.BaseModel
|
21
|
+
|
22
|
+
### Class variables
|
23
|
+
|
24
|
+
`headers: dict[str, typing.Any]`
|
25
|
+
:
|
26
|
+
|
27
|
+
`instructions: str | None`
|
28
|
+
:
|
29
|
+
|
30
|
+
`model: str`
|
31
|
+
:
|
32
|
+
|
33
|
+
`model_config`
|
34
|
+
:
|
35
|
+
|
36
|
+
`tools: list[langchain_core.tools.base.BaseTool] | None`
|
37
|
+
:
|
38
|
+
|
39
|
+
`url: str`
|
40
|
+
:
|
41
|
+
|
42
|
+
### Methods
|
43
|
+
|
44
|
+
`aconnect(self, input_stream: AsyncIterator[str], send_output_chunk: Callable[[str], Coroutine[Any, Any, None]]) ‑> None`
|
45
|
+
: Connect to the OpenAI API and send and receive messages.
|
46
|
+
|
47
|
+
input_stream: AsyncIterator[str]
|
48
|
+
Stream of input events to send to the model. Usually transports input_audio_buffer.append events from the microphone.
|
49
|
+
output: Callable[[str], None]
|
50
|
+
Callback to receive output events from the model. Usually sends response.audio.delta events to the speaker.
|
51
|
+
|
52
|
+
`bind_tools(self, tools: list[langchain_core.tools.base.BaseTool]) ‑> None`
|
53
|
+
:
|
@@ -0,0 +1,65 @@
|
|
1
|
+
Module beamlit.api.accounts.delete_account
|
2
|
+
==========================================
|
3
|
+
|
4
|
+
Functions
|
5
|
+
---------
|
6
|
+
|
7
|
+
`asyncio(account_id: str, *, client: beamlit.client.AuthenticatedClient) ‑> beamlit.models.account.Account | Any | None`
|
8
|
+
: Delete account
|
9
|
+
|
10
|
+
Deletes an account by name.
|
11
|
+
|
12
|
+
Args:
|
13
|
+
account_id (str):
|
14
|
+
|
15
|
+
Raises:
|
16
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
17
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
18
|
+
|
19
|
+
Returns:
|
20
|
+
Union[Account, Any]
|
21
|
+
|
22
|
+
`asyncio_detailed(account_id: str, *, client: beamlit.client.AuthenticatedClient) ‑> beamlit.types.Response[beamlit.models.account.Account | Any]`
|
23
|
+
: Delete account
|
24
|
+
|
25
|
+
Deletes an account by name.
|
26
|
+
|
27
|
+
Args:
|
28
|
+
account_id (str):
|
29
|
+
|
30
|
+
Raises:
|
31
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
32
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
33
|
+
|
34
|
+
Returns:
|
35
|
+
Response[Union[Account, Any]]
|
36
|
+
|
37
|
+
`sync(account_id: str, *, client: beamlit.client.AuthenticatedClient) ‑> beamlit.models.account.Account | Any | None`
|
38
|
+
: Delete account
|
39
|
+
|
40
|
+
Deletes an account by name.
|
41
|
+
|
42
|
+
Args:
|
43
|
+
account_id (str):
|
44
|
+
|
45
|
+
Raises:
|
46
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
47
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
48
|
+
|
49
|
+
Returns:
|
50
|
+
Union[Account, Any]
|
51
|
+
|
52
|
+
`sync_detailed(account_id: str, *, client: beamlit.client.AuthenticatedClient) ‑> beamlit.types.Response[beamlit.models.account.Account | Any]`
|
53
|
+
: Delete account
|
54
|
+
|
55
|
+
Deletes an account by name.
|
56
|
+
|
57
|
+
Args:
|
58
|
+
account_id (str):
|
59
|
+
|
60
|
+
Raises:
|
61
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
62
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
63
|
+
|
64
|
+
Returns:
|
65
|
+
Response[Union[Account, Any]]
|
@@ -0,0 +1,65 @@
|
|
1
|
+
Module beamlit.api.accounts.get_account
|
2
|
+
=======================================
|
3
|
+
|
4
|
+
Functions
|
5
|
+
---------
|
6
|
+
|
7
|
+
`asyncio(account_id: str, *, client: beamlit.client.AuthenticatedClient) ‑> beamlit.models.account.Account | None`
|
8
|
+
: Get account by name
|
9
|
+
|
10
|
+
Returns an account by name.
|
11
|
+
|
12
|
+
Args:
|
13
|
+
account_id (str):
|
14
|
+
|
15
|
+
Raises:
|
16
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
17
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
18
|
+
|
19
|
+
Returns:
|
20
|
+
Account
|
21
|
+
|
22
|
+
`asyncio_detailed(account_id: str, *, client: beamlit.client.AuthenticatedClient) ‑> beamlit.types.Response[beamlit.models.account.Account]`
|
23
|
+
: Get account by name
|
24
|
+
|
25
|
+
Returns an account by name.
|
26
|
+
|
27
|
+
Args:
|
28
|
+
account_id (str):
|
29
|
+
|
30
|
+
Raises:
|
31
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
32
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
33
|
+
|
34
|
+
Returns:
|
35
|
+
Response[Account]
|
36
|
+
|
37
|
+
`sync(account_id: str, *, client: beamlit.client.AuthenticatedClient) ‑> beamlit.models.account.Account | None`
|
38
|
+
: Get account by name
|
39
|
+
|
40
|
+
Returns an account by name.
|
41
|
+
|
42
|
+
Args:
|
43
|
+
account_id (str):
|
44
|
+
|
45
|
+
Raises:
|
46
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
47
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
48
|
+
|
49
|
+
Returns:
|
50
|
+
Account
|
51
|
+
|
52
|
+
`sync_detailed(account_id: str, *, client: beamlit.client.AuthenticatedClient) ‑> beamlit.types.Response[beamlit.models.account.Account]`
|
53
|
+
: Get account by name
|
54
|
+
|
55
|
+
Returns an account by name.
|
56
|
+
|
57
|
+
Args:
|
58
|
+
account_id (str):
|
59
|
+
|
60
|
+
Raises:
|
61
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
62
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
63
|
+
|
64
|
+
Returns:
|
65
|
+
Response[Account]
|
@@ -0,0 +1,53 @@
|
|
1
|
+
Module beamlit.api.accounts.list_accounts
|
2
|
+
=========================================
|
3
|
+
|
4
|
+
Functions
|
5
|
+
---------
|
6
|
+
|
7
|
+
`asyncio(*, client: beamlit.client.AuthenticatedClient) ‑> list[beamlit.models.account.Account] | None`
|
8
|
+
: List accounts
|
9
|
+
|
10
|
+
Returns a list of all accounts.
|
11
|
+
|
12
|
+
Raises:
|
13
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
14
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
15
|
+
|
16
|
+
Returns:
|
17
|
+
list['Account']
|
18
|
+
|
19
|
+
`asyncio_detailed(*, client: beamlit.client.AuthenticatedClient) ‑> beamlit.types.Response[list[beamlit.models.account.Account]]`
|
20
|
+
: List accounts
|
21
|
+
|
22
|
+
Returns a list of all accounts.
|
23
|
+
|
24
|
+
Raises:
|
25
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
26
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
27
|
+
|
28
|
+
Returns:
|
29
|
+
Response[list['Account']]
|
30
|
+
|
31
|
+
`sync(*, client: beamlit.client.AuthenticatedClient) ‑> list[beamlit.models.account.Account] | None`
|
32
|
+
: List accounts
|
33
|
+
|
34
|
+
Returns a list of all accounts.
|
35
|
+
|
36
|
+
Raises:
|
37
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
38
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
39
|
+
|
40
|
+
Returns:
|
41
|
+
list['Account']
|
42
|
+
|
43
|
+
`sync_detailed(*, client: beamlit.client.AuthenticatedClient) ‑> beamlit.types.Response[list[beamlit.models.account.Account]]`
|
44
|
+
: List accounts
|
45
|
+
|
46
|
+
Returns a list of all accounts.
|
47
|
+
|
48
|
+
Raises:
|
49
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
50
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
51
|
+
|
52
|
+
Returns:
|
53
|
+
Response[list['Account']]
|
@@ -0,0 +1,69 @@
|
|
1
|
+
Module beamlit.api.accounts.update_account
|
2
|
+
==========================================
|
3
|
+
|
4
|
+
Functions
|
5
|
+
---------
|
6
|
+
|
7
|
+
`asyncio(account_id: str, *, client: beamlit.client.AuthenticatedClient, body: beamlit.models.account.Account) ‑> beamlit.models.account.Account | None`
|
8
|
+
: Update account
|
9
|
+
|
10
|
+
Updates an account by name.
|
11
|
+
|
12
|
+
Args:
|
13
|
+
account_id (str):
|
14
|
+
body (Account): Account
|
15
|
+
|
16
|
+
Raises:
|
17
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
18
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
19
|
+
|
20
|
+
Returns:
|
21
|
+
Account
|
22
|
+
|
23
|
+
`asyncio_detailed(account_id: str, *, client: beamlit.client.AuthenticatedClient, body: beamlit.models.account.Account) ‑> beamlit.types.Response[beamlit.models.account.Account]`
|
24
|
+
: Update account
|
25
|
+
|
26
|
+
Updates an account by name.
|
27
|
+
|
28
|
+
Args:
|
29
|
+
account_id (str):
|
30
|
+
body (Account): Account
|
31
|
+
|
32
|
+
Raises:
|
33
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
34
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
35
|
+
|
36
|
+
Returns:
|
37
|
+
Response[Account]
|
38
|
+
|
39
|
+
`sync(account_id: str, *, client: beamlit.client.AuthenticatedClient, body: beamlit.models.account.Account) ‑> beamlit.models.account.Account | None`
|
40
|
+
: Update account
|
41
|
+
|
42
|
+
Updates an account by name.
|
43
|
+
|
44
|
+
Args:
|
45
|
+
account_id (str):
|
46
|
+
body (Account): Account
|
47
|
+
|
48
|
+
Raises:
|
49
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
50
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
51
|
+
|
52
|
+
Returns:
|
53
|
+
Account
|
54
|
+
|
55
|
+
`sync_detailed(account_id: str, *, client: beamlit.client.AuthenticatedClient, body: beamlit.models.account.Account) ‑> beamlit.types.Response[beamlit.models.account.Account]`
|
56
|
+
: Update account
|
57
|
+
|
58
|
+
Updates an account by name.
|
59
|
+
|
60
|
+
Args:
|
61
|
+
account_id (str):
|
62
|
+
body (Account): Account
|
63
|
+
|
64
|
+
Raises:
|
65
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
66
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
67
|
+
|
68
|
+
Returns:
|
69
|
+
Response[Account]
|