Fix queue cancellation, concurrency limits and worker status updates. Use direct Explorer imports, split the Diagnoser loop into helpers and remove unused tool registration and prompt-builder code. Correct model caching, endpoint selection and retry handling.
41 lines
1.3 KiB
Python
41 lines
1.3 KiB
Python
# Copyright 2026 Google LLC
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
"""☕ ARTEMIS: Autonomous Multimodal Android Agent & Testing Framework."""
|
|
|
|
from artemis._version import __version__
|
|
|
|
from artemis.interfaces.sdk.client import ArtemisClient, ConcurrencyMode
|
|
from artemis.interfaces.sdk.task import StreamEvent, StreamEventType, Task
|
|
from artemis_client import Capabilities, Device, TaskHandle, TaskResult
|
|
from artemis.sdk.agent import Agent
|
|
from artemis.sdk.builders import Builders
|
|
from artemis.drivers.base import BaseDeviceDriver
|
|
|
|
__all__ = [
|
|
"__version__",
|
|
"ArtemisClient",
|
|
"Capabilities",
|
|
"ConcurrencyMode",
|
|
"Device",
|
|
"StreamEvent",
|
|
"StreamEventType",
|
|
"Agent",
|
|
"Builders",
|
|
"Task",
|
|
"TaskHandle",
|
|
"TaskResult",
|
|
"BaseDeviceDriver",
|
|
]
|