Spaces:
Configuration error
Configuration error
Upload stratego/models/base.py with huggingface_hub
Browse files- stratego/models/base.py +5 -0
stratego/models/base.py
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Protocol
|
| 2 |
+
|
| 3 |
+
class AgentLike(Protocol):
|
| 4 |
+
model_name: str
|
| 5 |
+
def __call__(self, observation: str) -> str: ...
|