Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2: search and ask AI #2889

Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Self-review
  • Loading branch information
SamyPesse committed Mar 2, 2025
commit ff774d0fbc3968f0548c22a9facdf3652cb76bec
1 change: 1 addition & 0 deletions packages/gitbook-v2/src/lib/server-actions.ts
Original file line number Diff line number Diff line change
@@ -7,6 +7,7 @@ import {

/**
* Get the base context for a server action.
* This function should only be called in a server action.
*/
export async function getServerActionBaseContext() {
const siteURL = await getSiteURLFromMiddleware();
1 change: 0 additions & 1 deletion packages/gitbook/src/components/Search/SearchResults.tsx
Original file line number Diff line number Diff line change
@@ -91,7 +91,6 @@ export const SearchResults = React.forwardRef(function SearchResults(
}

const response = await streamRecommendedQuestions();
console.log('recommendedQuestions', response);
for await (const entry of readStreamableValue(response.stream)) {
if (!entry) {
continue;