Skip to content

Commit

Permalink
Add context to request data in OllamaModel for improved request handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Sedrowow committed Sep 16, 2024
1 parent 232952f commit 9a6a4d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/ollama_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def format_user_request_for_llm(self, original_user_request, step_num, screensho
str: The formatted request as a JSON string.
"""
request_data = {
'context': self.context,
'original_user_request': original_user_request,
'step_num': step_num
}
Expand Down

0 comments on commit 9a6a4d1

Please sign in to comment.