Skip to content

Commit

Permalink
Adding client version for retriever apps
Browse files Browse the repository at this point in the history
  • Loading branch information
dristy.cd committed Aug 7, 2024
1 parent c64b7ff commit 24ff4ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pebblo/app/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ class RetrievalAppDetails(BaseModel):
instanceDetails: Optional[InstanceDetails]
pebbloServerVersion: Optional[str]
pebbloClientVersion: Optional[str]
clientVersion: Optional[dict]
total_prompt_with_findings: int = 0
retrievals: list[RetrievalData] = []
activeUsers: dict = {}
Expand Down
1 change: 1 addition & 0 deletions pebblo/app/service/local_ui_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,7 @@ def get_retrieval_app_details(self, app_content):
instanceDetails=app_content.get("instanceDetails"),
pebbloServerVersion=app_content.get("pebbloServerVersion"),
pebbloClientVersion=app_content.get("pebbloClientVersion"),
clientVersion=app_content.get("clientVersion"),
total_prompt_with_findings=prompt_with_findings,
retrievals=retrieval_data,
activeUsers=active_users,
Expand Down

0 comments on commit 24ff4ad

Please sign in to comment.