明树Git Lab

Commit 2b8ce4ad authored by zfp1's avatar zfp1

update

parent b3effd2e
...@@ -98,7 +98,7 @@ async function callDeepSeekAPI(prompt) { ...@@ -98,7 +98,7 @@ async function callDeepSeekAPI(prompt) {
timeout: 5000 // 5秒超时 timeout: 5000 // 5秒超时
} }
); );
console.log(response)
return response.data.choices[0].message.content.trim(); return response.data.choices[0].message.content.trim();
} catch (error) { } catch (error) {
console.error('DeepSeek API Error:', error.response?.data || error.message); console.error('DeepSeek API Error:', error.response?.data || error.message);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment