beamlit 0.0.37__tar.gz → 0.0.38__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.37 → beamlit-0.0.38}/PKG-INFO +7 -2
- {beamlit-0.0.37 → beamlit-0.0.38}/pyproject.toml +7 -2
- beamlit-0.0.38/src/beamlit/agents/__init__.py +5 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/agents/chat.py +22 -4
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/agents/decorator.py +16 -12
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/common/instrumentation.py +3 -3
- beamlit-0.0.38/src/integrationtest/chat.py +36 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/integrationtest/pyproject.toml +4 -1
- {beamlit-0.0.37 → beamlit-0.0.38}/src/integrationtest/uv.lock +728 -585
- {beamlit-0.0.37 → beamlit-0.0.38}/uv.lock +243 -9
- beamlit-0.0.37/src/beamlit/agents/__init__.py +0 -5
- {beamlit-0.0.37 → beamlit-0.0.38}/.gitignore +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/README.md +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/beamlit.yaml +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/agents/chain.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/agents/thread.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/agents/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/agents/create_agent.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/agents/create_agent_release.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/agents/delete_agent.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/agents/delete_agent_history.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/agents/get_agent.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/agents/get_agent_environment_logs.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/agents/get_agent_history.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/agents/get_agent_metrics.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/agents/get_agent_trace_ids.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/agents/list_agent_history.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/agents/list_agents.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/agents/put_agent_history.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/agents/update_agent.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/configurations/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/configurations/get_configuration.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/default/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/default/get_trace.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/default/get_trace_ids.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/default/get_trace_logs.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/environments/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/environments/create_environment.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/environments/delete_environment.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/environments/get_environment.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/environments/get_environment_metrics.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/environments/list_environments.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/environments/update_environment.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/functions/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/functions/create_function.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/functions/create_function_release.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/functions/delete_function.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/functions/get_function.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/functions/get_function_environment_logs.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/functions/get_function_metrics.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/functions/get_function_trace_ids.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/functions/list_functions.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/functions/update_function.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/history/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/history/get_agents_history.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/history/list_agents_history.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/integrations/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/integrations/create_integration_connection.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/integrations/delete_integration_connection.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/integrations/get_integration.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/integrations/get_integration_connection.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/integrations/get_integration_connection_model.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/integrations/get_integration_model.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/integrations/list_integration_connection_models.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/integrations/list_integration_connections.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/integrations/list_integration_models.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/integrations/update_integration_connection.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/invitations/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/invitations/list_all_pending_invitations.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/locations/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/locations/list_locations.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/metrics/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/metrics/get_metrics.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/model_providers/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/model_providers/create_model_provider.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/model_providers/delete_model_provider.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/model_providers/get_model_provider.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/model_providers/list_model_providers.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/model_providers/update_model_provider.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/models/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/models/create_model.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/models/delete_model.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/models/get_model.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/models/get_model_environment_logs.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/models/get_model_metrics.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/models/get_model_trace_ids.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/models/list_models.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/models/release_model.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/models/update_model.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/policies/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/policies/create_policy.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/policies/delete_policy.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/policies/get_policy.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/policies/list_policies.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/policies/update_policy.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/privateclusters/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/privateclusters/create_private_cluster.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/privateclusters/delete_private_cluster.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/privateclusters/get_private_cluster.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/privateclusters/get_private_cluster_health.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/privateclusters/list_private_clusters.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/privateclusters/update_private_cluster.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/privateclusters/update_private_cluster_health.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/service_accounts/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/service_accounts/create_api_key_for_service_account.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/service_accounts/create_workspace_service_account.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/service_accounts/delete_api_key_for_service_account.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/service_accounts/delete_workspace_service_account.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/service_accounts/get_workspace_service_accounts.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/service_accounts/list_api_keys_for_service_account.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/service_accounts/update_workspace_service_account.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/store/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/store/get_store_agent.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/store/get_store_function.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/store/list_store_agents.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/store/list_store_functions.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/workspaces/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/workspaces/accept_workspace_invitation.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/workspaces/create_worspace.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/workspaces/decline_workspace_invitation.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/workspaces/delete_workspace.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/workspaces/get_workspace.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/workspaces/invite_workspace_user.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/workspaces/leave_workspace.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/workspaces/list_workspace_users.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/workspaces/list_workspaces.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/workspaces/remove_workspace_user.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/workspaces/update_workspace.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/workspaces/update_workspace_user_role.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/api/workspaces/workspace_quotas_request.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/authentication/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/authentication/apikey.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/authentication/authentication.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/authentication/clientcredentials.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/authentication/credentials.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/authentication/device_mode.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/client.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/common/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/common/error.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/common/logger.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/common/secrets.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/common/settings.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/common/slugify.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/common/utils.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/deploy/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/deploy/deploy.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/deploy/format.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/deploy/parser.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/errors.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/functions/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/functions/decorator.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/functions/github/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/functions/github/github.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/functions/github/kit/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/functions/github/kit/pull_request.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/functions/math/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/functions/math/math.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/functions/mcp/mcp.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/functions/remote/remote.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/functions/search/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/functions/search/search.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/acl.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/agent.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/agent_chain.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/agent_history.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/agent_history_event.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/agent_metadata.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/agent_release.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/agent_render.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/agent_spec.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/api_key.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/configuration.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/continent.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/core_event.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/core_spec.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/core_spec_configurations.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/core_status.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/country.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/create_api_key_for_service_account_body.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/create_workspace_service_account_body.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/create_workspace_service_account_response_200.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/delete_workspace_service_account_response_200.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/environment.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/environment_metadata.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/environment_metrics.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/environment_spec.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/flavor.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/function.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/function_kit.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/function_metadata.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/function_release.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/function_render.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/function_spec.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/get_trace_ids_response_200.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/get_trace_logs_response_200.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/get_trace_response_200.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/get_workspace_service_accounts_response_200_item.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/histogram_bucket.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/histogram_stats.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/increase_and_rate_metric.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/integration_config.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/integration_connection.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/integration_connection_config.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/integration_connection_secret.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/integration_connection_spec.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/integration_model.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/integration_repository.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/invite_workspace_user_body.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/last_n_requests_metric.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/latency_metric.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/location_response.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/metadata.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/metadata_labels.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/metric.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/metrics.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/metrics_models.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/metrics_request_total_per_code.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/metrics_rps_per_code.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/model.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/model_metadata.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/model_private_cluster.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/model_provider.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/model_release.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/model_render.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/model_spec.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/owner_fields.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/pending_invitation.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/pending_invitation_accept.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/pending_invitation_render.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/pending_invitation_render_invited_by.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/pending_invitation_render_workspace.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/pending_invitation_workspace_details.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/pod_template_spec.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/policy.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/policy_location.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/policy_spec.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/private_cluster.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/private_location.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/provider_config.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/qps.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/repository.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/repository_type_0.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/request_duration_over_time_metric.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/request_duration_over_time_metrics.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/request_total_by_origin_metric.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/request_total_by_origin_metric_request_total_by_origin.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/request_total_by_origin_metric_request_total_by_origin_and_code.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/request_total_metric.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/request_total_metric_request_total_per_code.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/request_total_metric_rps_per_code.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/resource_deployment_metrics.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/resource_deployment_metrics_inference_per_second_per_region.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/resource_deployment_metrics_query_per_second_per_region_per_code.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/resource_environment_metrics.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/resource_environment_metrics_inference_per_region.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/resource_environment_metrics_inference_per_second_per_region.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/resource_environment_metrics_query_per_region_per_code.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/resource_environment_metrics_query_per_second_per_region_per_code.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/resource_environment_metrics_request_total_per_code.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/resource_environment_metrics_rps_per_code.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/resource_log.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/resource_metrics.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/runtime.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/runtime_readiness_probe.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/runtime_resources.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/serverless_config.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/spec_configuration.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/store_agent.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/store_agent_labels.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/store_configuration.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/store_configuration_option.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/store_function.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/store_function_kit.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/store_function_labels.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/store_function_parameter.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/time_fields.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/token_rate_metric.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/token_rate_metrics.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/token_total_metric.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/trace_ids_response.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/update_workspace_service_account_body.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/update_workspace_service_account_response_200.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/update_workspace_user_role_body.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/websocket_channel.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/workspace.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/workspace_labels.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/models/workspace_user.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/py.typed +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/run.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/serve/app.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/serve/middlewares/__init__.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/serve/middlewares/accesslog.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/serve/middlewares/processtime.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/beamlit/types.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/integrationtest/agent.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/integrationtest/beamlit.yaml +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/integrationtest/functions/helloworld.py +0 -0
- {beamlit-0.0.37 → beamlit-0.0.38}/src/integrationtest/main.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: beamlit
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.38
|
4
4
|
Summary: Add your description here
|
5
5
|
Author-email: cploujoux <ch.ploujoux@gmail.com>
|
6
6
|
Requires-Python: >=3.12
|
@@ -8,9 +8,14 @@ Requires-Dist: asgi-correlation-id<5.0.0,>=4.3.4
|
|
8
8
|
Requires-Dist: attrs>=21.3.0
|
9
9
|
Requires-Dist: fastapi[standard]<0.116.0,>=0.115.4
|
10
10
|
Requires-Dist: httpx<0.28.0,>=0.20.0
|
11
|
+
Requires-Dist: langchain-anthropic>=0.3.4
|
12
|
+
Requires-Dist: langchain-cohere>=0.4.2
|
11
13
|
Requires-Dist: langchain-community<0.4.0,>=0.3.3
|
12
14
|
Requires-Dist: langchain-core<0.4.0,>=0.3.13
|
13
|
-
Requires-Dist: langchain-
|
15
|
+
Requires-Dist: langchain-deepseek-official>=0.1.0
|
16
|
+
Requires-Dist: langchain-mistralai>=0.2.5
|
17
|
+
Requires-Dist: langchain-openai<0.4.0,>=0.3.0
|
18
|
+
Requires-Dist: langchain-xai>=0.2.0
|
14
19
|
Requires-Dist: langgraph<0.3.0,>=0.2.40
|
15
20
|
Requires-Dist: mcp>=1.1.2
|
16
21
|
Requires-Dist: opentelemetry-api>=1.28.2
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "beamlit"
|
3
|
-
version = "0.0.
|
3
|
+
version = "0.0.38"
|
4
4
|
description = "Add your description here"
|
5
5
|
readme = "README.md"
|
6
6
|
authors = [
|
@@ -21,7 +21,7 @@ dependencies = [
|
|
21
21
|
"requests>=2.32.3,<2.33.0",
|
22
22
|
"langchain-core>=0.3.13,<0.4.0",
|
23
23
|
"langchain-community>=0.3.3,<0.4.0",
|
24
|
-
"langchain-openai>=0.
|
24
|
+
"langchain-openai>=0.3.0,<0.4.0",
|
25
25
|
"langgraph>=0.2.40,<0.3.0",
|
26
26
|
"fastapi[standard]>=0.115.4,<0.116.0",
|
27
27
|
"asgi-correlation-id>=4.3.4,<5.0.0",
|
@@ -51,6 +51,11 @@ dependencies = [
|
|
51
51
|
"opentelemetry-instrumentation-together>=0.35.0",
|
52
52
|
"opentelemetry-instrumentation-watsonx>=0.35.0",
|
53
53
|
"opentelemetry-instrumentation-weaviate>=0.35.0",
|
54
|
+
"langchain-cohere>=0.4.2",
|
55
|
+
"langchain-xai>=0.2.0",
|
56
|
+
"langchain-anthropic>=0.3.4",
|
57
|
+
"langchain-mistralai>=0.2.5",
|
58
|
+
"langchain-deepseek-official>=0.1.0",
|
54
59
|
]
|
55
60
|
[dependency-groups]
|
56
61
|
dev = [
|
@@ -1,12 +1,11 @@
|
|
1
1
|
from logging import getLogger
|
2
2
|
from typing import Tuple, Union
|
3
3
|
|
4
|
-
from langchain_core.language_models import BaseChatModel
|
5
|
-
|
6
4
|
from beamlit.api.models import get_model
|
7
5
|
from beamlit.authentication import get_authentication_headers, new_client
|
8
6
|
from beamlit.common.settings import get_settings
|
9
7
|
from beamlit.models import Model
|
8
|
+
from langchain_core.language_models import BaseChatModel
|
10
9
|
|
11
10
|
logger = getLogger(__name__)
|
12
11
|
|
@@ -43,7 +42,16 @@ def get_cohere_chat_model(**kwargs):
|
|
43
42
|
|
44
43
|
return ChatCohere(**kwargs)
|
45
44
|
|
46
|
-
def
|
45
|
+
def get_deepseek_chat_model(**kwargs):
|
46
|
+
from langchain_deepseek import ChatDeepSeek # type: ignore
|
47
|
+
|
48
|
+
return ChatDeepSeek(**kwargs)
|
49
|
+
|
50
|
+
def get_chat_model(name: str, agent_model: Union[Model, None] = None) -> BaseChatModel:
|
51
|
+
[chat_model, _, __] = get_chat_model_full(name, agent_model)
|
52
|
+
return chat_model
|
53
|
+
|
54
|
+
def get_chat_model_full(name: str, agent_model: Union[Model, None] = None) -> Tuple[BaseChatModel, str, str]:
|
47
55
|
settings = get_settings()
|
48
56
|
client = new_client()
|
49
57
|
|
@@ -69,7 +77,10 @@ def get_chat_model(name: str, agent_model: Union[Model, None] = None) -> Tuple[B
|
|
69
77
|
},
|
70
78
|
"anthropic": {
|
71
79
|
"func": get_anthropic_chat_model,
|
72
|
-
"kwargs": {
|
80
|
+
"kwargs": {
|
81
|
+
"base_url": get_base_url(name).replace("/v1", ""),
|
82
|
+
},
|
83
|
+
"remove_kwargs": ["default_query"]
|
73
84
|
},
|
74
85
|
"mistral": {
|
75
86
|
"func": get_mistral_chat_model,
|
@@ -89,6 +100,13 @@ def get_chat_model(name: str, agent_model: Union[Model, None] = None) -> Tuple[B
|
|
89
100
|
"func": get_cohere_chat_model,
|
90
101
|
"kwargs": {
|
91
102
|
"cohere_api_key": jwt,
|
103
|
+
"base_url": get_base_url(name).replace("/v1", ""),
|
104
|
+
},
|
105
|
+
},
|
106
|
+
"deepseek": {
|
107
|
+
"func": get_deepseek_chat_model,
|
108
|
+
"kwargs": {
|
109
|
+
"api_key": jwt,
|
92
110
|
},
|
93
111
|
},
|
94
112
|
}
|
@@ -3,23 +3,23 @@ import functools
|
|
3
3
|
import inspect
|
4
4
|
from logging import getLogger
|
5
5
|
|
6
|
-
from langgraph.checkpoint.memory import MemorySaver
|
7
|
-
from langgraph.prebuilt import create_react_agent
|
8
|
-
|
9
6
|
from beamlit.api.models import get_model, list_models
|
10
7
|
from beamlit.authentication import new_client
|
11
8
|
from beamlit.common.settings import init
|
12
9
|
from beamlit.errors import UnexpectedStatus
|
13
10
|
from beamlit.functions import get_functions
|
14
11
|
from beamlit.models import Agent, AgentMetadata, AgentSpec
|
12
|
+
from langgraph.checkpoint.memory import MemorySaver
|
13
|
+
from langgraph.prebuilt import create_react_agent
|
15
14
|
|
16
|
-
from .chat import
|
15
|
+
from .chat import get_chat_model_full
|
17
16
|
|
18
17
|
|
19
18
|
def agent(
|
20
19
|
agent: Agent | dict = None,
|
21
20
|
override_model=None,
|
22
21
|
override_agent=None,
|
22
|
+
override_functions=None,
|
23
23
|
mcp_hub=None,
|
24
24
|
remote_functions=None,
|
25
25
|
):
|
@@ -85,19 +85,23 @@ def agent(
|
|
85
85
|
raise e
|
86
86
|
|
87
87
|
if settings.agent.model:
|
88
|
-
chat_model, provider, model =
|
88
|
+
chat_model, provider, model = get_chat_model_full(agent.spec.model, settings.agent.model)
|
89
89
|
settings.agent.chat_model = chat_model
|
90
90
|
logger.info(f"Chat model configured, using: {provider}:{model}")
|
91
91
|
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
92
|
+
if override_functions is not None:
|
93
|
+
functions = override_functions
|
94
|
+
else:
|
95
|
+
functions = get_functions(
|
96
|
+
client=client,
|
97
|
+
dir=settings.agent.functions_directory,
|
98
|
+
mcp_hub=mcp_hub,
|
99
|
+
remote_functions=remote_functions,
|
100
|
+
chain=agent.spec.agent_chain,
|
98
101
|
remote_functions_empty=not remote_functions,
|
99
102
|
warning=chat_model is not None,
|
100
103
|
)
|
104
|
+
|
101
105
|
settings.agent.functions = functions
|
102
106
|
|
103
107
|
if override_agent is None:
|
@@ -111,7 +115,7 @@ def agent(
|
|
111
115
|
models_select = f"You can select one from the your models: {models}"
|
112
116
|
except Exception:
|
113
117
|
pass
|
114
|
-
|
118
|
+
|
115
119
|
raise ValueError(f"You must provide a model.\n"
|
116
120
|
f"{models_select}\n"
|
117
121
|
f"You can create one at {settings.app_url}/{settings.workspace}/global-inference-network/models/create\n"
|
@@ -269,11 +269,11 @@ def instrument_app(app: FastAPI):
|
|
269
269
|
if instrumentor_class:
|
270
270
|
try:
|
271
271
|
instrumentor_class().instrument()
|
272
|
-
log.
|
272
|
+
log.debug(f"Successfully instrumented {name}")
|
273
273
|
except Exception as e:
|
274
|
-
log.
|
274
|
+
log.debug(f"Failed to instrument {name}: {str(e)}")
|
275
275
|
else:
|
276
|
-
log.
|
276
|
+
log.debug(f"Could not load instrumentor for {name}")
|
277
277
|
else:
|
278
278
|
log.debug(
|
279
279
|
f"Skipping {name} instrumentation - required package '{required_package}' not installed"
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import asyncio
|
2
|
+
|
3
|
+
from beamlit.agents import agent, get_chat_model
|
4
|
+
from beamlit.common import init
|
5
|
+
from beamlit.functions import function
|
6
|
+
from langgraph.graph.graph import CompiledGraph
|
7
|
+
|
8
|
+
settings = init()
|
9
|
+
chat = get_chat_model("gpt-4o-mini") # all good
|
10
|
+
# chat = get_chat_model("ministral-3b-2410") # all good
|
11
|
+
# chat = get_chat_model("cohere-command-r-plus") # all good, astream does not work
|
12
|
+
# chat = get_chat_model("claude-3-5-sonnet") # all good
|
13
|
+
# chat = get_chat_model("deepseek-chat")
|
14
|
+
# chat = get_chat_model("xai-grok-beta") # all good
|
15
|
+
|
16
|
+
print(chat)
|
17
|
+
@function()
|
18
|
+
async def get_weather(location: str):
|
19
|
+
"""Get the weather for a given location"""
|
20
|
+
print("Using getWeather");
|
21
|
+
return "The weather in " + location + " is sunny"
|
22
|
+
|
23
|
+
@agent(
|
24
|
+
override_model=chat,
|
25
|
+
override_functions=[get_weather],
|
26
|
+
)
|
27
|
+
async def main(request, agent: CompiledGraph):
|
28
|
+
config = {"configurable": {"thread_id": "thread_id"}}
|
29
|
+
agent_body = {"messages": [("user", "What's the weather in san francisco ?")]}
|
30
|
+
response = None
|
31
|
+
for chunk in agent.stream(agent_body, config=config):
|
32
|
+
response = chunk
|
33
|
+
print(response)
|
34
|
+
|
35
|
+
|
36
|
+
asyncio.run(main({}))
|