@@ -1,2 +1,3 @@
-OPENAI_API_KEY=your-api-key-here
-LLM_MODEL=gpt-3.5-turbo
+OPENAI_API_KEY='sk-NscqaCD1PfVm7soEF3C3E6297bE14d7fB595Be8f17F39aFf'
+OPENAI_API_BASE='https://aiapi.magong.site/v1'
+LLM_MODEL="deepseek-chat"
@@ -6,4 +6,6 @@ testm
temp
__pycache__
myenv
-env
+env
+.aider*
+.env
@@ -79,7 +79,7 @@ def main(input_file, output_file):
# Insert empty translation column to maintain structure
row.insert(search_term_index + 1, "翻译失败(处理错误)")
data[i] = row
- continue
+ break
# Save processed data
save_csv(data, output_file)
@@ -33,4 +33,6 @@ def main():
sys.exit(1)
if __name__ == "__main__":
- main()
+ import sys
+ print(sys.executable)
+ # main()