beamlit 0.0.22rc11__tar.gz → 0.0.23rc13__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/PKG-INFO +1 -1
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/pyproject.toml +1 -1
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/agents/chat.py +2 -1
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/agents/decorator.py +7 -2
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/authentication/authentication.py +0 -1
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/authentication/credentials.py +1 -1
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/client.py +0 -1
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/common/settings.py +12 -11
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/functions/decorator.py +5 -10
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/serve/app.py +0 -1
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/.gitignore +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/README.md +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/beamlit.yaml +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/agents/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/create_agent.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/create_agent_release.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/delete_agent.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/delete_agent_deployment.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/delete_agent_deployment_history.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/delete_agent_history.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/get_agent.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/get_agent_deployment.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/get_agent_deployment_history.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/get_agent_deployment_logs.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/get_agent_deployment_metrics.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/get_agent_environment_logs.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/get_agent_history.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/get_agent_metrics.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/list_agent_deployment_history.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/list_agent_deployments.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/list_agent_history.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/list_agents.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/put_agent_deployment.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/put_agent_deployment_history.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/put_agent_history.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/update_agent.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/configurations/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/configurations/get_configuration.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/environments/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/environments/create_environment.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/environments/delete_environment.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/environments/get_environment.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/environments/get_environment_metrics.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/environments/list_environments.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/environments/update_environment.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/create_function.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/create_function_release.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/delete_function.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/delete_function_deployment.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/get_function.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/get_function_deployment.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/get_function_deployment_logs.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/get_function_deployment_metrics.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/get_function_environment_logs.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/get_function_metrics.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/list_function_deployments.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/list_functions.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/put_function_deployment.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/update_function.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/history/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/history/get_agents_history.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/history/list_agents_history.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/integrations/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/integrations/create_integration_connection.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/integrations/delete_integration_connection.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/integrations/get_integration.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/integrations/get_integration_connection.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/integrations/get_integration_connection_model.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/integrations/get_integration_model.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/integrations/list_integration_connection_models.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/integrations/list_integration_connections.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/integrations/list_integration_models.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/integrations/update_integration_connection.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/invitations/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/invitations/list_all_pending_invitations.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/locations/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/locations/list_locations.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/metrics/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/metrics/get_metrics.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/model_providers/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/model_providers/create_model_provider.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/model_providers/delete_model_provider.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/model_providers/get_model_provider.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/model_providers/list_model_providers.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/model_providers/update_model_provider.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/models/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/models/create_model.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/models/delete_model.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/models/delete_model_deployment.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/models/get_model.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/models/get_model_deployment.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/models/get_model_deployment_logs.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/models/get_model_deployment_metrics.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/models/get_model_environment_logs.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/models/get_model_metrics.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/models/list_model_deployments.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/models/list_models.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/models/put_model_deployment.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/models/release_model.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/models/update_model.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/policies/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/policies/create_policy.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/policies/delete_policy.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/policies/get_policy.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/policies/list_policies.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/policies/update_policy.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/service_accounts/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/service_accounts/create_api_key_for_service_account.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/service_accounts/create_workspace_service_account.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/service_accounts/delete_api_key_for_service_account.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/service_accounts/delete_workspace_service_account.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/service_accounts/get_workspace_service_accounts.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/service_accounts/list_api_keys_for_service_account.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/service_accounts/update_workspace_service_account.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/store/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/store/get_store_agent.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/store/get_store_function.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/store/list_store_agents.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/store/list_store_functions.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/workspaces/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/workspaces/accept_workspace_invitation.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/workspaces/create_worspace.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/workspaces/decline_workspace_invitation.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/workspaces/delete_workspace.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/workspaces/get_workspace.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/workspaces/invite_workspace_user.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/workspaces/leave_workspace.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/workspaces/list_workspace_users.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/workspaces/list_workspaces.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/workspaces/remove_workspace_user.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/workspaces/update_workspace.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/workspaces/update_workspace_user_role.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/authentication/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/authentication/apikey.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/authentication/clientcredentials.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/authentication/device_mode.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/common/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/common/generate.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/common/logger.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/common/secrets.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/common/utils.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/errors.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/functions/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/functions/github/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/functions/github/github.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/functions/github/kit/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/functions/github/kit/pull_request.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/functions/math/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/functions/math/math.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/functions/search/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/functions/search/search.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/acl.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/agent.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/agent_chain.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/agent_configuration.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/agent_deployment.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/agent_deployment_configuration.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/agent_deployment_configuration_type_0.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/agent_deployment_history.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/agent_deployment_history_event.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/agent_deployment_pod_template.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/agent_deployment_pod_template_type_0.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/agent_history.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/agent_history_event.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/agent_metadata.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/agent_release.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/agent_spec.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/agent_with_deployments.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/api_key.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/authentication_provider_model.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/authentication_provider_organization.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/configuration.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/continent.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/core_spec.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/country.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/create_api_key_for_service_account_body.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/create_workspace_service_account_body.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/create_workspace_service_account_response_200.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/delete_workspace_service_account_response_200.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/deployment_configuration.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/deployment_configurations.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/deployment_serverless_config.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/deployment_serverless_config_type_0.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/environment.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/environment_metrics.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/environment_spec.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/flavor.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/function.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/function_configuration.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/function_deployment.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/function_deployment_configuration.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/function_deployment_configuration_type_0.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/function_deployment_pod_template.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/function_deployment_pod_template_type_0.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/function_kit.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/function_metadata.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/function_provider_ref.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/function_release.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/function_spec.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/function_with_deployments.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/get_workspace_service_accounts_response_200_item.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/increase_and_rate_metric.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/integration.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/integration_config.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/integration_connection.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/integration_connection_config.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/integration_connection_secret.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/integration_connection_spec.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/integration_model.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/integration_secret.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/invite_workspace_user_body.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/labels_type_0.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/location.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/location_response.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/metadata.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/metadata_labels.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/metric.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/metrics.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/model.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/model_deployment.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/model_deployment_log.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/model_deployment_metrics.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/model_deployment_metrics_inference_per_second_per_region.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/model_deployment_metrics_query_per_second_per_region_per_code.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/model_deployment_pod_template.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/model_deployment_pod_template_type_0.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/model_metadata.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/model_metrics.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/model_provider.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/model_provider_ref.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/model_release.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/model_spec.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/model_with_deployments.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/owner_fields.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/pending_invitation.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/pending_invitation_accept.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/pending_invitation_render.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/pending_invitation_render_invited_by.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/pending_invitation_render_workspace.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/pending_invitation_workspace_details.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/pod_template_spec.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/policy.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/policy_location.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/policy_spec.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/provider_config.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/qps.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/resource_deployment_log.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/resource_deployment_metrics.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/resource_deployment_metrics_inference_per_region.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/resource_deployment_metrics_inference_per_region_type_0.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/resource_deployment_metrics_inference_per_second_per_region.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/resource_deployment_metrics_inference_per_second_per_region_type_0.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/resource_deployment_metrics_query_per_region_per_code.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/resource_deployment_metrics_query_per_region_per_code_type_0.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/resource_deployment_metrics_query_per_second_per_region_per_code.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/resource_deployment_metrics_query_per_second_per_region_per_code_type_0.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/resource_environment_metrics.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/resource_environment_metrics_inference_per_second_per_region.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/resource_environment_metrics_query_per_second_per_region_per_code.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/resource_log.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/resource_metrics.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/runtime.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/runtime_readiness_probe.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/runtime_readiness_probe_type_0.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/runtime_resources.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/runtime_type_0.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/runtime_type_0_readiness_probe.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/runtime_type_0_readiness_probe_type_0.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/runtime_type_0_resources.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/serverless_config.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/spec_configuration.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/standard_fields_dynamo_db.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/store_agent.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/store_agent_configuration.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/store_agent_labels.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/store_agent_labels_type_0.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/store_configuration.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/store_configuration_option.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/store_function.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/store_function_configuration.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/store_function_kit.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/store_function_labels.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/store_function_labels_type_0.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/store_function_parameter.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/time_fields.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/update_workspace_service_account_body.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/update_workspace_service_account_response_200.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/update_workspace_user_role_body.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/websocket_channel.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/workspace.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/workspace_labels.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/models/workspace_user.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/py.typed +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/run.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/serve/middlewares/__init__.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/serve/middlewares/accesslog.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/serve/middlewares/processtime.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/types.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/integrationtest/agent.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/integrationtest/functions/helloworld.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/integrationtest/main.py +0 -0
- {beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/uv.lock +0 -0
@@ -37,12 +37,13 @@ def get_chat_model(agent_model: AgentDeployment):
|
|
37
37
|
headers = get_authentication_headers(settings)
|
38
38
|
headers["X-Beamlit-Environment"] = agent_model.environment
|
39
39
|
|
40
|
-
jwt = headers.
|
40
|
+
jwt = headers.get("X-Beamlit-Authorization", "").replace("Bearer ", "")
|
41
41
|
params = {"environment": agent_model.environment}
|
42
42
|
chat_classes = {
|
43
43
|
"openai": {
|
44
44
|
"func": get_openai_chat_model,
|
45
45
|
"kwargs": {
|
46
|
+
"http_async_client": client.get_async_httpx_client(),
|
46
47
|
"http_client": client.get_httpx_client(),
|
47
48
|
},
|
48
49
|
},
|
@@ -1,9 +1,11 @@
|
|
1
1
|
# Import necessary modules
|
2
2
|
import ast
|
3
|
+
import asyncio
|
3
4
|
import importlib
|
4
5
|
import os
|
5
6
|
from logging import getLogger
|
6
7
|
|
8
|
+
from langchain_core.tools import Tool
|
7
9
|
from langgraph.checkpoint.memory import MemorySaver
|
8
10
|
from langgraph.prebuilt import create_react_agent
|
9
11
|
|
@@ -35,7 +37,7 @@ def get_functions(dir="src/functions", from_decorator="function"):
|
|
35
37
|
# Look for function definitions with decorators
|
36
38
|
for node in ast.walk(tree):
|
37
39
|
if (
|
38
|
-
not isinstance(node, ast.FunctionDef)
|
40
|
+
(not isinstance(node, ast.FunctionDef) and not isinstance(node, ast.AsyncFunctionDef))
|
39
41
|
or len(node.decorator_list) == 0
|
40
42
|
):
|
41
43
|
continue
|
@@ -73,7 +75,10 @@ def get_functions(dir="src/functions", from_decorator="function"):
|
|
73
75
|
# Get the decorated function
|
74
76
|
if not is_kit and hasattr(module, func_name):
|
75
77
|
func = getattr(module, func_name)
|
76
|
-
|
78
|
+
if asyncio.iscoroutinefunction(func):
|
79
|
+
functions.append(Tool(name=func.__name__, description=func.__doc__, func=func, coroutine=func))
|
80
|
+
else:
|
81
|
+
functions.append(Tool(name=func.__name__, description=func.__doc__, func=func))
|
77
82
|
except Exception as e:
|
78
83
|
logger.warning(f"Error processing {file_path}: {e!s}")
|
79
84
|
return functions
|
@@ -130,7 +130,7 @@ def load_credentials(workspace_name: str) -> Credentials:
|
|
130
130
|
def load_credentials_from_settings(settings: Settings) -> Credentials:
|
131
131
|
return Credentials(
|
132
132
|
api_key=settings.authentication.api_key,
|
133
|
-
client_credentials=settings.authentication.
|
133
|
+
client_credentials=settings.authentication.client.credentials,
|
134
134
|
)
|
135
135
|
|
136
136
|
|
@@ -248,7 +248,6 @@ class AuthenticatedClient:
|
|
248
248
|
def get_async_httpx_client(self) -> httpx.AsyncClient:
|
249
249
|
"""Get the underlying httpx.AsyncClient, constructing a new one if not previously set"""
|
250
250
|
if self._async_client is None:
|
251
|
-
self._headers[self.auth_header_name] = f"{self.prefix} {self.token}" if self.prefix else self.token
|
252
251
|
self._async_client = httpx.AsyncClient(
|
253
252
|
base_url=self._base_url,
|
254
253
|
cookies=self._cookies,
|
@@ -2,16 +2,6 @@ import os
|
|
2
2
|
from logging import getLogger
|
3
3
|
from typing import List, Tuple, Type, Union
|
4
4
|
|
5
|
-
from langchain_core.language_models.chat_models import BaseChatModel
|
6
|
-
from langgraph.graph.graph import CompiledGraph
|
7
|
-
from pydantic import Field
|
8
|
-
from pydantic_settings import (
|
9
|
-
BaseSettings,
|
10
|
-
PydanticBaseSettingsSource,
|
11
|
-
SettingsConfigDict,
|
12
|
-
YamlConfigSettingsSource,
|
13
|
-
)
|
14
|
-
|
15
5
|
from beamlit.api.functions import get_function_deployment
|
16
6
|
from beamlit.api.models import get_model_deployment
|
17
7
|
from beamlit.client import AuthenticatedClient
|
@@ -20,6 +10,11 @@ from beamlit.models.agent_deployment import AgentDeployment
|
|
20
10
|
from beamlit.models.function_deployment import FunctionDeployment
|
21
11
|
from beamlit.models.model_deployment import ModelDeployment
|
22
12
|
from beamlit.types import UNSET, Unset
|
13
|
+
from langchain_core.language_models.chat_models import BaseChatModel
|
14
|
+
from langgraph.graph.graph import CompiledGraph
|
15
|
+
from pydantic import Field
|
16
|
+
from pydantic_settings import (BaseSettings, PydanticBaseSettingsSource,
|
17
|
+
SettingsConfigDict, YamlConfigSettingsSource)
|
23
18
|
|
24
19
|
global SETTINGS
|
25
20
|
SETTINGS = None
|
@@ -39,10 +34,14 @@ class SettingsAgent(BaseSettings):
|
|
39
34
|
module: str = Field(default="main.main")
|
40
35
|
|
41
36
|
|
37
|
+
class SettingsAuthenticationClient(BaseSettings):
|
38
|
+
credentials: Union[None, str] = None
|
39
|
+
|
40
|
+
|
42
41
|
class SettingsAuthentication(BaseSettings):
|
43
42
|
api_key: Union[None, str] = None
|
44
43
|
jwt: Union[None, str] = None
|
45
|
-
|
44
|
+
client: SettingsAuthenticationClient = SettingsAuthenticationClient()
|
46
45
|
|
47
46
|
|
48
47
|
class SettingsServer(BaseSettings):
|
@@ -56,10 +55,12 @@ class Settings(BaseSettings):
|
|
56
55
|
yaml_file="beamlit.yaml",
|
57
56
|
env_prefix="bl_",
|
58
57
|
env_nested_delimiter="_",
|
58
|
+
extra="ignore",
|
59
59
|
)
|
60
60
|
|
61
61
|
workspace: str
|
62
62
|
environment: str = Field(default="production")
|
63
|
+
remote: bool = Field(default=False)
|
63
64
|
type: str = Field(default="agent")
|
64
65
|
name: str = Field(default="beamlit-agent")
|
65
66
|
base_url: str = Field(default="https://api.beamlit.dev/v0")
|
@@ -3,12 +3,11 @@
|
|
3
3
|
from collections.abc import Callable
|
4
4
|
from logging import getLogger
|
5
5
|
|
6
|
-
from langchain_core.tools import create_schema_from_function, tool
|
7
|
-
|
8
6
|
from beamlit.authentication import new_client
|
9
7
|
from beamlit.common.settings import get_settings
|
10
8
|
from beamlit.models import FunctionDeployment, FunctionKit
|
11
9
|
from beamlit.run import RunClient
|
10
|
+
from langchain_core.tools import create_schema_from_function
|
12
11
|
|
13
12
|
logger = getLogger(__name__)
|
14
13
|
|
@@ -58,7 +57,7 @@ def kit(bl_kit: FunctionKit = None, **kwargs: dict) -> Callable:
|
|
58
57
|
def wrapper(func: Callable) -> Callable:
|
59
58
|
if bl_kit and not func.__doc__ and bl_kit.description:
|
60
59
|
func.__doc__ = bl_kit.description
|
61
|
-
return
|
60
|
+
return func
|
62
61
|
|
63
62
|
return wrapper
|
64
63
|
|
@@ -72,10 +71,7 @@ def function(
|
|
72
71
|
def wrapper(func: Callable) -> Callable:
|
73
72
|
if bl_function and not func.__doc__ and bl_function.description:
|
74
73
|
func.__doc__ = bl_function.description
|
75
|
-
if
|
76
|
-
settings.environment == "development"
|
77
|
-
or settings.environment == "production"
|
78
|
-
):
|
74
|
+
if settings.remote:
|
79
75
|
remote_func = get_remote_function(func, bl_function)
|
80
76
|
if not kwargs.get("args_schema"):
|
81
77
|
kwargs["args_schema"] = create_schema_from_function(
|
@@ -83,8 +79,7 @@ def function(
|
|
83
79
|
func,
|
84
80
|
parse_docstring=func.__doc__,
|
85
81
|
)
|
86
|
-
return
|
87
|
-
return
|
82
|
+
return remote_func
|
83
|
+
return func
|
88
84
|
|
89
85
|
return wrapper
|
90
|
-
return wrapper
|
@@ -16,7 +16,6 @@ from .middlewares import AccessLogMiddleware, AddProcessTimeHeader
|
|
16
16
|
sys.path.insert(0, os.getcwd())
|
17
17
|
sys.path.insert(0, os.path.join(os.getcwd(), "src"))
|
18
18
|
|
19
|
-
|
20
19
|
def import_module():
|
21
20
|
settings = get_settings()
|
22
21
|
main_module = importlib.import_module(".".join(settings.server.module.split(".")[0:-1]))
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/delete_agent_deployment_history.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/get_agent_deployment_history.py
RENAMED
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/get_agent_deployment_logs.py
RENAMED
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/get_agent_deployment_metrics.py
RENAMED
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/get_agent_environment_logs.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/list_agent_deployment_history.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/agents/put_agent_deployment_history.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/configurations/get_configuration.py
RENAMED
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/environments/create_environment.py
RENAMED
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/environments/delete_environment.py
RENAMED
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/environments/get_environment_metrics.py
RENAMED
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/environments/update_environment.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/create_function_release.py
RENAMED
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/delete_function_deployment.py
RENAMED
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/get_function_deployment.py
RENAMED
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/get_function_deployment_logs.py
RENAMED
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/get_function_environment_logs.py
RENAMED
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/list_function_deployments.py
RENAMED
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/functions/put_function_deployment.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/integrations/get_integration_connection.py
RENAMED
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/integrations/get_integration_model.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/integrations/list_integration_models.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/model_providers/create_model_provider.py
RENAMED
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/model_providers/delete_model_provider.py
RENAMED
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/model_providers/get_model_provider.py
RENAMED
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/model_providers/list_model_providers.py
RENAMED
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/model_providers/update_model_provider.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/models/get_model_deployment_logs.py
RENAMED
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/models/get_model_deployment_metrics.py
RENAMED
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/models/get_model_environment_logs.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/workspaces/accept_workspace_invitation.py
RENAMED
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/workspaces/decline_workspace_invitation.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/workspaces/invite_workspace_user.py
RENAMED
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/workspaces/list_workspace_users.py
RENAMED
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/workspaces/remove_workspace_user.py
RENAMED
File without changes
|
File without changes
|
{beamlit-0.0.22rc11 → beamlit-0.0.23rc13}/src/beamlit/api/workspaces/update_workspace_user_role.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|