mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
* refactor agentskills to prepare for agentless * fix import * fix typo * fix imports * fix globals * fix import * fix import * disable log to file to avoid auto-created log file w/ permission issue when import od in runtime * import agentskills from OD instead from itself directly * add back pythonpath * remove chown since there's no log/folder
16 lines
348 B
Python
16 lines
348 B
Python
from dataclasses import dataclass
|
|
|
|
from opendevin.runtime.plugins.requirement import Plugin, PluginRequirement
|
|
|
|
from . import agentskills
|
|
|
|
|
|
@dataclass
|
|
class AgentSkillsRequirement(PluginRequirement):
|
|
name: str = 'agent_skills'
|
|
documentation: str = agentskills.DOCUMENTATION
|
|
|
|
|
|
class AgentSkillsPlugin(Plugin):
|
|
name: str = 'agent_skills'
|