# Langchain pass current timestamp to agent prompt

**URL:** <https://forum.langchain.com/t/langchain-pass-current-timestamp-to-agent-prompt/2739>\
**Category:** LangChain\
**Tags:** python-help\
**Created:** [January 16, 2026, 11:55am UTC](https://forum.langchain.com/t/langchain-pass-current-timestamp-to-agent-prompt/2739 "2026-01-16T11:55:33Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![keenborder786](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/keenborder786/32/1757_2.png) [@keenborder786](https://forum.langchain.com/u/keenborder786)\
**Post date:** [April 7, 2026, 12:20pm UTC](https://forum.langchain.com/t/langchain-pass-current-timestamp-to-agent-prompt/2739/21 "2026-04-07T12:20:42Z")

</div>

I would still request you to use the `gpt-oss:120b-cloud` due to complexity of your task to avoid the problem and keep reasoning =True. Hopefully, even with timestamp being passed in human message, will cause no early ending.

---

<div class="post-metadata">

**Author:** ![khteh](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/khteh/32/2174_2.png) [@khteh](https://forum.langchain.com/u/khteh)\
**Post date:** [April 7, 2026, 12:38pm UTC](https://forum.langchain.com/t/langchain-pass-current-timestamp-to-agent-prompt/2739/22 "2026-04-07T12:38:23Z")

</div>

How does the `-cloud` model work? Does it need subscription? Currently I am hosting the models and embeddings on my local k8s running on my laptop.

---

<div class="post-metadata">

**Author:** ![keenborder786](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/keenborder786/32/1757_2.png) [@keenborder786](https://forum.langchain.com/u/keenborder786)\
**Post date:** [April 7, 2026, 12:39pm UTC](https://forum.langchain.com/t/langchain-pass-current-timestamp-to-agent-prompt/2739/23 "2026-04-07T12:39:33Z")

</div>

Ollama cloud is provides you with same models but they are being run on Ollama’s servers.  
Yes you can use Ollama Cloud for free, with dialy reset limits.

---

<div class="post-metadata">

**Author:** ![khteh](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/khteh/32/2174_2.png) [@khteh](https://forum.langchain.com/u/khteh)\
**Post date:** [April 7, 2026, 12:56pm UTC](https://forum.langchain.com/t/langchain-pass-current-timestamp-to-agent-prompt/2739/24 "2026-04-07T12:56:07Z")

</div>

> [@keenborder786](#):
>
> `reasoning=True`

What does this do?

---

<div class="post-metadata">

**Author:** ![keenborder786](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/keenborder786/32/1757_2.png) [@keenborder786](https://forum.langchain.com/u/keenborder786)\
**Post date:** [April 8, 2026, 2:29pm UTC](https://forum.langchain.com/t/langchain-pass-current-timestamp-to-agent-prompt/2739/25 "2026-04-08T14:29:52Z")

</div>

For models other than from family of `gpt-oss`, the system will only emit thinking tokens. However, for `gpt-oss:120b-cloud` and `gpt-oss:20b-cloud`, you can set the thinking parameter to `low`, `medium`, or `high`.

As one correction, please set it to **`think="high"`**. This will allows the GPT OSS model to think longer and generate a more accurate response, especially for deep agents:

```python
init_chat_model(model = "gpt-oss:20b-cloud", model_provider='ollama', think="high")

```

Please ignore my last comment about `reasoning=True`.

Reference: [Thinking - Ollama](https://docs.ollama.com/capabilities/thinking)

---

<div class="post-metadata">

**Author:** ![system](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/system/32/1_2.png) [@system](https://forum.langchain.com/u/system)\
**Post date:** [April 20, 2026, 1:33pm UTC](https://forum.langchain.com/t/langchain-pass-current-timestamp-to-agent-prompt/2739/26 "2026-04-20T13:33:10Z")

</div>

Listed on April 20, 2026, 1:33pm UTC



[Previous page](https://forum.langchain.com/t/langchain-pass-current-timestamp-to-agent-prompt/2739.md?page=1)
