Spaces:
Sleeping
Sleeping
Commit ·
ee1baa9
1
Parent(s): 9a36c19
fix: ident func class
Browse files- src/FinancialAgentApp.py +1 -1
src/FinancialAgentApp.py
CHANGED
|
@@ -169,7 +169,7 @@ class OpenAIFinancialRAG(FinancialAgentApp):
|
|
| 169 |
if chunk.type == 'response.output_text.delta':
|
| 170 |
yield chunk.delta
|
| 171 |
|
| 172 |
-
def __handle_context__(self, response_state: ResponseState):
|
| 173 |
"""Handle additional context (data, PDF, etc.)."""
|
| 174 |
context_prompt = ""
|
| 175 |
if response_state.contextType in ("data", "both"):
|
|
|
|
| 169 |
if chunk.type == 'response.output_text.delta':
|
| 170 |
yield chunk.delta
|
| 171 |
|
| 172 |
+
def __handle_context__(self, response_state: ResponseState):
|
| 173 |
"""Handle additional context (data, PDF, etc.)."""
|
| 174 |
context_prompt = ""
|
| 175 |
if response_state.contextType in ("data", "both"):
|