mirror of
https://github.com/Shubhamsaboo/awesome-llm-apps.git
synced 2026-05-02 18:45:05 -05:00
fixes in deepseek api call
This commit is contained in:
@@ -41,12 +41,11 @@ class ModelChain:
|
||||
{"role": "user", "content": user_input}
|
||||
],
|
||||
max_tokens=1,
|
||||
temperature=0.7, # Added temperature
|
||||
stream=False # Explicitly set stream to False
|
||||
)
|
||||
|
||||
# Debug print
|
||||
st.write("Raw response from DeepSeek:", deepseek_response)
|
||||
st.write("Raw response by DeepSeek:", deepseek_response)
|
||||
|
||||
reasoning_content = deepseek_response.choices[0].message.reasoning_content
|
||||
|
||||
|
||||
Reference in New Issue
Block a user