mv service_conf.yaml to conf/ and fix: add 'answer' as a parameter to 'generate' (#3379)

### What problem does this PR solve?
#3373

### Type of change

- [x] Refactoring
- [x] Bug fix
This commit is contained in:
Kevin Hu
2024-11-13 15:56:40 +08:00
committed by GitHub
parent 1fe9a2e6fd
commit ccf189cb7f
9 changed files with 80 additions and 81 deletions

View File

@ -399,7 +399,7 @@ class ComponentBase(ABC):
self._param.check()
def get_dependent_components(self):
cpnts = [para["component_id"] for para in self._param.query]
cpnts = [para["component_id"] for para in self._param.query if para["component_id"].lower().find("answer") < 0]
return cpnts
def run(self, history, **kwargs):