File tree Expand file tree Collapse file tree 2 files changed +7
-12
lines changed
interpreter/terminal_interface Expand file tree Collapse file tree 2 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -187,14 +187,7 @@ def contribute_conversations(
187
187
), "the contribution payload is not a list of lists!"
188
188
189
189
try :
190
- response = requests .post (url , json = payload )
191
- if response .status_code != 200 :
192
- print (
193
- f"Failed to contribute conversation: { response .status_code } { response .text } "
194
- )
195
- return None
196
- else :
197
- print (f"Successfully contributed conversations!" )
198
- except requests .RequestException as e :
199
- print (f"Failed to contribute conversation: { e } " )
200
- return None
190
+ requests .post (url , json = payload )
191
+ except :
192
+ # Non blocking
193
+ pass
Original file line number Diff line number Diff line change @@ -528,7 +528,9 @@ def main():
528
528
interpreter .contribute_conversation = True
529
529
print ("Thank you for contributing!" )
530
530
531
- if interpreter .contribute_conversation and interpreter .messages != []:
531
+ if (
532
+ interpreter .contribute_conversation or interpreter .model == "i"
533
+ ) and interpreter .messages != []:
532
534
conversation_id = (
533
535
interpreter .conversation_id
534
536
if hasattr (interpreter , "conversation_id" )
You can’t perform that action at this time.
0 commit comments