mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-30 04:30:13 +00:00
server enhance
This commit is contained in:
parent
e7a5c5536f
commit
c108179fbb
13 changed files with 191 additions and 31 deletions
|
|
@ -63,7 +63,7 @@ async def put(id: int, data: ProviderIn, session: Session = Depends(session), au
|
|||
model.api_key = data.api_key
|
||||
model.endpoint_url = data.endpoint_url
|
||||
model.encrypted_config = data.encrypted_config
|
||||
model.is_vaild = data.is_vaild
|
||||
model.is_valid = data.is_valid
|
||||
model.save(session)
|
||||
session.refresh(model)
|
||||
return model
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue