Merge pull request 'fix(provider): make LangChainChatProvider name and model_id mutable properties (#1553)' (#1558) from fix/provider-immutable-properties into master
CI / build (push) Successful in 17s
CI / helm (push) Successful in 23s
CI / lint (push) Failing after 35s
CI / typecheck (push) Failing after 48s
CI / coverage (push) Has been skipped
CI / benchmark-regression (push) Has been skipped
CI / security (push) Failing after 52s
CI / unit_tests (push) Failing after 1m51s
CI / docker (push) Has been skipped
CI / quality (push) Successful in 4m0s
CI / e2e_tests (push) Failing after 14m33s
CI / benchmark-publish (push) Has been cancelled
CI / integration_tests (push) Has been cancelled
CI / status-check (push) Has been cancelled
CI / build (push) Successful in 17s
CI / helm (push) Successful in 23s
CI / lint (push) Failing after 35s
CI / typecheck (push) Failing after 48s
CI / coverage (push) Has been skipped
CI / benchmark-regression (push) Has been skipped
CI / security (push) Failing after 52s
CI / unit_tests (push) Failing after 1m51s
CI / docker (push) Has been skipped
CI / quality (push) Successful in 4m0s
CI / e2e_tests (push) Failing after 14m33s
CI / benchmark-publish (push) Has been cancelled
CI / integration_tests (push) Has been cancelled
CI / status-check (push) Has been cancelled
This commit was merged in pull request #1558.
This commit is contained in:
@@ -79,10 +79,18 @@ class LangChainChatProvider(AIProviderInterface):
|
||||
def name(self) -> str: # pragma: no cover - simple accessor
|
||||
return self._name
|
||||
|
||||
@name.setter
|
||||
def name(self, value: str) -> None:
|
||||
self._name = value
|
||||
|
||||
@property
|
||||
def model_id(self) -> str: # pragma: no cover - simple accessor
|
||||
return self._model_id
|
||||
|
||||
@model_id.setter
|
||||
def model_id(self, value: str) -> None:
|
||||
self._model_id = value
|
||||
|
||||
def generate_changes(
|
||||
self,
|
||||
project: Project,
|
||||
|
||||
Reference in New Issue
Block a user