Merged in fix/login-issue (pull request #1)

fix login issue and ppt outlines
This commit is contained in:
Shubham Goyal 2026-05-12 13:38:14 +00:00
commit 9917015456
2 changed files with 5 additions and 2 deletions

View file

@ -784,7 +784,7 @@ class LLMClient:
message.model_dump()
for message in self._get_anthropic_messages(messages)
],
max_tokens=max_tokens or 4000,
max_tokens=max_tokens or 8000,
tools=[
{
"name": "ResponseSchema",
@ -793,6 +793,7 @@ class LLMClient:
},
*(tools or []),
],
tool_choice={"type": "tool", "name": "ResponseSchema"} if not tools else {"type": "any"},
)
tool_calls: List[AnthropicToolCall] = []
for content in response.content:
@ -1560,7 +1561,7 @@ class LLMClient:
message.model_dump()
for message in self._get_anthropic_messages(messages)
],
max_tokens=max_tokens or 4000,
max_tokens=max_tokens or 8000,
tools=[
{
"name": "ResponseSchema",
@ -1569,6 +1570,7 @@ class LLMClient:
},
*(tools or []),
],
tool_choice={"type": "tool", "name": "ResponseSchema"} if not tools else {"type": "any"},
) as stream:
is_response_schema_tool_call_started = False
async for event in stream:

View file

@ -69,6 +69,7 @@ export default function LoginPage() {
});
if (response.ok) {
await dispatch(fetchCurrentUser());
router.push('/dashboard');
} else {
const data = await response.json();