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

[Docs] Add auth docs #2797

Merged
merged 33 commits into from
Dec 18, 2024
Merged

[Docs] Add auth docs #2797

merged 33 commits into from
Dec 18, 2024

Conversation

hinthornw
Copy link
Contributor

No description provided.

@hinthornw hinthornw changed the title [Docs] Add auth tutorial [Docs] Add auth docs Dec 18, 2024
@hinthornw hinthornw force-pushed the wfh/docs/auth branch 2 times, most recently from a88a99d to 6d9ebb3 Compare December 18, 2024 01:42
@hinthornw hinthornw force-pushed the wfh/docs/auth branch 2 times, most recently from a7dbefa to b3a2ef9 Compare December 18, 2024 02:18
@hinthornw hinthornw marked this pull request as ready for review December 18, 2024 09:08
docs/docs/how-tos/auth/openapi_security.md Outdated Show resolved Hide resolved
docs/docs/how-tos/auth/openapi_security.md Show resolved Hide resolved
docs/docs/how-tos/auth/openapi_security.md Outdated Show resolved Hide resolved
docs/docs/concepts/auth.md Outdated Show resolved Hide resolved
docs/docs/concepts/auth.md Show resolved Hide resolved
docs/docs/concepts/auth.md Show resolved Hide resolved
docs/docs/concepts/auth.md Outdated Show resolved Hide resolved
docs/docs/how-tos/auth/custom_auth.md Show resolved Hide resolved
docs/docs/how-tos/auth/custom_auth.md Show resolved Hide resolved
docs/docs/how-tos/auth/custom_auth.md Outdated Show resolved Hide resolved
docs/docs/tutorials/auth/add_auth_server.md Outdated Show resolved Hide resolved
docs/docs/tutorials/auth/add_auth_server.md Outdated Show resolved Hide resolved
docs/docs/tutorials/auth/add_auth_server.md Outdated Show resolved Hide resolved
docs/docs/tutorials/auth/add_auth_server.md Outdated Show resolved Hide resolved
docs/docs/tutorials/auth/add_auth_server.md Outdated Show resolved Hide resolved
docs/docs/tutorials/auth/getting_started.md Outdated Show resolved Hide resolved
docs/docs/tutorials/auth/getting_started.md Outdated Show resolved Hide resolved
docs/docs/tutorials/auth/getting_started.md Outdated Show resolved Hide resolved
docs/docs/tutorials/auth/resource_auth.md Show resolved Hide resolved
docs/docs/tutorials/auth/resource_auth.md Show resolved Hide resolved
hinthornw and others added 3 commits December 18, 2024 11:15
- this should not default to empty tuple, it should default to None
nfcampos and others added 16 commits December 18, 2024 11:41
Bumps [tornado](https://github.com/tornadoweb/tornado) from 6.4.1 to
6.4.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/tornadoweb/tornado/blob/v6.4.2/docs/releases.rst">tornado's
changelog</a>.</em></p>
<blockquote>
<h1>Release notes</h1>
<p>.. toctree::
:maxdepth: 2</p>
<p>releases/v6.4.2
releases/v6.4.1
releases/v6.4.0
releases/v6.3.3
releases/v6.3.2
releases/v6.3.1
releases/v6.3.0
releases/v6.2.0
releases/v6.1.0
releases/v6.0.4
releases/v6.0.3
releases/v6.0.2
releases/v6.0.1
releases/v6.0.0
releases/v5.1.1
releases/v5.1.0
releases/v5.0.2
releases/v5.0.1
releases/v5.0.0
releases/v4.5.3
releases/v4.5.2
releases/v4.5.1
releases/v4.5.0
releases/v4.4.3
releases/v4.4.2
releases/v4.4.1
releases/v4.4.0
releases/v4.3.0
releases/v4.2.1
releases/v4.2.0
releases/v4.1.0
releases/v4.0.2
releases/v4.0.1
releases/v4.0.0
releases/v3.2.2
releases/v3.2.1
releases/v3.2.0
releases/v3.1.1
releases/v3.1.0
releases/v3.0.2
releases/v3.0.1
releases/v3.0.0
releases/v2.4.1
releases/v2.4.0</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/tornadoweb/tornado/commit/a5ecfab15e52202a46d34638aad93cddca86d87b"><code>a5ecfab</code></a>
Bump version to 6.4.2</li>
<li><a
href="https://github.com/tornadoweb/tornado/commit/bc7df6bafdec61155e7bf385081feb205463857d"><code>bc7df6b</code></a>
Fix tests with Twisted 24.7.0</li>
<li><a
href="https://github.com/tornadoweb/tornado/commit/d5ba4a1695fbf7c6a3e54313262639b198291533"><code>d5ba4a1</code></a>
httputil: Fix quadratic performance of cookie parsing</li>
<li>See full diff in <a
href="https://github.com/tornadoweb/tornado/compare/v6.4.1...v6.4.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tornado&package-manager=pip&previous-version=6.4.1&new-version=6.4.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/langchain-ai/langgraph/network/alerts).

</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vadym Barda <[email protected]>
Add `format` flag to `add_messages` which allows you to specify if the
contents of messages in state should be formatted in a particular way.
PR only adds support for OpenAI style contents. Helpful if you're using
different models at different nodes and want a unified messages format
to interact with when you manually update messages.
because in
```python
    def call_model(
        state: AgentState,
        config: RunnableConfig,
    )
...
        if (
            (
                "remaining_steps" not in state
                and state["is_last_step"]
                and has_tool_calls
            )
```

https://github.com/langchain-ai/langgraph/blob/c0b56bf60d84ed435609c35b0691cd0305ceae78/libs/langgraph/langgraph/prebuilt/chat_agent_executor.py#L543
the AgentState requires is_last_step to have a default value, like
`False`, and `IsLastStep` can satisfy it.

---------

Co-authored-by: Vadym Barda <[email protected]>
@hinthornw hinthornw merged commit 140566e into main Dec 18, 2024
59 checks passed
@hinthornw hinthornw deleted the wfh/docs/auth branch December 18, 2024 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants